*/*: sync with upstream

Taken from: FreeBSD
This commit is contained in:
Franco Fichtner 2023-06-29 20:16:14 +02:00
parent 2f03c0cf40
commit 04c1c4e89f
280 changed files with 3835 additions and 1744 deletions

View File

@ -0,0 +1,84 @@
diff -ru Maaate-0.3.1.orig/src/mpeg/MPEGfile.cc Maaate-0.3.1/src/mpeg/MPEGfile.cc
--- src/mpeg/MPEGfile.cc 2023-06-26 14:31:17.838303000 +0200
+++ src/mpeg/MPEGfile.cc 2023-06-26 14:32:19.227754000 +0200
@@ -495,7 +495,7 @@
#define MAXSEARCH 2048
// read 4 bytes into header bitfield
- register unsigned short buf=0;
+ unsigned short buf=0;
// read over initial junk to find header; give up after 2048 bytes
int i=-2;
@@ -503,7 +503,7 @@
while (((buf & 0xfff0) != 0xfff0) && (i<MAXSEARCH)) {
if ((buf & 0x00ff) == 0x00ff) {
// only need to read next byte to try and get sync word
- register unsigned char buf2=0;
+ unsigned char buf2=0;
if (fread(&buf2, sizeof (unsigned char), 1, fd) != 1) {
return false;
}
diff -ru Maaate-0.3.1.orig/src/mpeg/allLayers.cc Maaate-0.3.1/src/mpeg/allLayers.cc
--- src/mpeg/allLayers.cc 2023-06-26 14:31:17.836537000 +0200
+++ src/mpeg/allLayers.cc 2023-06-26 14:31:40.156675000 +0200
@@ -246,7 +246,7 @@
int ch,
short samples[SBLIMIT])
{
- register double *bufOffsetPtr, sum;
+ double *bufOffsetPtr, sum;
static int init = 1;
typedef double NN[64][SBLIMIT];
static NN *filter;
@@ -254,14 +254,14 @@
static BB *buf;
static int bufOffset[2] = {64,64};
// count # samples clipped
- // register int clip = 0;
-// register int offset;
- register long foo;
-// register double *filterp;
-// register double *bandp;
+ // int clip = 0;
+// int offset;
+ long foo;
+// double *filterp;
+// double *bandp;
int i;
- register double tmp;
+ double tmp;
double p0,p1,p2,p3,p4,p5,p6,p7,p8,p9,p10,p11,p12,p13,p14,p15;
double pp0,pp1,pp2,pp3,pp4,pp5,pp6,pp7,pp8,pp9,pp10,pp11,pp12,pp13,pp14,pp15;
diff -ru Maaate-0.3.1.orig/src/mpeg/layer2.cc Maaate-0.3.1/src/mpeg/layer2.cc
--- src/mpeg/layer2.cc 2023-06-26 14:31:17.837389000 +0200
+++ src/mpeg/layer2.cc 2023-06-26 14:32:02.476148000 +0200
@@ -1381,7 +1381,7 @@
for (ss=0; ss<3; ss++) {
if (allocation[ch][sub]) {
int x = 0;
- register double r;
+ double r;
// Locate MSB in the sample
// u is set outside loop to hopefully speed up the loop
@@ -1391,7 +1391,7 @@
// MSB inversion
// read sample
- register unsigned int samp
+ unsigned int samp
= samples[no][ch][ss][sub];
x = 1L << (x - 1); // for MSB test
if ((samp & x)) {
@@ -1404,7 +1404,7 @@
r += (double)(samp & (x - 1)) / (double)x;
// calculate index
- register unsigned int indx
+ unsigned int indx
= alloctable[sub][allocation[ch][sub]].quant;
// Dequantize the sample

View File

@ -206,11 +206,10 @@ PLIST_SUB+= MP3="@comment "
PLIST_SUB+= MP3=""
.endif
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
CPPFLAGS+= -Dregister=
.endif
post-patch:
@${REINPLACE_CMD} -e 's,register ,,' \
${WRKSRC}/plugins/adplug/adplug/rix.cpp \
${WRKSRC}/plugins/adplug/libbinio/binio.cpp
# Do not link to libsupc++ which may be PIC-unsafe (breaks 64-bit arches)
@${REINPLACE_CMD} -e 's, -lsupc++,,' \
${WRKSRC}/plugins/adplug/Makefile.in \

View File

@ -0,0 +1,408 @@
From 4237f96cd2324df9427efe8c08ff3fe0adf2fe44 Mon Sep 17 00:00:00 2001
From: Stian Skjelstad <stian.skjelstad@gmail.com>
Date: Sat, 30 Apr 2022 22:29:30 +0200
Subject: [PATCH] Fix compiler warnings (compiler used is g++ v11.2.0)
---
adplugdb/adplugdb.cpp | 4 ++--
src/ksm.cpp | 10 +++++-----
src/lds.cpp | 17 ++++++++++-------
src/mkj.cpp | 2 +-
src/protrack.cpp | 19 +++++++++++--------
src/rad2.cpp | 12 ++++++------
src/rix.cpp | 10 +++++-----
src/sng.cpp | 4 +++-
src/sop.cpp | 30 +++++++++++++++---------------
src/u6m.cpp | 2 +-
src/vgm.cpp | 4 ++--
15 files changed, 67 insertions(+), 59 deletions(-)
diff --git a/adplugdb/adplugdb.cpp b/adplugdb/adplugdb.cpp
index 71b235b3..266a9931 100644
--- adplugdb/adplugdb.cpp
+++ adplugdb/adplugdb.cpp
@@ -182,13 +182,13 @@ static const std::string file2type(const char *filename)
CPlayer *p;
for(i = CAdPlug::players.begin(); i != CAdPlug::players.end(); i++)
- if((p = (*i)->factory(&opl)))
+ if((p = (*i)->factory(&opl))) {
if(p->load(filename)) {
delete p;
return (*i)->filetype;
} else
delete p;
-
+ }
message(MSG_WARN, "unknown filetype -- %s", filename);
return UNKNOWN_FILETYPE;
}
diff --git a/src/ksm.cpp b/src/ksm.cpp
index 89943a63..a8d09a0c 100644
--- src/ksm.cpp
+++ src/ksm.cpp
@@ -240,21 +240,21 @@ void CksmPlayer::rewind(int subsong)
if (trchan[11] == 1) {
for(i=0;i<11;i++)
instbuf[i] = inst[trinst[11]][i];
- instbuf[1] = ((instbuf[1]&192)|(trvol[11])^63);
+ instbuf[1] = ((instbuf[1]&192)|(trvol[11]^63));
setinst(6,instbuf[0],instbuf[1],instbuf[2],instbuf[3],instbuf[4],instbuf[5],instbuf[6],instbuf[7],instbuf[8],instbuf[9],instbuf[10]);
for(i=0;i<5;i++)
instbuf[i] = inst[trinst[12]][i];
for(i=5;i<11;i++)
instbuf[i] = inst[trinst[15]][i];
- instbuf[1] = ((instbuf[1]&192)|(trvol[12])^63);
- instbuf[6] = ((instbuf[6]&192)|(trvol[15])^63);
+ instbuf[1] = ((instbuf[1]&192)|(trvol[12]^63));
+ instbuf[6] = ((instbuf[6]&192)|(trvol[15]^63));
setinst(7,instbuf[0],instbuf[1],instbuf[2],instbuf[3],instbuf[4],instbuf[5],instbuf[6],instbuf[7],instbuf[8],instbuf[9],instbuf[10]);
for(i=0;i<5;i++)
instbuf[i] = inst[trinst[14]][i];
for(i=5;i<11;i++)
instbuf[i] = inst[trinst[13]][i];
- instbuf[1] = ((instbuf[1]&192)|(trvol[14])^63);
- instbuf[6] = ((instbuf[6]&192)|(trvol[13])^63);
+ instbuf[1] = ((instbuf[1]&192)|(trvol[14]^63));
+ instbuf[6] = ((instbuf[6]&192)|(trvol[13]^63));
setinst(8,instbuf[0],instbuf[1],instbuf[2],instbuf[3],instbuf[4],instbuf[5],instbuf[6],instbuf[7],instbuf[8],instbuf[9],instbuf[10]);
}
diff --git a/src/lds.cpp b/src/lds.cpp
index 78870ccb..26d1d844 100644
--- src/lds.cpp
+++ src/lds.cpp
@@ -166,11 +166,11 @@ bool CldsPlayer::update()
if(!playing) return false;
// handle fading
- if(fadeonoff)
+ if(fadeonoff) {
if(fadeonoff <= 128) {
- if(allvolume > fadeonoff || allvolume == 0)
+ if(allvolume > fadeonoff || allvolume == 0) {
allvolume -= fadeonoff;
- else {
+ } else {
allvolume = 1;
fadeonoff = 0;
if(hardfade != 0) {
@@ -180,13 +180,15 @@ bool CldsPlayer::update()
channel[i].keycount = 1;
}
}
- } else
- if(((allvolume + (0x100 - fadeonoff)) & 0xff) <= mainvolume)
+ } else {
+ if(((allvolume + (0x100 - fadeonoff)) & 0xff) <= mainvolume) {
allvolume += 0x100 - fadeonoff;
- else {
+ } else {
allvolume = mainvolume;
fadeonoff = 0;
}
+ }
+ }
// handle channel delay
for(chan = 0; chan < 9; chan++) {
@@ -207,7 +209,7 @@ bool CldsPlayer::update()
comword = patterns[patnum + c->packpos];
comhi = comword >> 8; comlo = comword & 0xff;
- if(comword)
+ if(comword) {
if(comhi == 0x80)
c->packwait = comlo;
else
@@ -320,6 +322,7 @@ bool CldsPlayer::update()
c->chancheat.high = high;
}
}
+ }
c->packpos++;
} else
diff --git a/src/mkj.cpp b/src/mkj.cpp
index 88a882b9..05e9f367 100644
--- src/mkj.cpp
+++ src/mkj.cpp
@@ -137,7 +137,7 @@ bool CmkjPlayer::update()
break;
case 252: // set waveform
channel[c].songptr += maxchannel;
- if ((songbuf[channel[c].songptr] - 300 | 0xff) != 0xff)
+ if (((songbuf[channel[c].songptr] - 300) | 0xff) != 0xff)
goto bad_data; // value out of range
channel[c].waveform = songbuf[channel[c].songptr] - 300;
if(c > 2)
diff --git a/src/protrack.cpp b/src/protrack.cpp
index 9121bf68..d1ca3f70 100644
--- src/protrack.cpp
+++ src/protrack.cpp
@@ -138,20 +138,23 @@ bool CmodPlayer::update()
tone_portamento(chan,channel[chan].portainfo);
else
vibrato(chan,channel[chan].vibinfo1,channel[chan].vibinfo2);
- case 10: if(del % 4) // SA2 volume slide
- break;
+ case 10:
+ if(del % 4) // SA2 volume slide
+ break;
if(info1)
vol_up(chan,info1);
else
vol_down(chan,info2);
setvolume(chan);
break;
- case 14: if(info1 == 3) // retrig note
- if(!(del % (info2+1)))
- playnote(chan);
- break;
- case 16: if(del % 4) // AMD volume slide
+ case 14:
+ if(info1 == 3) // retrig note
+ if(!(del % (info2+1)))
+ playnote(chan);
break;
+ case 16:
+ if(del % 4) // AMD volume slide
+ break;
if(info1)
vol_up_alt(chan,info1);
else
@@ -651,7 +654,7 @@ void CmodPlayer::setfreq(unsigned char chan)
opl->write(0xa0 + oplchan, channel[chan].freq & 255);
if(channel[chan].key)
- opl->write(0xb0 + oplchan, ((channel[chan].freq & 768) >> 8) + (channel[chan].oct << 2) | 32);
+ opl->write(0xb0 + oplchan, (((channel[chan].freq & 768) >> 8) + (channel[chan].oct << 2)) | 32);
else
opl->write(0xb0 + oplchan, ((channel[chan].freq & 768) >> 8) + (channel[chan].oct << 2));
}
diff --git a/src/rad2.cpp b/src/rad2.cpp
index dc864b73..15e3023a 100644
--- src/rad2.cpp
+++ src/rad2.cpp
@@ -66,7 +66,7 @@ static const char *g_RADPattBadNoteNum = "Pattern contains a bad note number.";
static const char *g_RADPattBadInstNum = "Pattern contains a bad instrument number.";
static const char *g_RADPattBadEffect = "Pattern contains a bad effect and/or parameter.";
static const char *g_RADBadRiffNum = "Tune file contains a bad riff index.";
-static const char *g_RADExtraBytes = "Tune file contains extra bytes.";
+//static const char *g_RADExtraBytes = "Tune file contains extra bytes.";
@@ -113,7 +113,7 @@ static const char *RADCheckPattern(const uint8_t *&s, const uint8_t *e, bool rif
return g_RADPattTruncated;
uint8_t note = *s++;
uint8_t notenum = note & 15;
- uint8_t octave = (note >> 4) & 7;
+ //uint8_t octave = (note >> 4) & 7;
if (notenum == 0 || notenum == 13 || notenum == 14)
return g_RADPattBadNoteNum;
}
@@ -178,9 +178,9 @@ static const char *RADCheckPatternOld(const uint8_t *&s, const uint8_t *e) {
// Check note
if (s >= e)
return g_RADPattTruncated;
- uint8_t note = *s++;
- uint8_t notenum = note & 15;
- uint8_t octave = (note >> 4) & 7;
+ /*uint8_t note = *s++; */ s++;
+ //uint8_t notenum = note & 15;
+ //uint8_t octave = (note >> 4) & 7;
/* the replayer handles bad params already and some old tunes do contain them
if (notenum == 13 || notenum == 14)
return g_RADPattBadNoteNum;
@@ -195,7 +195,7 @@ static const char *RADCheckPatternOld(const uint8_t *&s, const uint8_t *e) {
if (inst & 0xf) {
if (s > e)
return g_RADPattTruncated;
- uint8_t param = *s++;
+ /* uint8_t param = *s++; */ s++;
/* the replayer handles bad params already and some old tunes do contain them
if (param > 99)
return g_RADPattBadEffect;
diff --git a/src/rix.cpp b/src/rix.cpp
index 9a95805d..4b5ca4c6 100644
--- src/rix.cpp
+++ src/rix.cpp
@@ -182,7 +182,7 @@ inline void CrixPlayer::set_new_int()
/*----------------------------------------------------------*/
inline void CrixPlayer::Pause()
{
- register uint16_t i;
+ uint16_t i;
pause_flag = 1;
for(i=0;i<11;i++)
switch_ad_bd(i);
@@ -394,7 +394,7 @@ inline void CrixPlayer::ad_a0b0l_reg(uint16_t index,uint16_t p2,uint16_t p3)
inline void CrixPlayer::rix_B0_pro(uint16_t ctrl_l,uint16_t index)
{
if (ctrl_l >= 11) return;
- register int temp = 0;
+ int temp = 0;
if(rhythm == 0 || ctrl_l < 6) temp = modify[ctrl_l*2+1];
else
{
@@ -407,7 +407,7 @@ inline void CrixPlayer::rix_B0_pro(uint16_t ctrl_l,uint16_t index)
/*--------------------------------------------------------------*/
inline void CrixPlayer::rix_C0_pro(uint16_t ctrl_l,uint16_t index)
{
- register uint16_t i = index>=12?index-12:0;
+ uint16_t i = index>=12?index-12:0;
if(ctrl_l < 6 || rhythm == 0)
{
ad_a0b0l_reg(ctrl_l,i,1);
@@ -443,7 +443,7 @@ inline void CrixPlayer::switch_ad_bd(uint16_t index)
/*--------------------------------------------------------------*/
inline void CrixPlayer::ins_to_reg(uint16_t index,uint16_t* insb,uint16_t value)
{
- register uint16_t i;
+ uint16_t i;
for(i=0;i<13;i++) reg_bufs[index].v[i] = insb[i];
reg_bufs[index].v[13] = value&3;
ad_bd_reg(),ad_08_reg(),
@@ -521,7 +521,7 @@ inline void CrixPlayer::ad_a0b0_reg(uint16_t index)
/*--------------------------------------------------------------*/
inline void CrixPlayer::music_ctrl()
{
- register int i;
+ int i;
for(i=0;i<11;i++)
switch_ad_bd(i);
}
diff --git a/src/sng.cpp b/src/sng.cpp
index 0a428056..62358bd8 100644
--- src/sng.cpp
+++ src/sng.cpp
@@ -73,7 +73,9 @@ bool CsngPlayer::update()
if(!header.compressed)
opl->write(data[pos].reg, data[pos].val);
- if(data[pos].val) del = data[pos].val - 1; pos++;
+ if(data[pos].val) del = data[pos].val - 1;
+ pos++;
+
if(pos >= header.length) { songend = true; pos = header.loop; }
return !songend;
}
diff --git a/src/sop.cpp b/src/sop.cpp
index 87c10165..e7c7d0a7 100644
--- src/sop.cpp
+++ src/sop.cpp
@@ -598,35 +598,35 @@ void Cad262Driver::SetVoiceVolume_SOP(unsigned chan, unsigned vol)
volume = 63 - VolumeTable[((63 - ((KSL_value = Ksl2[chan]) & 0x3F)) << 7) + vol];
if (chan >= 11)
- SndOutput3(VolReg[chan - 11] - 3, KSL_value & 0xC0 | volume);
+ SndOutput3(VolReg[chan - 11] - 3, (KSL_value & 0xC0) | volume);
else
- SndOutput1((percussion ? VolReg[chan + 11] : VolReg[chan]) - 3, KSL_value & 0xC0 | volume);
+ SndOutput1((percussion ? VolReg[chan + 11] : VolReg[chan]) - 3, (KSL_value & 0xC0) | volume);
if (OP4[chan]) {
chan += 3;
volume = 63 - VolumeTable[((63 - ((KSL_value = Ksl[chan]) & 0x3F)) << 7) + vol];
if (chan >= 11)
- SndOutput3(VolReg[chan - 11], KSL_value & 0xC0 | volume);
+ SndOutput3(VolReg[chan - 11], (KSL_value & 0xC0) | volume);
else
- SndOutput1(VolReg[chan], KSL_value & 0xC0 | volume);
+ SndOutput1(VolReg[chan], (KSL_value & 0xC0) | volume);
if (Ksl2V[chan]) {
volume = 63 - VolumeTable[((63 - ((KSL_value = Ksl2[chan]) & 0x3F)) << 7) + vol];
if (chan >= 11)
- SndOutput3(VolReg[chan - 11] - 3, KSL_value & 0xC0 | volume);
+ SndOutput3(VolReg[chan - 11] - 3, (KSL_value & 0xC0) | volume);
else
- SndOutput1(VolReg[chan] - 3, KSL_value & 0xC0 | volume);
+ SndOutput1(VolReg[chan] - 3, (KSL_value & 0xC0) | volume);
}
}
else {
volume = 63 - VolumeTable[((63 - ((KSL_value = Ksl[chan]) & 0x3F)) << 7) + vol];
if (chan >= 11)
- SndOutput3(VolReg[chan - 11], KSL_value & 0xC0 | volume);
+ SndOutput3(VolReg[chan - 11], (KSL_value & 0xC0) | volume);
else
- SndOutput1((percussion ? VolReg[chan + 11] : VolReg[chan]), KSL_value & 0xC0 | volume);
+ SndOutput1((percussion ? VolReg[chan + 11] : VolReg[chan]), (KSL_value & 0xC0) | volume);
}
}
else {
@@ -634,26 +634,26 @@ void Cad262Driver::SetVoiceVolume_SOP(unsigned chan, unsigned vol)
volume = 63 - VolumeTable[((63 - ((KSL_value = Ksl[chan + 3]) & 0x3F)) << 7) + vol];
if (chan >= 11)
- SndOutput3(VolReg[chan + 3 - 11], KSL_value & 0xC0 | volume);
+ SndOutput3(VolReg[chan + 3 - 11], (KSL_value & 0xC0) | volume);
else
- SndOutput1(VolReg[chan + 3], KSL_value & 0xC0 | volume);
+ SndOutput1(VolReg[chan + 3], (KSL_value & 0xC0) | volume);
if (Ksl2V[chan + 3]) {
volume = 63 - VolumeTable[((63 - ((KSL_value = Ksl[chan]) & 0x3F)) << 7) + vol];
if (chan >= 11)
- SndOutput3(VolReg[chan - 11], KSL_value & 0xC0 | volume);
+ SndOutput3(VolReg[chan - 11], (KSL_value & 0xC0) | volume);
else
- SndOutput1(VolReg[chan], KSL_value & 0xC0 | volume);
+ SndOutput1(VolReg[chan], (KSL_value & 0xC0) | volume);
}
}
else {
volume = 63 - VolumeTable[((63 - ((KSL_value = Ksl[chan]) & 0x3F)) << 7) + vol];
if (chan >= 11)
- SndOutput3(VolReg[chan - 11], KSL_value & 0xC0 | volume);
+ SndOutput3(VolReg[chan - 11], (KSL_value & 0xC0) | volume);
else
- SndOutput1((percussion ? VolReg[chan + 11] : VolReg[chan]), KSL_value & 0xC0 | volume);
+ SndOutput1((percussion ? VolReg[chan + 11] : VolReg[chan]), (KSL_value & 0xC0) | volume);
}
}
}
@@ -733,7 +733,7 @@ void Cad262Driver::SetVoiceTimbre_SOP(unsigned chan, unsigned char* array)
Ksl2[chan + 3] = *(array + 12);
Ksl2V[chan + 3] = *(array + 16) & 1;
- SndOutput1(i + 3, *(array + 16) & 0x0F | Stereo[chan]);
+ SndOutput1(i + 3, (*(array + 16) & 0x0F) | Stereo[chan]);
}
SetVoiceVolume_SOP(chan, VoiceVolume[chan]);
diff --git a/src/u6m.cpp b/src/u6m.cpp
index a905baad..037952e3 100644
--- src/u6m.cpp
+++ src/u6m.cpp
@@ -210,7 +210,7 @@ bool Cu6mPlayer::lzw_decompress(Cu6mPlayer::data_block source, Cu6mPlayer::data_
size_t bytes_written = 0;
int cW;
- int pW;
+ int pW=0;
unsigned char C;
while (!end_marker_reached)
diff --git a/src/vgm.cpp b/src/vgm.cpp
index 2fc8a971..aafc3214 100644
--- src/vgm.cpp
+++ src/vgm.cpp
@@ -162,8 +162,8 @@ bool CvgmPlayer::load(const std::string &filename, const CFileProvider &fp)
f->readString(id, 4);
if (!strncmp(id, GD3_HEADER_ID, 4))
{
- int gd3_ver = f->readInt(4);
- int gd3_size = f->readInt(4);
+ /* int gd3_ver = */ f->readInt(4);
+ /* int gd3_size = */ f->readInt(4);
fillGD3Tag(f, GD3.title_en);
fillGD3Tag(f, GD3.title_jp);
fillGD3Tag(f, GD3.game_en);

View File

@ -0,0 +1,13 @@
--- diskid.h.orig 2023-06-27 06:22:10 UTC
+++ diskid.h
@@ -61,8 +61,8 @@ typedef unsigned char byte;
typedef unsigned long dword;
typedef struct {
- byte FirstTrack; // The first track on CD : normally 1
- byte LastTrack; // The last track on CD: max number 99
+ ::byte FirstTrack; // The first track on CD : normally 1
+ ::byte LastTrack; // The last track on CD: max number 99
dword FrameOffset[100]; // Track 2 is TrackFrameOffset[2] etc.
// Leadout Track will be TrackFrameOffset[0]

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1684255517
SHA256 (KDE/plasma/5.27.5/kpipewire-5.27.5.tar.xz) = 41326adceeaad0d5e0fba78af69403dea12c007b769ed4b5d5534c21f27bdd98
SIZE (KDE/plasma/5.27.5/kpipewire-5.27.5.tar.xz) = 59824
TIMESTAMP = 1688022841
SHA256 (KDE/plasma/5.27.6/kpipewire-5.27.6.tar.xz) = 7ed653bfc0e82aa32e05766def3466937a5b2e31abbf3d50c9298b23e6e4328b
SIZE (KDE/plasma/5.27.6/kpipewire-5.27.6.tar.xz) = 59796

View File

@ -36,6 +36,7 @@ share/locale/eu/LC_MESSAGES/kpipewire5.mo
share/locale/fi/LC_MESSAGES/kpipewire5.mo
share/locale/fr/LC_MESSAGES/kpipewire5.mo
share/locale/gl/LC_MESSAGES/kpipewire5.mo
share/locale/id/LC_MESSAGES/kpipewire5.mo
share/locale/it/LC_MESSAGES/kpipewire5.mo
share/locale/ja/LC_MESSAGES/kpipewire5.mo
share/locale/ka/LC_MESSAGES/kpipewire5.mo

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1684255518
SHA256 (KDE/plasma/5.27.5/plasma-pa-5.27.5.tar.xz) = c2ab3f73bfdeed68a5cda3bf72a67ef609bef1c3e96e43bab0a18df822d98188
SIZE (KDE/plasma/5.27.5/plasma-pa-5.27.5.tar.xz) = 163052
TIMESTAMP = 1688022843
SHA256 (KDE/plasma/5.27.6/plasma-pa-5.27.6.tar.xz) = 4e7608ba32a47affe64bb77ec30bc3ed977a4ca7577399238dd3821df5856e4f
SIZE (KDE/plasma/5.27.6/plasma-pa-5.27.6.tar.xz) = 163288

View File

@ -0,0 +1,12 @@
--- libxfce4mixer/oss/oss-mixer.c.orig 2022-11-29 19:59:39 UTC
+++ libxfce4mixer/oss/oss-mixer.c
@@ -80,7 +80,8 @@ gst_mixer_oss_get_mixer_flags (GstMixer *mixer)
}
-static void gst_mixer_oss_set_volume (GstMixer *mixer, GstMixerTrack *track, gint *volumes)
+static void
+gst_mixer_oss_set_volume (GstMixer *mixer, GstMixerTrack *track, gint num_channels, gint *volumes)
{
int vol;
int l = volumes[0], r = volumes[1];

View File

@ -1,6 +1,5 @@
PORTNAME= quisk
DISTVERSION= 4.2.13
PORTREVISION= 1
DISTVERSION= 4.2.19
CATEGORIES= comms hamradio
MASTER_SITES= PYPI

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1670342744
SHA256 (quisk-4.2.13.tar.gz) = 7fba7b6140ac361546fab526aa22dc2ebedbafe1a8c513a303c22a2befd95b98
SIZE (quisk-4.2.13.tar.gz) = 4800770
TIMESTAMP = 1687973631
SHA256 (quisk-4.2.19.tar.gz) = 8946b29894eee88db4faceda82fe3f0878f45429a13083e77f4b3c9e132c8cd2
SIZE (quisk-4.2.19.tar.gz) = 4805584

View File

@ -20,6 +20,7 @@
SUBDIR += cmios9
SUBDIR += cocot
SUBDIR += convmv
SUBDIR += dos2unix
SUBDIR += dosunix
SUBDIR += drg2sbg
SUBDIR += dumpasn1

View File

@ -0,0 +1,31 @@
PORTNAME= dos2unix
DISTVERSION= 7.5.0
CATEGORIES= converters
MASTER_SITES= SF \
https://waterlan.home.xs4all.nl/dos2unix/
MAINTAINER= dim@FreeBSD.org
COMMENT= DOS/Mac to Unix and vice versa text file format converter
WWW= https://waterlan.home.xs4all.nl/dos2unix.html
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/COPYING.txt
USES= gmake
MAKE_ARGS= docsubdir="${PORTNAME}" \
prefix="${PREFIX}"
CONFLICTS_INSTALL= unix2dos
OPTIONS_DEFINE= DOCS NLS
OPTIONS_SUB= yes
NLS_USES= gettext
NLS_MAKE_ARGS_OFF= ENABLE_NLS=
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/dos2unix
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/unix2dos
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1686736752
SHA256 (dos2unix-7.5.0.tar.gz) = 7a3b01d01e214d62c2b3e04c3a92e0ddc728a385566e4c0356efa66fd6eb95af
SIZE (dos2unix-7.5.0.tar.gz) = 957576

View File

@ -0,0 +1,18 @@
This is an update of Benjamin Lin's implementations of dos2unix and
unix2dos. Benjamin Lin's implementations of dos2unix and unix2dos were
distributed via SunSITE.unc.edu (later MetaLab.unc.edu, now ibiblio)
and became part of several Linux distributions such as RedHat, Suse,
Gentoo, and others. This update includes all RedHat patches and fixes
several other problems. Internationalization has been added and ports
to DOS, Windows, Cygwin and OS/2 Warp have been made.
Features
* Native language support.
* Automatically skips binary and non-regular files.
* In-place, paired, or stdio mode conversion.
* Keep original file dates option.
* 7-bit and iso conversion modes like SunOS dos2unix.
* Conversion of Unicode UTF-16 files.
* Handles Unicode Byte Order Mark (BOM).
* Display file information.
* Secure.

View File

@ -0,0 +1,112 @@
bin/dos2unix
bin/mac2unix
bin/unix2dos
bin/unix2mac
%%DOCS%%%%DOCSDIR%%/BUGS.txt
%%DOCS%%%%DOCSDIR%%/ChangeLog.txt
%%DOCS%%%%DOCSDIR%%/COPYING.txt
%%DOCS%%%%NLS%%%%DOCSDIR%%/de/dos2unix.htm
%%DOCS%%%%NLS%%%%DOCSDIR%%/de/dos2unix.txt
%%DOCS%%%%DOCSDIR%%/dos2unix.htm
%%DOCS%%%%DOCSDIR%%/dos2unix.txt
%%DOCS%%%%NLS%%%%DOCSDIR%%/es/dos2unix.htm
%%DOCS%%%%NLS%%%%DOCSDIR%%/es/dos2unix.txt
%%DOCS%%%%NLS%%%%DOCSDIR%%/fr/dos2unix.htm
%%DOCS%%%%NLS%%%%DOCSDIR%%/fr/dos2unix.txt
%%DOCS%%%%DOCSDIR%%/INSTALL.txt
%%DOCS%%%%NLS%%%%DOCSDIR%%/ko/dos2unix.htm
%%DOCS%%%%NLS%%%%DOCSDIR%%/ko/dos2unix.txt
%%DOCS%%%%DOCSDIR%%/NEWS.txt
%%DOCS%%%%NLS%%%%DOCSDIR%%/nl/dos2unix.htm
%%DOCS%%%%NLS%%%%DOCSDIR%%/nl/dos2unix.txt
%%DOCS%%%%NLS%%%%DOCSDIR%%/pl/dos2unix.htm
%%DOCS%%%%NLS%%%%DOCSDIR%%/pl/dos2unix.txt
%%DOCS%%%%NLS%%%%DOCSDIR%%/pt_BR/dos2unix.htm
%%DOCS%%%%NLS%%%%DOCSDIR%%/pt_BR/dos2unix.txt
%%DOCS%%%%DOCSDIR%%/README.txt
%%DOCS%%%%NLS%%%%DOCSDIR%%/ro/dos2unix.htm
%%DOCS%%%%NLS%%%%DOCSDIR%%/ro/dos2unix.txt
%%DOCS%%%%NLS%%%%DOCSDIR%%/sr/dos2unix.htm
%%DOCS%%%%NLS%%%%DOCSDIR%%/sr/dos2unix.txt
%%DOCS%%%%NLS%%%%DOCSDIR%%/sv/dos2unix.htm
%%DOCS%%%%NLS%%%%DOCSDIR%%/sv/dos2unix.txt
%%DOCS%%%%DOCSDIR%%/TODO.txt
%%DOCS%%%%NLS%%%%DOCSDIR%%/uk/dos2unix.htm
%%DOCS%%%%NLS%%%%DOCSDIR%%/uk/dos2unix.txt
%%DOCS%%%%NLS%%%%DOCSDIR%%/zh_CN/dos2unix.htm
%%DOCS%%%%NLS%%%%DOCSDIR%%/zh_CN/dos2unix.txt
%%NLS%%share/locale/ca/LC_MESSAGES/dos2unix.mo
%%NLS%%share/locale/da/LC_MESSAGES/dos2unix.mo
%%NLS%%share/locale/de/LC_MESSAGES/dos2unix.mo
%%NLS%%share/locale/eo/LC_MESSAGES/dos2unix.mo
%%NLS%%share/locale/es/LC_MESSAGES/dos2unix.mo
%%NLS%%share/locale/fr/LC_MESSAGES/dos2unix.mo
%%NLS%%share/locale/fur/LC_MESSAGES/dos2unix.mo
%%NLS%%share/locale/hu/LC_MESSAGES/dos2unix.mo
%%NLS%%share/locale/ja/LC_MESSAGES/dos2unix.mo
%%NLS%%share/locale/ka/LC_MESSAGES/dos2unix.mo
%%NLS%%share/locale/ko/LC_MESSAGES/dos2unix.mo
%%NLS%%share/locale/nb/LC_MESSAGES/dos2unix.mo
%%NLS%%share/locale/nl/LC_MESSAGES/dos2unix.mo
%%NLS%%share/locale/pl/LC_MESSAGES/dos2unix.mo
%%NLS%%share/locale/pt_BR/LC_MESSAGES/dos2unix.mo
%%NLS%%share/locale/ro/LC_MESSAGES/dos2unix.mo
%%NLS%%share/locale/ru/LC_MESSAGES/dos2unix.mo
%%NLS%%share/locale/sr/LC_MESSAGES/dos2unix.mo
%%NLS%%share/locale/sv/LC_MESSAGES/dos2unix.mo
%%NLS%%share/locale/uk/LC_MESSAGES/dos2unix.mo
%%NLS%%share/locale/vi/LC_MESSAGES/dos2unix.mo
%%NLS%%share/locale/zh_CN/LC_MESSAGES/dos2unix.mo
%%NLS%%share/locale/zh_TW/LC_MESSAGES/dos2unix.mo
%%DOCS%%%%NLS%%share/man/de/man1/dos2unix.1.gz
%%DOCS%%%%NLS%%share/man/de/man1/mac2unix.1.gz
%%DOCS%%%%NLS%%share/man/de/man1/unix2dos.1.gz
%%DOCS%%%%NLS%%share/man/de/man1/unix2mac.1.gz
%%DOCS%%%%NLS%%share/man/es/man1/dos2unix.1.gz
%%DOCS%%%%NLS%%share/man/es/man1/mac2unix.1.gz
%%DOCS%%%%NLS%%share/man/es/man1/unix2dos.1.gz
%%DOCS%%%%NLS%%share/man/es/man1/unix2mac.1.gz
%%DOCS%%%%NLS%%share/man/fr/man1/dos2unix.1.gz
%%DOCS%%%%NLS%%share/man/fr/man1/mac2unix.1.gz
%%DOCS%%%%NLS%%share/man/fr/man1/unix2dos.1.gz
%%DOCS%%%%NLS%%share/man/fr/man1/unix2mac.1.gz
%%DOCS%%%%NLS%%share/man/ko/man1/dos2unix.1.gz
%%DOCS%%%%NLS%%share/man/ko/man1/mac2unix.1.gz
%%DOCS%%%%NLS%%share/man/ko/man1/unix2dos.1.gz
%%DOCS%%%%NLS%%share/man/ko/man1/unix2mac.1.gz
%%DOCS%%share/man/man1/dos2unix.1.gz
%%DOCS%%share/man/man1/mac2unix.1.gz
%%DOCS%%share/man/man1/unix2dos.1.gz
%%DOCS%%share/man/man1/unix2mac.1.gz
%%DOCS%%%%NLS%%share/man/nl/man1/dos2unix.1.gz
%%DOCS%%%%NLS%%share/man/nl/man1/mac2unix.1.gz
%%DOCS%%%%NLS%%share/man/nl/man1/unix2dos.1.gz
%%DOCS%%%%NLS%%share/man/nl/man1/unix2mac.1.gz
%%DOCS%%%%NLS%%share/man/pl/man1/dos2unix.1.gz
%%DOCS%%%%NLS%%share/man/pl/man1/mac2unix.1.gz
%%DOCS%%%%NLS%%share/man/pl/man1/unix2dos.1.gz
%%DOCS%%%%NLS%%share/man/pl/man1/unix2mac.1.gz
%%DOCS%%%%NLS%%share/man/pt_BR/man1/dos2unix.1.gz
%%DOCS%%%%NLS%%share/man/pt_BR/man1/mac2unix.1.gz
%%DOCS%%%%NLS%%share/man/pt_BR/man1/unix2dos.1.gz
%%DOCS%%%%NLS%%share/man/pt_BR/man1/unix2mac.1.gz
%%DOCS%%%%NLS%%share/man/ro/man1/dos2unix.1.gz
%%DOCS%%%%NLS%%share/man/ro/man1/mac2unix.1.gz
%%DOCS%%%%NLS%%share/man/ro/man1/unix2dos.1.gz
%%DOCS%%%%NLS%%share/man/ro/man1/unix2mac.1.gz
%%DOCS%%%%NLS%%share/man/sr/man1/dos2unix.1.gz
%%DOCS%%%%NLS%%share/man/sr/man1/mac2unix.1.gz
%%DOCS%%%%NLS%%share/man/sr/man1/unix2dos.1.gz
%%DOCS%%%%NLS%%share/man/sr/man1/unix2mac.1.gz
%%DOCS%%%%NLS%%share/man/sv/man1/dos2unix.1.gz
%%DOCS%%%%NLS%%share/man/sv/man1/mac2unix.1.gz
%%DOCS%%%%NLS%%share/man/sv/man1/unix2dos.1.gz
%%DOCS%%%%NLS%%share/man/sv/man1/unix2mac.1.gz
%%DOCS%%%%NLS%%share/man/uk/man1/dos2unix.1.gz
%%DOCS%%%%NLS%%share/man/uk/man1/mac2unix.1.gz
%%DOCS%%%%NLS%%share/man/uk/man1/unix2dos.1.gz
%%DOCS%%%%NLS%%share/man/uk/man1/unix2mac.1.gz
%%DOCS%%%%NLS%%share/man/zh_CN/man1/dos2unix.1.gz
%%DOCS%%%%NLS%%share/man/zh_CN/man1/mac2unix.1.gz
%%DOCS%%%%NLS%%share/man/zh_CN/man1/unix2dos.1.gz
%%DOCS%%%%NLS%%share/man/zh_CN/man1/unix2mac.1.gz

View File

@ -1,5 +1,6 @@
PORTNAME= unix2dos
PORTVERSION= 1.3
PORTREVISION= 1
CATEGORIES= converters
MASTER_SITES= LOCAL/ehaupt
@ -10,6 +11,8 @@ PLIST_FILES= bin/dos2unix bin/unix2dos \
man/man1/unix2dos.1.gz man/man1/dos2unix.1.gz
NO_WRKSUBDIR= yes
CONFLICTS_INSTALL= dos2unix
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/unix2dos ${STAGEDIR}${PREFIX}/bin/unix2dos
${LN} -f ${STAGEDIR}${PREFIX}/bin/unix2dos ${STAGEDIR}${PREFIX}/bin/dos2unix

View File

@ -1,5 +1,5 @@
PORTNAME= mongodb-tools
DISTVERSION= 100.7.2
DISTVERSION= 100.7.3
CATEGORIES= databases
MAINTAINER= ronald@FreeBSD.org

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1685604562
SHA256 (mongodb-mongo-tools-100.7.2_GH0.tar.gz) = 6128d1e44536b7bc6b86ce3ea15872e937fa0237e5b57ae98cbfab2a318af09b
SIZE (mongodb-mongo-tools-100.7.2_GH0.tar.gz) = 4510467
TIMESTAMP = 1687862134
SHA256 (mongodb-mongo-tools-100.7.3_GH0.tar.gz) = e3197849430f08e68a39c961e087d4e3f5b0c624b3a4c454c4b492703ee1092b
SIZE (mongodb-mongo-tools-100.7.3_GH0.tar.gz) = 4518222

View File

@ -1,6 +1,6 @@
PORTNAME= mongodb
DISTVERSIONPREFIX= r
DISTVERSION= 6.0.6
DISTVERSION= 6.0.7
CATEGORIES= databases net
PKGNAMESUFFIX= ${DISTVERSION:R:S/.//}

View File

@ -1,5 +1,5 @@
TIMESTAMP = 1686085938
SHA256 (mongodb-mongo-r6.0.6_GH0.tar.gz) = 2fbef214770e5d7a28f608ef6689f4f8160036468a457e9d9fdee7dbb516dc32
SIZE (mongodb-mongo-r6.0.6_GH0.tar.gz) = 90712350
TIMESTAMP = 1687723153
SHA256 (mongodb-mongo-r6.0.7_GH0.tar.gz) = 0a45ae566052e9c32f9d1c02d787645a8ef6dcd4c9f347f6783cf89d707124b2
SIZE (mongodb-mongo-r6.0.7_GH0.tar.gz) = 91008510
SHA256 (mongodb-forks-spidermonkey-82aac6af18abcd5bf188afbc821779ccb0ca0902_GH0.tar.gz) = a365bf54ef4e4fd6a136cf6afa9c620ba0c8982402473b9bfac38928a688a9e0
SIZE (mongodb-forks-spidermonkey-82aac6af18abcd5bf188afbc821779ccb0ca0902_GH0.tar.gz) = 141291901

View File

@ -0,0 +1,268 @@
--- lib/odbx.cpp.orig 2010-08-01 02:08:41 UTC
+++ lib/odbx.cpp
@@ -54,7 +54,7 @@ namespace OpenDBX
* OpenDBX large object interface
*/
- Lob::Lob( Lob_Iface* impl ) throw( std::exception )
+ Lob::Lob( Lob_Iface* impl ) noexcept(false)
{
m_impl = impl;
m_ref = new int;
@@ -114,21 +114,21 @@ namespace OpenDBX
- void Lob::close() throw( std::exception )
+ void Lob::close() noexcept(false)
{
return m_impl->close();
}
- ssize_t Lob::read( void* buffer, size_t buflen ) throw( std::exception )
+ ssize_t Lob::read( void* buffer, size_t buflen ) noexcept(false)
{
return m_impl->read( buffer, buflen );
}
- ssize_t Lob::write( void* buffer, size_t buflen ) throw( std::exception )
+ ssize_t Lob::write( void* buffer, size_t buflen ) noexcept(false)
{
return m_impl->write( buffer, buflen );
}
@@ -143,7 +143,7 @@ namespace OpenDBX
- Result::Result( Result_Iface* impl ) throw( std::exception )
+ Result::Result( Result_Iface* impl ) noexcept(false)
{
m_impl = impl;
m_ref = new int;
@@ -204,76 +204,76 @@ namespace OpenDBX
- void Result::finish() throw( std::exception )
+ void Result::finish() noexcept(false)
{
return m_impl->finish();
}
- odbxres Result::getResult( struct timeval* timeout, unsigned long chunk ) throw( std::exception )
+ odbxres Result::getResult( struct timeval* timeout, unsigned long chunk ) noexcept(false)
{
return m_impl->getResult( timeout, chunk );
}
- odbxrow Result::getRow() throw( std::exception )
+ odbxrow Result::getRow() noexcept(false)
{
return m_impl->getRow();
}
- uint64_t Result::rowsAffected() throw( std::exception )
+ uint64_t Result::rowsAffected() noexcept(false)
{
return m_impl->rowsAffected();
}
- unsigned long Result::columnCount() throw( std::exception )
+ unsigned long Result::columnCount() noexcept(false)
{
return m_impl->columnCount();
}
- unsigned long Result::columnPos( const string& name ) throw( std::exception )
+ unsigned long Result::columnPos( const string& name ) noexcept(false)
{
return m_impl->columnPos( name );
}
- const string Result::columnName( unsigned long pos ) throw( std::exception )
+ const string Result::columnName( unsigned long pos ) noexcept(false)
{
return m_impl->columnName( pos );
}
- odbxtype Result::columnType( unsigned long pos ) throw( std::exception )
+ odbxtype Result::columnType( unsigned long pos ) noexcept(false)
{
return m_impl->columnType( pos );
}
- unsigned long Result::fieldLength( unsigned long pos ) throw( std::exception )
+ unsigned long Result::fieldLength( unsigned long pos ) noexcept(false)
{
return m_impl->fieldLength( pos );
}
- const char* Result::fieldValue( unsigned long pos ) throw( std::exception )
+ const char* Result::fieldValue( unsigned long pos ) noexcept(false)
{
return m_impl->fieldValue( pos );
}
- Lob Result::getLob( const char* value ) throw( std::exception )
+ Lob Result::getLob( const char* value ) noexcept(false)
{
return m_impl->getLob( value );
}
@@ -288,7 +288,7 @@ namespace OpenDBX
- Stmt::Stmt( Stmt_Iface* impl ) throw( std::exception )
+ Stmt::Stmt( Stmt_Iface* impl ) noexcept(false)
{
m_impl = impl;
m_ref = new int;
@@ -363,7 +363,7 @@ namespace OpenDBX
- Result Stmt::execute() throw( std::exception )
+ Result Stmt::execute() noexcept(false)
{
return Result( m_impl->execute() );
}
@@ -384,7 +384,7 @@ namespace OpenDBX
}
- Conn::Conn( const char* backend, const char* host, const char* port ) throw( std::exception )
+ Conn::Conn( const char* backend, const char* host, const char* port ) noexcept(false)
{
m_impl = new Conn_Impl( backend, host, port );
m_ref = new int;
@@ -393,7 +393,7 @@ namespace OpenDBX
}
- Conn::Conn( const string& backend, const string& host, const string& port ) throw( std::exception )
+ Conn::Conn( const string& backend, const string& host, const string& port ) noexcept(false)
{
m_impl = new Conn_Impl( backend.c_str(), host.c_str(), port.c_str() );
m_ref = new int;
@@ -454,7 +454,7 @@ namespace OpenDBX
- void Conn::bind( const char* database, const char* who, const char* cred, odbxbind method ) throw( std::exception )
+ void Conn::bind( const char* database, const char* who, const char* cred, odbxbind method ) noexcept(false)
{
if( m_impl == NULL )
{
@@ -466,7 +466,7 @@ namespace OpenDBX
- void Conn::bind( const string& database, const string& who, const string& cred, odbxbind method ) throw( std::exception )
+ void Conn::bind( const string& database, const string& who, const string& cred, odbxbind method ) noexcept(false)
{
if( m_impl == NULL )
{
@@ -478,7 +478,7 @@ namespace OpenDBX
- void Conn::unbind() throw( std::exception )
+ void Conn::unbind() noexcept(false)
{
if( m_impl == NULL )
{
@@ -490,7 +490,7 @@ namespace OpenDBX
- void Conn::finish() throw( std::exception )
+ void Conn::finish() noexcept(false)
{
if( m_impl == NULL )
{
@@ -502,7 +502,7 @@ namespace OpenDBX
- bool Conn::getCapability( odbxcap cap ) throw( std::exception )
+ bool Conn::getCapability( odbxcap cap ) noexcept(false)
{
if( m_impl == NULL )
{
@@ -514,7 +514,7 @@ namespace OpenDBX
- void Conn::getOption( odbxopt option, void* value ) throw( std::exception )
+ void Conn::getOption( odbxopt option, void* value ) noexcept(false)
{
if( m_impl == NULL )
{
@@ -526,7 +526,7 @@ namespace OpenDBX
- void Conn::setOption( odbxopt option, void* value ) throw( std::exception )
+ void Conn::setOption( odbxopt option, void* value ) noexcept(false)
{
if( m_impl == NULL )
{
@@ -538,7 +538,7 @@ namespace OpenDBX
- string& Conn::escape( const string& from, string& to ) throw( std::exception )
+ string& Conn::escape( const string& from, string& to ) noexcept(false)
{
if( m_impl == NULL )
{
@@ -550,7 +550,7 @@ namespace OpenDBX
- string& Conn::escape( const char* from, unsigned long fromlen, string& to ) throw( std::exception )
+ string& Conn::escape( const char* from, unsigned long fromlen, string& to ) noexcept(false)
{
if( m_impl == NULL )
{
@@ -562,7 +562,7 @@ namespace OpenDBX
- Stmt Conn::create( const char* sql, unsigned long length, Stmt::Type type ) throw( std::exception )
+ Stmt Conn::create( const char* sql, unsigned long length, Stmt::Type type ) noexcept(false)
{
if( length == 0 ) { length = (unsigned long) strlen( sql ); }
@@ -571,7 +571,7 @@ namespace OpenDBX
- Stmt Conn::create( const string& sql, Stmt::Type type ) throw( std::exception )
+ Stmt Conn::create( const string& sql, Stmt::Type type ) noexcept(false)
{
if( m_impl == NULL )
{

View File

@ -0,0 +1,87 @@
--- lib/odbx_iface.hpp.orig 2010-08-01 02:08:41 UTC
+++ lib/odbx_iface.hpp
@@ -27,10 +27,10 @@ namespace OpenDBX
public:
virtual ~Lob_Iface() throw() {}
- virtual void close() throw( std::exception ) = 0;
+ virtual void close() noexcept(false) = 0;
- virtual ssize_t read( void* buffer, size_t buflen ) throw( std::exception ) = 0;
- virtual ssize_t write( void* buffer, size_t buflen ) throw( std::exception ) = 0;
+ virtual ssize_t read( void* buffer, size_t buflen ) noexcept(false) = 0;
+ virtual ssize_t write( void* buffer, size_t buflen ) noexcept(false) = 0;
};
@@ -40,22 +40,22 @@ namespace OpenDBX
public:
virtual ~Result_Iface() throw() {}
- virtual void finish() throw( std::exception ) = 0;
+ virtual void finish() noexcept(false) = 0;
- virtual odbxres getResult( struct timeval* timeout, unsigned long chunk ) throw( std::exception ) = 0;
+ virtual odbxres getResult( struct timeval* timeout, unsigned long chunk ) noexcept(false) = 0;
- virtual odbxrow getRow() throw( std::exception ) = 0;
- virtual uint64_t rowsAffected() throw( std::exception ) = 0;
+ virtual odbxrow getRow() noexcept(false) = 0;
+ virtual uint64_t rowsAffected() noexcept(false) = 0;
- virtual unsigned long columnCount() throw( std::exception ) = 0;
- virtual unsigned long columnPos( const string& name ) throw( std::exception ) = 0;
- virtual const string columnName( unsigned long pos ) throw( std::exception ) = 0;
- virtual odbxtype columnType( unsigned long pos ) throw( std::exception ) = 0;
+ virtual unsigned long columnCount() noexcept(false) = 0;
+ virtual unsigned long columnPos( const string& name ) noexcept(false) = 0;
+ virtual const string columnName( unsigned long pos ) noexcept(false) = 0;
+ virtual odbxtype columnType( unsigned long pos ) noexcept(false) = 0;
- virtual unsigned long fieldLength( unsigned long pos ) throw( std::exception ) = 0;
- virtual const char* fieldValue( unsigned long pos ) throw( std::exception ) = 0;
+ virtual unsigned long fieldLength( unsigned long pos ) noexcept(false) = 0;
+ virtual const char* fieldValue( unsigned long pos ) noexcept(false) = 0;
- virtual Lob_Iface* getLob( const char* value ) throw( std::exception ) = 0;
+ virtual Lob_Iface* getLob( const char* value ) noexcept(false) = 0;
};
@@ -65,7 +65,7 @@ namespace OpenDBX
public:
virtual ~Stmt_Iface() throw() {};
- virtual Result_Iface* execute() throw( std::exception ) = 0;
+ virtual Result_Iface* execute() noexcept(false) = 0;
// virtual void bind( const void* data, unsigned long size, size_t pos, int flags ) = 0;
// virtual size_t count() = 0;
@@ -78,19 +78,19 @@ namespace OpenDBX
public:
virtual ~Conn_Iface() throw() {};
- virtual void finish() throw( std::exception ) = 0;
+ virtual void finish() noexcept(false) = 0;
- virtual void bind( const char* database, const char* who, const char* cred, odbxbind method = ODBX_BIND_SIMPLE ) throw( std::exception ) = 0;
- virtual void unbind() throw( std::exception ) = 0;
+ virtual void bind( const char* database, const char* who, const char* cred, odbxbind method = ODBX_BIND_SIMPLE ) noexcept(false) = 0;
+ virtual void unbind() noexcept(false) = 0;
- virtual bool getCapability( odbxcap cap ) throw( std::exception ) = 0;
+ virtual bool getCapability( odbxcap cap ) noexcept(false) = 0;
- virtual void getOption( odbxopt option, void* value ) throw( std::exception ) = 0;
- virtual void setOption( odbxopt option, void* value ) throw( std::exception ) = 0;
+ virtual void getOption( odbxopt option, void* value ) noexcept(false) = 0;
+ virtual void setOption( odbxopt option, void* value ) noexcept(false) = 0;
- virtual string& escape( const char* from, unsigned long fromlen, string& to ) throw( std::exception ) = 0;
+ virtual string& escape( const char* from, unsigned long fromlen, string& to ) noexcept(false) = 0;
- virtual Stmt_Iface* create( const string& sql, Stmt::Type type ) throw( std::exception ) = 0;
+ virtual Stmt_Iface* create( const string& sql, Stmt::Type type ) noexcept(false) = 0;
};
} // namespace

View File

@ -0,0 +1,279 @@
--- lib/odbx_impl.cpp.orig 2012-06-10 21:20:25 UTC
+++ lib/odbx_impl.cpp
@@ -29,7 +29,7 @@ namespace OpenDBX
* OpenDBX large object implementation
*/
- Lob_Impl::Lob_Impl( odbx_result_t* result, const char* value ) throw( std::exception )
+ Lob_Impl::Lob_Impl( odbx_result_t* result, const char* value ) noexcept(false)
{
int err;
@@ -52,7 +52,7 @@ namespace OpenDBX
- void Lob_Impl::close() throw( std::exception )
+ void Lob_Impl::close() noexcept(false)
{
int err;
@@ -66,7 +66,7 @@ namespace OpenDBX
- ssize_t Lob_Impl::read( void* buffer, size_t buflen ) throw( std::exception )
+ ssize_t Lob_Impl::read( void* buffer, size_t buflen ) noexcept(false)
{
ssize_t err;
@@ -80,7 +80,7 @@ namespace OpenDBX
- ssize_t Lob_Impl::write( void* buffer, size_t buflen ) throw( std::exception )
+ ssize_t Lob_Impl::write( void* buffer, size_t buflen ) noexcept(false)
{
ssize_t err;
@@ -102,7 +102,7 @@ namespace OpenDBX
- Result_Impl::Result_Impl( odbx_t* handle ) throw( std::exception )
+ Result_Impl::Result_Impl( odbx_t* handle ) noexcept(false)
{
m_handle = handle;
m_result = NULL;
@@ -121,7 +121,7 @@ namespace OpenDBX
- void Result_Impl::finish() throw( std::exception )
+ void Result_Impl::finish() noexcept(false)
{
odbxres res;
@@ -137,7 +137,7 @@ namespace OpenDBX
- odbxres Result_Impl::getResult( struct timeval* timeout, unsigned long chunk ) throw( std::exception )
+ odbxres Result_Impl::getResult( struct timeval* timeout, unsigned long chunk ) noexcept(false)
{
int err;
@@ -162,7 +162,7 @@ namespace OpenDBX
- odbxrow Result_Impl::getRow() throw( std::exception )
+ odbxrow Result_Impl::getRow() noexcept(false)
{
int err;
@@ -176,21 +176,21 @@ namespace OpenDBX
- uint64_t Result_Impl::rowsAffected() throw( std::exception )
+ uint64_t Result_Impl::rowsAffected() noexcept(false)
{
return odbx_rows_affected( m_result );
}
- unsigned long Result_Impl::columnCount() throw( std::exception )
+ unsigned long Result_Impl::columnCount() noexcept(false)
{
return odbx_column_count( m_result );
}
- unsigned long Result_Impl::columnPos( const string& name ) throw( std::exception )
+ unsigned long Result_Impl::columnPos( const string& name ) noexcept(false)
{
map<const string, unsigned long>::const_iterator it;
@@ -213,7 +213,7 @@ namespace OpenDBX
- const string Result_Impl::columnName( unsigned long pos ) throw( std::exception )
+ const string Result_Impl::columnName( unsigned long pos ) noexcept(false)
{
if( pos < odbx_column_count( m_result ) )
{
@@ -230,7 +230,7 @@ namespace OpenDBX
- odbxtype Result_Impl::columnType( unsigned long pos ) throw( std::exception )
+ odbxtype Result_Impl::columnType( unsigned long pos ) noexcept(false)
{
if( pos < odbx_column_count( m_result ) )
{
@@ -242,7 +242,7 @@ namespace OpenDBX
- unsigned long Result_Impl::fieldLength( unsigned long pos ) throw( std::exception )
+ unsigned long Result_Impl::fieldLength( unsigned long pos ) noexcept(false)
{
if( pos < odbx_column_count( m_result ) )
{
@@ -254,7 +254,7 @@ namespace OpenDBX
- const char* Result_Impl::fieldValue( unsigned long pos ) throw( std::exception )
+ const char* Result_Impl::fieldValue( unsigned long pos ) noexcept(false)
{
if( pos < odbx_column_count( m_result ) )
{
@@ -265,7 +265,7 @@ namespace OpenDBX
}
- Lob_Iface* Result_Impl::getLob( const char* value ) throw( std::exception )
+ Lob_Iface* Result_Impl::getLob( const char* value ) noexcept(false)
{
return new Lob_Impl( m_result, value );
}
@@ -280,7 +280,7 @@ namespace OpenDBX
- Stmt_Impl::Stmt_Impl( odbx_t* handle ) throw( std::exception )
+ Stmt_Impl::Stmt_Impl( odbx_t* handle ) noexcept(false)
{
m_handle = handle;
}
@@ -301,7 +301,7 @@ namespace OpenDBX
- StmtSimple_Impl::StmtSimple_Impl( odbx_t* handle, const string& sql ) throw( std::exception ) : Stmt_Impl( handle )
+ StmtSimple_Impl::StmtSimple_Impl( odbx_t* handle, const string& sql ) noexcept(false) : Stmt_Impl( handle )
{
m_sql = sql;
/* m_buffer = NULL;
@@ -326,7 +326,7 @@ namespace OpenDBX
- StmtSimple_Impl::StmtSimple_Impl() throw( std::exception ) : Stmt_Impl( NULL )
+ StmtSimple_Impl::StmtSimple_Impl() noexcept(false) : Stmt_Impl( NULL )
{
// m_buffer = NULL;
// m_bufsize = 0;
@@ -365,7 +365,7 @@ namespace OpenDBX
- Result_Iface* StmtSimple_Impl::execute() throw( std::exception )
+ Result_Iface* StmtSimple_Impl::execute() noexcept(false)
{
// if( m_binds.size() ) { _exec_params(); }
// else { _exec_noparams(); }
@@ -377,7 +377,7 @@ namespace OpenDBX
- inline void StmtSimple_Impl::_exec_noparams() throw( std::exception )
+ inline void StmtSimple_Impl::_exec_noparams() noexcept(false)
{
int err;
@@ -452,7 +452,7 @@ namespace OpenDBX
- Conn_Impl::Conn_Impl( const char* backend, const char* host, const char* port ) throw( std::exception )
+ Conn_Impl::Conn_Impl( const char* backend, const char* host, const char* port ) noexcept(false)
{
int err;
@@ -480,7 +480,7 @@ namespace OpenDBX
- void Conn_Impl::bind( const char* database, const char* who, const char* cred, odbxbind method ) throw( std::exception )
+ void Conn_Impl::bind( const char* database, const char* who, const char* cred, odbxbind method ) noexcept(false)
{
int err;
@@ -494,7 +494,7 @@ namespace OpenDBX
- void Conn_Impl::unbind() throw( std::exception )
+ void Conn_Impl::unbind() noexcept(false)
{
int err;
@@ -508,7 +508,7 @@ namespace OpenDBX
- void Conn_Impl::finish() throw( std::exception )
+ void Conn_Impl::finish() noexcept(false)
{
int err;
@@ -528,7 +528,7 @@ namespace OpenDBX
- bool Conn_Impl::getCapability( odbxcap cap ) throw( std::exception )
+ bool Conn_Impl::getCapability( odbxcap cap ) noexcept(false)
{
int err = odbx_capabilities( m_handle, (unsigned int) cap );
@@ -545,7 +545,7 @@ namespace OpenDBX
- void Conn_Impl::getOption( odbxopt option, void* value ) throw( std::exception )
+ void Conn_Impl::getOption( odbxopt option, void* value ) noexcept(false)
{
int err;
@@ -557,7 +557,7 @@ namespace OpenDBX
- void Conn_Impl::setOption( odbxopt option, void* value ) throw( std::exception )
+ void Conn_Impl::setOption( odbxopt option, void* value ) noexcept(false)
{
int err;
@@ -569,7 +569,7 @@ namespace OpenDBX
- string& Conn_Impl::escape( const char* from, unsigned long fromlen, string& to ) throw( std::exception )
+ string& Conn_Impl::escape( const char* from, unsigned long fromlen, string& to ) noexcept(false)
{
int err;
unsigned long size = m_escsize;
@@ -594,7 +594,7 @@ namespace OpenDBX
- Stmt_Iface* Conn_Impl::create( const string& sql, Stmt::Type type ) throw( std::exception )
+ Stmt_Iface* Conn_Impl::create( const string& sql, Stmt::Type type ) noexcept(false)
{
switch( type )
{
@@ -607,7 +607,7 @@ namespace OpenDBX
- inline char* Conn_Impl::_resize( char* buffer, size_t size ) throw( std::exception )
+ inline char* Conn_Impl::_resize( char* buffer, size_t size ) noexcept(false)
{
if( ( buffer = (char*) std::realloc( buffer, size ) ) == NULL )
{

View File

@ -0,0 +1,128 @@
--- lib/odbx_impl.hpp.orig 2010-08-01 02:08:41 UTC
+++ lib/odbx_impl.hpp
@@ -37,13 +37,13 @@ namespace OpenDBX
public:
- Lob_Impl( odbx_result_t* result, const char* value ) throw( std::exception );
+ Lob_Impl( odbx_result_t* result, const char* value ) noexcept(false);
~Lob_Impl() throw();
- void close() throw( std::exception );
+ void close() noexcept(false);
- ssize_t read( void* buffer, size_t buflen ) throw( std::exception );
- ssize_t write( void* buffer, size_t buflen ) throw( std::exception );
+ ssize_t read( void* buffer, size_t buflen ) noexcept(false);
+ ssize_t write( void* buffer, size_t buflen ) noexcept(false);
};
@@ -56,25 +56,25 @@ namespace OpenDBX
public:
- Result_Impl( odbx_t* handle ) throw( std::exception );
+ Result_Impl( odbx_t* handle ) noexcept(false);
~Result_Impl() throw();
- void finish() throw( std::exception );
+ void finish() noexcept(false);
- odbxres getResult( struct timeval* timeout, unsigned long chunk ) throw( std::exception );
+ odbxres getResult( struct timeval* timeout, unsigned long chunk ) noexcept(false);
- odbxrow getRow() throw( std::exception );
- uint64_t rowsAffected() throw( std::exception );
+ odbxrow getRow() noexcept(false);
+ uint64_t rowsAffected() noexcept(false);
- unsigned long columnCount() throw( std::exception );
- unsigned long columnPos( const string& name ) throw( std::exception );
- const string columnName( unsigned long pos ) throw( std::exception );
- odbxtype columnType( unsigned long pos ) throw( std::exception );
+ unsigned long columnCount() noexcept(false);
+ unsigned long columnPos( const string& name ) noexcept(false);
+ const string columnName( unsigned long pos ) noexcept(false);
+ odbxtype columnType( unsigned long pos ) noexcept(false);
- unsigned long fieldLength( unsigned long pos ) throw( std::exception );
- const char* fieldValue( unsigned long pos ) throw( std::exception );
+ unsigned long fieldLength( unsigned long pos ) noexcept(false);
+ const char* fieldValue( unsigned long pos ) noexcept(false);
- Lob_Iface* getLob( const char* value ) throw( std::exception );
+ Lob_Iface* getLob( const char* value ) noexcept(false);
};
@@ -89,7 +89,7 @@ namespace OpenDBX
public:
- Stmt_Impl( odbx_t* handle ) throw( std::exception );
+ Stmt_Impl( odbx_t* handle ) noexcept(false);
};
@@ -106,19 +106,19 @@ namespace OpenDBX
protected:
-// inline void _exec_params() throw( std::exception );
- inline void _exec_noparams() throw( std::exception );
+// inline void _exec_params() noexcept(false);
+ inline void _exec_noparams() noexcept(false);
public:
- StmtSimple_Impl( odbx_t* handle, const string& sql ) throw( std::exception );
- StmtSimple_Impl() throw( std::exception );
+ StmtSimple_Impl( odbx_t* handle, const string& sql ) noexcept(false);
+ StmtSimple_Impl() noexcept(false);
~StmtSimple_Impl() throw();
// void bind( const void* data, unsigned long size, size_t pos, int flags );
// size_t count();
- Result_Iface* execute() throw( std::exception );
+ Result_Iface* execute() noexcept(false);
};
@@ -132,25 +132,25 @@ namespace OpenDBX
protected:
- inline char* _resize( char* buffer, size_t size ) throw( std::exception );
+ inline char* _resize( char* buffer, size_t size ) noexcept(false);
public:
- Conn_Impl( const char* backend, const char* host, const char* port ) throw( std::exception );
+ Conn_Impl( const char* backend, const char* host, const char* port ) noexcept(false);
~Conn_Impl() throw();
- void finish() throw( std::exception );
+ void finish() noexcept(false);
- void bind( const char* database, const char* who, const char* cred, odbxbind method = ODBX_BIND_SIMPLE ) throw( std::exception );
- void unbind() throw( std::exception );
+ void bind( const char* database, const char* who, const char* cred, odbxbind method = ODBX_BIND_SIMPLE ) noexcept(false);
+ void unbind() noexcept(false);
- bool getCapability( odbxcap cap ) throw( std::exception );
+ bool getCapability( odbxcap cap ) noexcept(false);
- void getOption( odbxopt option, void* value ) throw( std::exception );
- void setOption( odbxopt option, void* value ) throw( std::exception );
+ void getOption( odbxopt option, void* value ) noexcept(false);
+ void setOption( odbxopt option, void* value ) noexcept(false);
- string& escape( const char* from, unsigned long fromlen, string& to ) throw( std::exception );
+ string& escape( const char* from, unsigned long fromlen, string& to ) noexcept(false);
- Stmt_Iface* create( const string& sql, Stmt::Type type ) throw( std::exception );
+ Stmt_Iface* create( const string& sql, Stmt::Type type ) noexcept(false);
};
} // namespace

View File

@ -0,0 +1,281 @@
--- lib/opendbx/api.orig 2010-08-01 02:08:41 UTC
+++ lib/opendbx/api
@@ -265,7 +265,7 @@ namespace OpenDBX
* @return Lob instance
* @throws std::exception If an error occures
*/
- Lob( Lob_Iface* impl ) throw( std::exception );
+ Lob( Lob_Iface* impl ) noexcept(false);
public:
@@ -319,7 +319,7 @@ namespace OpenDBX
*
* @throws OpenDBX::Exception If the underlying database library returns an error
*/
- void close() throw( std::exception );
+ void close() noexcept(false);
/**
* Reads content from large object into the buffer.
@@ -344,7 +344,7 @@ namespace OpenDBX
* @return Number of bytes written into the buffer
* @throws OpenDBX::Exception If the underlying database library returns an error
*/
- ssize_t read( void* buffer, size_t buflen ) throw( std::exception );
+ ssize_t read( void* buffer, size_t buflen ) noexcept(false);
/**
* Writes data from the buffer into the large object.
@@ -368,7 +368,7 @@ namespace OpenDBX
* @return Number of bytes written into the large object
* @throws OpenDBX::Exception If the underlying database library returns an error
*/
- ssize_t write( void* buffer, size_t buflen ) throw( std::exception );
+ ssize_t write( void* buffer, size_t buflen ) noexcept(false);
};
@@ -417,7 +417,7 @@ namespace OpenDBX
* @throws std::exception If an error occures
* @return Result instance
*/
- Result( Result_Iface* impl ) throw( std::exception );
+ Result( Result_Iface* impl ) noexcept(false);
public:
@@ -470,7 +470,7 @@ namespace OpenDBX
*
* @throws OpenDBX::Exception If the underlying database library returns an error
*/
- void finish() throw( std::exception );
+ void finish() noexcept(false);
/**
* Fetches one result set from the database server.
@@ -511,7 +511,7 @@ namespace OpenDBX
* @throws OpenDBX::Exception If the underlying database library returns an error
* @see odbxres
*/
- odbxres getResult( struct timeval* timeout = NULL, unsigned long chunk = 0 ) throw( std::exception );
+ odbxres getResult( struct timeval* timeout = NULL, unsigned long chunk = 0 ) noexcept(false);
/**
* Makes data of next row available.
@@ -529,7 +529,7 @@ namespace OpenDBX
* @return Status of the attempt to fetch one more row
* @throws OpenDBX::Exception If the underlying database library returns an error
*/
- odbxrow getRow() throw( std::exception );
+ odbxrow getRow() noexcept(false);
/**
* Returns the number of rows affected by DELETE, INSERT of UPDATE statements.
@@ -545,7 +545,7 @@ namespace OpenDBX
* @return Number of rows touched
* @throws OpenDBX::Exception If the underlying database library returns an error
*/
- uint64_t rowsAffected() throw( std::exception );
+ uint64_t rowsAffected() noexcept(false);
/**
* Returns the number of columns available in this result set.
@@ -559,7 +559,7 @@ namespace OpenDBX
* @return Number of columns
* @throws OpenDBX::Exception If the underlying database library returns an error
*/
- unsigned long columnCount() throw( std::exception );
+ unsigned long columnCount() noexcept(false);
/**
* Maps the column name to the column number required by other methods.
@@ -572,7 +572,7 @@ namespace OpenDBX
* @return Position of column in result set
* @throws OpenDBX::Exception If the underlying database library returns an error
*/
- unsigned long columnPos( const string& name ) throw( std::exception );
+ unsigned long columnPos( const string& name ) noexcept(false);
/**
* Returns the name of the column in the current result set.
@@ -586,7 +586,7 @@ namespace OpenDBX
* @return Column name
* @throws OpenDBX::Exception If the underlying database library returns an error
*/
- const string columnName( unsigned long pos ) throw( std::exception );
+ const string columnName( unsigned long pos ) noexcept(false);
/**
* Returns the type of the column in the current result set.
@@ -643,7 +643,7 @@ namespace OpenDBX
* @throws OpenDBX::Exception If the underlying database library returns an error
* @see odbxtype
*/
- odbxtype columnType( unsigned long pos ) throw( std::exception );
+ odbxtype columnType( unsigned long pos ) noexcept(false);
/**
* Returns the size of the content in the current row at the specified postion.
@@ -656,7 +656,7 @@ namespace OpenDBX
* @return Size of the data in bytes
* @throws OpenDBX::Exception If the underlying database library returns an error
*/
- unsigned long fieldLength( unsigned long pos ) throw( std::exception );
+ unsigned long fieldLength( unsigned long pos ) noexcept(false);
/**
* Returns a pointer to the content in the current row at the specified postion.
@@ -675,7 +675,7 @@ namespace OpenDBX
* @return Pointer to the data
* @throws OpenDBX::Exception If the underlying database library returns an error
*/
- const char* fieldValue( unsigned long pos ) throw( std::exception );
+ const char* fieldValue( unsigned long pos ) noexcept(false);
/**
* Creates a large object instance if supported by the database.
@@ -696,7 +696,7 @@ namespace OpenDBX
* @throws OpenDBX::Exception If the underlying database library returns an error
* @see Lob
*/
- Lob getLob( const char* value ) throw( std::exception );
+ Lob getLob( const char* value ) noexcept(false);
};
@@ -745,7 +745,7 @@ namespace OpenDBX
* @throws std::exception If an error occures
* @return Statement instance
*/
- Stmt( Stmt_Iface* impl ) throw( std::exception );
+ Stmt( Stmt_Iface* impl ) noexcept(false);
public:
@@ -808,7 +808,7 @@ namespace OpenDBX
* @throws OpenDBX::Exception If the underlying database library returns an error
* @see Result
*/
- Result execute() throw( std::exception );
+ Result execute() noexcept(false);
};
@@ -894,7 +894,7 @@ namespace OpenDBX
* @throws OpenDBX::Exception If the underlying database library returns an error
* @see #Conn( const string&, const string&, const string& )
*/
- Conn( const char* backend, const char* host = "", const char* port = "" ) throw( std::exception );
+ Conn( const char* backend, const char* host = "", const char* port = "" ) noexcept(false);
/**
* Creates a connection object using C++ style string parameters.
@@ -936,7 +936,7 @@ namespace OpenDBX
* @throws OpenDBX::Exception If the underlying database library returns an error
* @see #Conn( const char*, const char*, const char* )
*/
- Conn( const string& backend, const string& host = "", const string& port = "" ) throw( std::exception );
+ Conn( const string& backend, const string& host = "", const string& port = "" ) noexcept(false);
/**
* Destroys the connection instance if no other references exist.
@@ -1009,7 +1009,7 @@ namespace OpenDBX
* @throws std::invalid_argument If the object was only initialized by the default constructor
* @throws OpenDBX::Exception If the underlying database library returns an error
*/
- void bind( const char* database, const char* who = "", const char* cred = "", odbxbind method = ODBX_BIND_SIMPLE ) throw( std::exception );
+ void bind( const char* database, const char* who = "", const char* cred = "", odbxbind method = ODBX_BIND_SIMPLE ) noexcept(false);
/**
* Authenticates the user and selects the database using C++ style string
@@ -1045,7 +1045,7 @@ namespace OpenDBX
* @throws std::invalid_argument If the object was only initialized by the default constructor
* @throws OpenDBX::Exception If the underlying database library returns an error
*/
- void bind( const string& database, const string& who = "", const string& cred = "", odbxbind method = ODBX_BIND_SIMPLE ) throw( std::exception );
+ void bind( const string& database, const string& who = "", const string& cred = "", odbxbind method = ODBX_BIND_SIMPLE ) noexcept(false);
/**
* Releases the connection to the database and resets the authentication
@@ -1054,7 +1054,7 @@ namespace OpenDBX
* @throws std::invalid_argument If the object was only initialized by the default constructor
* @throws OpenDBX::Exception If the underlying database library returns an error
*/
- void unbind() throw( std::exception );
+ void unbind() noexcept(false);
/**
* Cleans up the connection object.
@@ -1062,7 +1062,7 @@ namespace OpenDBX
* @throws std::invalid_argument If the object was only initialized by the default constructor
* @throws OpenDBX::Exception If the underlying database library returns an error
*/
- void finish() throw( std::exception );
+ void finish() noexcept(false);
/**
* Tests if the database driver module does understand certain extensions.
@@ -1098,7 +1098,7 @@ namespace OpenDBX
* @throws std::invalid_argument If the object was only initialized by the default constructor
* @throws OpenDBX::Exception If the underlying database library returns an error
*/
- bool getCapability( odbxcap cap ) throw( std::exception );
+ bool getCapability( odbxcap cap ) noexcept(false);
/**
* Gets the value of a certain option provided by the database driver module.
@@ -1155,7 +1155,7 @@ namespace OpenDBX
* @throws std::invalid_argument If the object was only initialized by the default constructor
* @throws OpenDBX::Exception If the underlying database library returns an error
*/
- void getOption( odbxopt option, void* value ) throw( std::exception );
+ void getOption( odbxopt option, void* value ) noexcept(false);
/**
* Sets a certain option provided by the database driver module.
@@ -1210,7 +1210,7 @@ namespace OpenDBX
* @throws std::invalid_argument If the object was only initialized by the default constructor
* @throws OpenDBX::Exception If the underlying database library returns an error
*/
- void setOption( odbxopt option, void* value ) throw( std::exception );
+ void setOption( odbxopt option, void* value ) noexcept(false);
/**
* Escapes potentially dangerous characters in user input using a C style buffer.
@@ -1244,7 +1244,7 @@ namespace OpenDBX
* @throws std::invalid_argument If the object was only initialized by the default constructor
* @throws OpenDBX::Exception If the underlying database library returns an error
*/
- string& escape( const char* from, unsigned long fromlen, string& to ) throw( std::exception );
+ string& escape( const char* from, unsigned long fromlen, string& to ) noexcept(false);
/**
* Escapes potentially dangerous characters in user input using a C++
@@ -1278,7 +1278,7 @@ namespace OpenDBX
* @throws std::invalid_argument If the object was only initialized by the default constructor
* @throws OpenDBX::Exception If the underlying database library returns an error
*/
- string& escape( const string& from, string& to ) throw( std::exception );
+ string& escape( const string& from, string& to ) noexcept(false);
/**
* Creates a statement object from a SQL text string using a C style buffer.
@@ -1327,7 +1327,7 @@ namespace OpenDBX
* @throws OpenDBX::Exception If the underlying database library returns an error
* @see Stmt
*/
- Stmt create( const char* sql, unsigned long size = 0, Stmt::Type type = Stmt::Simple ) throw( std::exception );
+ Stmt create( const char* sql, unsigned long size = 0, Stmt::Type type = Stmt::Simple ) noexcept(false);
/**
* Creates a statement object from a SQL text string using a C++ string.
@@ -1368,7 +1368,7 @@ namespace OpenDBX
* @throws OpenDBX::Exception If the underlying database library returns an error
* @see Stmt
*/
- Stmt create( const string& sql, Stmt::Type type = Stmt::Simple ) throw( std::exception );
+ Stmt create( const string& sql, Stmt::Type type = Stmt::Simple ) noexcept(false);
};

View File

@ -0,0 +1,20 @@
--- cellrenderertextish.c.orig 2016-07-05 18:32:44 UTC
+++ cellrenderertextish.c
@@ -154,7 +154,7 @@ static gchar** _vala_array_dup1 (gchar** self, int len
CellRendererTextish* cell_renderer_textish_new_with_items (gchar** items, int items_length1);
CellRendererTextish* cell_renderer_textish_construct_with_items (GType object_type, gchar** items, int items_length1);
static gchar** _vala_array_dup1 (gchar** self, int length);
-static GtkCellEditable* cell_renderer_textish_real_start_editing (GtkCellRenderer* base, GdkEvent* event, GtkWidget* widget, const gchar* path, GdkRectangle* background_area, GdkRectangle* cell_area, GtkCellRendererState flags);
+static GtkCellEditable* cell_renderer_textish_real_start_editing (GtkCellRenderer* base, GdkEvent* event, GtkWidget* widget, const gchar* path, const GdkRectangle* background_area, const GdkRectangle* cell_area, GtkCellRendererState flags);
CellEditableAccel* cell_editable_accel_new (CellRendererTextish* parent, const gchar* path, GtkWidget* widget);
CellEditableAccel* cell_editable_accel_construct (GType object_type, CellRendererTextish* parent, const gchar* path, GtkWidget* widget);
GType cell_editable_accel_get_type (void) G_GNUC_CONST;
@@ -282,7 +282,7 @@ static gpointer _g_object_ref0 (gpointer self) {
}
-static GtkCellEditable* cell_renderer_textish_real_start_editing (GtkCellRenderer* base, GdkEvent* event, GtkWidget* widget, const gchar* path, GdkRectangle* background_area, GdkRectangle* cell_area, GtkCellRendererState flags) {
+static GtkCellEditable* cell_renderer_textish_real_start_editing (GtkCellRenderer* base, GdkEvent* event, GtkWidget* widget, const gchar* path, const GdkRectangle* background_area, const GdkRectangle* cell_area, GtkCellRendererState flags) {
CellRendererTextish * self;
GtkCellEditable* result = NULL;
gboolean _tmp0_ = FALSE;

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1684255519
SHA256 (KDE/plasma/5.27.5/milou-5.27.5.tar.xz) = 1b1b0a3e672f06eb81f889b0c48726af4b3702b103eb1e680c3972ef5c8d0298
SIZE (KDE/plasma/5.27.5/milou-5.27.5.tar.xz) = 58376
TIMESTAMP = 1688022844
SHA256 (KDE/plasma/5.27.6/milou-5.27.6.tar.xz) = feaea739bc100f313d098a13614b16c01bdafc7dbe0e9ebed5e7a6d8cfd381c6
SIZE (KDE/plasma/5.27.6/milou-5.27.6.tar.xz) = 58500

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1684255578
SHA256 (KDE/plasma/5.27.5/sddm-kcm-5.27.5.tar.xz) = 5605f2dffe33b731b08ec51b7ef4cea8ec6fb796497ae46242fe8f40e8aa199a
SIZE (KDE/plasma/5.27.5/sddm-kcm-5.27.5.tar.xz) = 91868
TIMESTAMP = 1688022846
SHA256 (KDE/plasma/5.27.6/sddm-kcm-5.27.6.tar.xz) = dc70ab178f6954a6aaf7862440a64742c0c600c48f454462e97e09a1ddd6b5e2
SIZE (KDE/plasma/5.27.6/sddm-kcm-5.27.6.tar.xz) = 91772

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1684255579
SHA256 (KDE/plasma/5.27.5/xdg-desktop-portal-kde-5.27.5.tar.xz) = 7cfa3f24cff9b18baeef245e122f969092a89c41d872ea5a8df628061d8f1aab
SIZE (KDE/plasma/5.27.5/xdg-desktop-portal-kde-5.27.5.tar.xz) = 140720
TIMESTAMP = 1688022847
SHA256 (KDE/plasma/5.27.6/xdg-desktop-portal-kde-5.27.6.tar.xz) = aed5e49660a47c86f26df67bf80ac3e55d2ce9bf2a3e676bfaa905516810f773
SIZE (KDE/plasma/5.27.6/xdg-desktop-portal-kde-5.27.6.tar.xz) = 141064

View File

@ -460,6 +460,7 @@
SUBDIR += cpputest
SUBDIR += cproto
SUBDIR += cpu_features
SUBDIR += cpu_rec_rs
SUBDIR += cquery
SUBDIR += cram
SUBDIR += crc32c

View File

@ -1,6 +1,6 @@
PORTNAME= bacon
DISTVERSIONPREFIX= v
DISTVERSION= 2.9.0
DISTVERSION= 2.10.0
CATEGORIES= devel
MAINTAINER= yuri@FreeBSD.org

View File

@ -1,4 +1,4 @@
TIMESTAMP = 1687242253
TIMESTAMP = 1687932688
SHA256 (rust/crates/adler-1.0.2.crate) = f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe
SIZE (rust/crates/adler-1.0.2.crate) = 12778
SHA256 (rust/crates/ahash-0.8.2.crate) = bf6ccdb167abbf410dcb915cabd428929d7f6a04980b54a11f26a39f1c7f7107
@ -479,5 +479,5 @@ SHA256 (rust/crates/windows_x86_64_msvc-0.48.0.crate) = 1a515f5799fe4961cb532f98
SIZE (rust/crates/windows_x86_64_msvc-0.48.0.crate) = 671422
SHA256 (rust/crates/winnow-0.4.7.crate) = ca0ace3845f0d96209f0375e6d367e3eb87eb65d27d445bdc9f1843a26f39448
SIZE (rust/crates/winnow-0.4.7.crate) = 142640
SHA256 (Canop-bacon-v2.9.0_GH0.tar.gz) = f45236612dbe5519b9e191bc401091a573f84a2b4fcd1971578a8d0cb2b9ee92
SIZE (Canop-bacon-v2.9.0_GH0.tar.gz) = 682921
SHA256 (Canop-bacon-v2.10.0_GH0.tar.gz) = dfd79baf696aff8a052c0e77801147794f8f35847958dff98fc79cb92d5ade83
SIZE (Canop-bacon-v2.10.0_GH0.tar.gz) = 683292

View File

@ -1,6 +1,6 @@
PORTNAME= binaryen
DISTVERSIONPREFIX= version_
DISTVERSION= 113
DISTVERSION= 114
CATEGORIES= devel
MAINTAINER= eduardo@FreeBSD.org
@ -22,4 +22,7 @@ OPTIONS_SUB= yes
TEST_CMAKE_BOOL= BUILD_TESTS
TEST_GH_TUPLE= google:googletest:e2239ee:googletest/third_party/googletest
do-test-TEST-on:
binaryen-unittests
.include <bsd.port.mk>

View File

@ -1,5 +1,5 @@
TIMESTAMP = 1684308011
SHA256 (WebAssembly-binaryen-version_113_GH0.tar.gz) = d2c32e85587ae95001a78a8765e12556be0fa8965e2f1fa6fc622aa2e0c4a33d
SIZE (WebAssembly-binaryen-version_113_GH0.tar.gz) = 4702040
TIMESTAMP = 1688025194
SHA256 (WebAssembly-binaryen-version_114_GH0.tar.gz) = 54f794a843d96cc841bf8045a9dfeaad8161341f0b50ac5b197518c2d39482ce
SIZE (WebAssembly-binaryen-version_114_GH0.tar.gz) = 4728373
SHA256 (google-googletest-e2239ee_GH0.tar.gz) = 47a8ca2e1be737588628cbc82726a7c4fed060ae0098709003845e3ef298da2f
SIZE (google-googletest-e2239ee_GH0.tar.gz) = 886254

27
devel/cpu_rec_rs/Makefile Normal file
View File

@ -0,0 +1,27 @@
PORTNAME= cpu_rec_rs
DISTVERSION= 1.0.0
CATEGORIES= devel
MAINTAINER= se@FreeBSD.org
COMMENT= Determine which CPU architecture is used in a binary file
WWW= https://github.com/trou/cpu_rec_rs/
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENCE
USES= cargo
USE_GITHUB= yes
GH_ACCOUNT= trou
GH_TAGNAME= 2b0cf54
OPTIONS_DEFINE= DOCS
pre-build:
${REINPLACE_CMD} 's!%%CORPUS_DIR%%!${DATADIR}!' ${WRKSRC}/src/main.rs
pre-install:
${MKDIR} ${STAGEDIR}${DATADIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/cpu_rec_corpus/*.corpus ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>

View File

@ -0,0 +1,89 @@
===> License APACHE20 accepted by the user
===> cpu_rec_rs-1.0.0 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by cpu_rec_rs-1.0.0 for building
===> Extracting for cpu_rec_rs-1.0.0
=> SHA256 Checksum OK for trou-cpu_rec_rs-1.0.0-2b0cf54_GH0.tar.gz.
===> Moving crates to /usr/work/usr/git/ports/sysutils/cpu_rec_rs/work/cpu_rec_rs-2b0cf54/cargo-crates
===> /usr/work/usr/git/ports/sysutils/cpu_rec_rs/work/cpu_rec_rs-2b0cf54/Cargo.lock not found. Trying to generate it...
CARGO_CRATES= anstream-0.3.2 \
anstyle-1.0.1 \
anstyle-parse-0.2.1 \
anstyle-query-1.0.0 \
anstyle-wincon-1.0.1 \
anyhow-1.0.71 \
assert_approx_eq-1.1.0 \
atty-0.2.14 \
autocfg-1.1.0 \
bitflags-1.3.2 \
cc-1.0.79 \
cfg-if-1.0.0 \
clap-4.3.8 \
clap_builder-4.3.8 \
clap_lex-0.5.0 \
colorchoice-1.0.0 \
colored-2.0.0 \
crossterm-0.20.0 \
crossterm_winapi-0.8.0 \
errno-0.3.1 \
errno-dragonfly-0.1.2 \
getrandom-0.2.10 \
glob-0.3.1 \
hermit-abi-0.1.19 \
hermit-abi-0.3.1 \
instant-0.1.12 \
io-lifetimes-1.0.11 \
is-terminal-0.4.7 \
itoa-1.0.6 \
lazy_static-1.4.0 \
libc-0.2.147 \
linux-raw-sys-0.3.8 \
lock_api-0.4.10 \
log-0.4.19 \
mio-0.7.14 \
miow-0.3.7 \
ntapi-0.3.7 \
num_threads-0.1.6 \
parking_lot-0.11.2 \
parking_lot_core-0.8.6 \
ppv-lite86-0.2.17 \
rand-0.8.5 \
rand_chacha-0.3.1 \
rand_core-0.6.4 \
redox_syscall-0.2.16 \
rustix-0.37.20 \
scopeguard-1.1.0 \
serde-1.0.164 \
signal-hook-0.3.15 \
signal-hook-mio-0.2.3 \
signal-hook-registry-1.4.1 \
simple_logger-4.2.0 \
smallvec-1.10.0 \
strsim-0.10.0 \
tablestream-0.1.3 \
time-0.3.22 \
time-core-0.1.1 \
time-macros-0.2.9 \
unicode-truncate-0.2.0 \
unicode-width-0.1.10 \
utf8parse-0.2.1 \
wasi-0.11.0+wasi-snapshot-preview1 \
winapi-0.3.9 \
winapi-i686-pc-windows-gnu-0.4.0 \
winapi-x86_64-pc-windows-gnu-0.4.0 \
windows-sys-0.42.0 \
windows-sys-0.48.0 \
windows-targets-0.48.0 \
windows_aarch64_gnullvm-0.42.2 \
windows_aarch64_gnullvm-0.48.0 \
windows_aarch64_msvc-0.42.2 \
windows_aarch64_msvc-0.48.0 \
windows_i686_gnu-0.42.2 \
windows_i686_gnu-0.48.0 \
windows_i686_msvc-0.42.2 \
windows_i686_msvc-0.48.0 \
windows_x86_64_gnu-0.42.2 \
windows_x86_64_gnu-0.48.0 \
windows_x86_64_gnullvm-0.42.2 \
windows_x86_64_gnullvm-0.48.0 \
windows_x86_64_msvc-0.42.2 \
windows_x86_64_msvc-0.48.0

167
devel/cpu_rec_rs/distinfo Normal file
View File

@ -0,0 +1,167 @@
TIMESTAMP = 1687951246
SHA256 (rust/crates/anstream-0.3.2.crate) = 0ca84f3628370c59db74ee214b3263d58f9aadd9b4fe7e711fd87dc452b7f163
SIZE (rust/crates/anstream-0.3.2.crate) = 19504
SHA256 (rust/crates/anstyle-1.0.1.crate) = 3a30da5c5f2d5e72842e00bcb57657162cdabef0931f40e2deb9b4140440cecd
SIZE (rust/crates/anstyle-1.0.1.crate) = 13977
SHA256 (rust/crates/anstyle-parse-0.2.1.crate) = 938874ff5980b03a87c5524b3ae5b59cf99b1d6bc836848df7bc5ada9643c333
SIZE (rust/crates/anstyle-parse-0.2.1.crate) = 24802
SHA256 (rust/crates/anstyle-query-1.0.0.crate) = 5ca11d4be1bab0c8bc8734a9aa7bf4ee8316d462a08c6ac5052f888fef5b494b
SIZE (rust/crates/anstyle-query-1.0.0.crate) = 8620
SHA256 (rust/crates/anstyle-wincon-1.0.1.crate) = 180abfa45703aebe0093f79badacc01b8fd4ea2e35118747e5811127f926e188
SIZE (rust/crates/anstyle-wincon-1.0.1.crate) = 11718
SHA256 (rust/crates/anyhow-1.0.71.crate) = 9c7d0618f0e0b7e8ff11427422b64564d5fb0be1940354bfe2e0529b18a9d9b8
SIZE (rust/crates/anyhow-1.0.71.crate) = 43808
SHA256 (rust/crates/assert_approx_eq-1.1.0.crate) = 3c07dab4369547dbe5114677b33fbbf724971019f3818172d59a97a61c774ffd
SIZE (rust/crates/assert_approx_eq-1.1.0.crate) = 7512
SHA256 (rust/crates/atty-0.2.14.crate) = d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8
SIZE (rust/crates/atty-0.2.14.crate) = 5470
SHA256 (rust/crates/autocfg-1.1.0.crate) = d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa
SIZE (rust/crates/autocfg-1.1.0.crate) = 13272
SHA256 (rust/crates/bitflags-1.3.2.crate) = bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a
SIZE (rust/crates/bitflags-1.3.2.crate) = 23021
SHA256 (rust/crates/cc-1.0.79.crate) = 50d30906286121d95be3d479533b458f87493b30a4b5f79a607db8f5d11aa91f
SIZE (rust/crates/cc-1.0.79.crate) = 62624
SHA256 (rust/crates/cfg-if-1.0.0.crate) = baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd
SIZE (rust/crates/cfg-if-1.0.0.crate) = 7934
SHA256 (rust/crates/clap-4.3.8.crate) = d9394150f5b4273a1763355bd1c2ec54cc5a2593f790587bcd6b2c947cfa9211
SIZE (rust/crates/clap-4.3.8.crate) = 54806
SHA256 (rust/crates/clap_builder-4.3.8.crate) = 9a78fbdd3cc2914ddf37ba444114bc7765bbdcb55ec9cbe6fa054f0137400717
SIZE (rust/crates/clap_builder-4.3.8.crate) = 162239
SHA256 (rust/crates/clap_lex-0.5.0.crate) = 2da6da31387c7e4ef160ffab6d5e7f00c42626fe39aea70a7b0f1773f7dd6c1b
SIZE (rust/crates/clap_lex-0.5.0.crate) = 11792
SHA256 (rust/crates/colorchoice-1.0.0.crate) = acbf1af155f9b9ef647e42cdc158db4b64a1b61f743629225fde6f3e0be2a7c7
SIZE (rust/crates/colorchoice-1.0.0.crate) = 6857
SHA256 (rust/crates/colored-2.0.0.crate) = b3616f750b84d8f0de8a58bda93e08e2a81ad3f523089b05f1dffecab48c6cbd
SIZE (rust/crates/colored-2.0.0.crate) = 21619
SHA256 (rust/crates/crossterm-0.20.0.crate) = c0ebde6a9dd5e331cd6c6f48253254d117642c31653baa475e394657c59c1f7d
SIZE (rust/crates/crossterm-0.20.0.crate) = 103025
SHA256 (rust/crates/crossterm_winapi-0.8.0.crate) = 3a6966607622438301997d3dac0d2f6e9a90c68bb6bc1785ea98456ab93c0507
SIZE (rust/crates/crossterm_winapi-0.8.0.crate) = 15531
SHA256 (rust/crates/errno-0.3.1.crate) = 4bcfec3a70f97c962c307b2d2c56e358cf1d00b558d74262b5f929ee8cc7e73a
SIZE (rust/crates/errno-0.3.1.crate) = 10348
SHA256 (rust/crates/errno-dragonfly-0.1.2.crate) = aa68f1b12764fab894d2755d2518754e71b4fd80ecfb822714a1206c2aab39bf
SIZE (rust/crates/errno-dragonfly-0.1.2.crate) = 1810
SHA256 (rust/crates/getrandom-0.2.10.crate) = be4136b2a15dd319360be1c07d9933517ccf0be8f16bf62a3bee4f0d618df427
SIZE (rust/crates/getrandom-0.2.10.crate) = 34955
SHA256 (rust/crates/glob-0.3.1.crate) = d2fabcfbdc87f4758337ca535fb41a6d701b65693ce38287d856d1674551ec9b
SIZE (rust/crates/glob-0.3.1.crate) = 18880
SHA256 (rust/crates/hermit-abi-0.1.19.crate) = 62b467343b94ba476dcb2500d242dadbb39557df889310ac77c5d99100aaac33
SIZE (rust/crates/hermit-abi-0.1.19.crate) = 9979
SHA256 (rust/crates/hermit-abi-0.3.1.crate) = fed44880c466736ef9a5c5b5facefb5ed0785676d0c02d612db14e54f0d84286
SIZE (rust/crates/hermit-abi-0.3.1.crate) = 13793
SHA256 (rust/crates/instant-0.1.12.crate) = 7a5bbe824c507c5da5956355e86a746d82e0e1464f65d862cc5e71da70e94b2c
SIZE (rust/crates/instant-0.1.12.crate) = 6128
SHA256 (rust/crates/io-lifetimes-1.0.11.crate) = eae7b9aee968036d54dce06cebaefd919e4472e753296daccd6d344e3e2df0c2
SIZE (rust/crates/io-lifetimes-1.0.11.crate) = 37346
SHA256 (rust/crates/is-terminal-0.4.7.crate) = adcf93614601c8129ddf72e2d5633df827ba6551541c6d8c59520a371475be1f
SIZE (rust/crates/is-terminal-0.4.7.crate) = 8356
SHA256 (rust/crates/itoa-1.0.6.crate) = 453ad9f582a441959e5f0d088b02ce04cfe8d51a8eaf077f12ac6d3e94164ca6
SIZE (rust/crates/itoa-1.0.6.crate) = 10410
SHA256 (rust/crates/lazy_static-1.4.0.crate) = e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646
SIZE (rust/crates/lazy_static-1.4.0.crate) = 10443
SHA256 (rust/crates/libc-0.2.147.crate) = b4668fb0ea861c1df094127ac5f1da3409a82116a4ba74fca2e58ef927159bb3
SIZE (rust/crates/libc-0.2.147.crate) = 686772
SHA256 (rust/crates/linux-raw-sys-0.3.8.crate) = ef53942eb7bf7ff43a617b3e2c1c4a5ecf5944a7c1bc12d7ee39bbb15e5c1519
SIZE (rust/crates/linux-raw-sys-0.3.8.crate) = 1013776
SHA256 (rust/crates/lock_api-0.4.10.crate) = c1cc9717a20b1bb222f333e6a92fd32f7d8a18ddc5a3191a11af45dcbf4dcd16
SIZE (rust/crates/lock_api-0.4.10.crate) = 26713
SHA256 (rust/crates/log-0.4.19.crate) = b06a4cde4c0f271a446782e3eff8de789548ce57dbc8eca9292c27f4a42004b4
SIZE (rust/crates/log-0.4.19.crate) = 38073
SHA256 (rust/crates/mio-0.7.14.crate) = 8067b404fe97c70829f082dec8bcf4f71225d7eaea1d8645349cb76fa06205cc
SIZE (rust/crates/mio-0.7.14.crate) = 87429
SHA256 (rust/crates/miow-0.3.7.crate) = b9f1c5b025cda876f66ef43a113f91ebc9f4ccef34843000e0adf6ebbab84e21
SIZE (rust/crates/miow-0.3.7.crate) = 24563
SHA256 (rust/crates/ntapi-0.3.7.crate) = c28774a7fd2fbb4f0babd8237ce554b73af68021b5f695a3cebd6c59bac0980f
SIZE (rust/crates/ntapi-0.3.7.crate) = 126994
SHA256 (rust/crates/num_threads-0.1.6.crate) = 2819ce041d2ee131036f4fc9d6ae7ae125a3a40e97ba64d04fe799ad9dabbb44
SIZE (rust/crates/num_threads-0.1.6.crate) = 7334
SHA256 (rust/crates/parking_lot-0.11.2.crate) = 7d17b78036a60663b797adeaee46f5c9dfebb86948d1255007a1d6be0271ff99
SIZE (rust/crates/parking_lot-0.11.2.crate) = 39869
SHA256 (rust/crates/parking_lot_core-0.8.6.crate) = 60a2cfe6f0ad2bfc16aefa463b497d5c7a5ecd44a23efa72aa342d90177356dc
SIZE (rust/crates/parking_lot_core-0.8.6.crate) = 32567
SHA256 (rust/crates/ppv-lite86-0.2.17.crate) = 5b40af805b3121feab8a3c29f04d8ad262fa8e0561883e7653e024ae4479e6de
SIZE (rust/crates/ppv-lite86-0.2.17.crate) = 22242
SHA256 (rust/crates/rand-0.8.5.crate) = 34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404
SIZE (rust/crates/rand-0.8.5.crate) = 87113
SHA256 (rust/crates/rand_chacha-0.3.1.crate) = e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88
SIZE (rust/crates/rand_chacha-0.3.1.crate) = 15251
SHA256 (rust/crates/rand_core-0.6.4.crate) = ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c
SIZE (rust/crates/rand_core-0.6.4.crate) = 22666
SHA256 (rust/crates/redox_syscall-0.2.16.crate) = fb5a58c1855b4b6819d59012155603f0b22ad30cad752600aadfcb695265519a
SIZE (rust/crates/redox_syscall-0.2.16.crate) = 24012
SHA256 (rust/crates/rustix-0.37.20.crate) = b96e891d04aa506a6d1f318d2771bcb1c7dfda84e126660ace067c9b474bb2c0
SIZE (rust/crates/rustix-0.37.20.crate) = 327665
SHA256 (rust/crates/scopeguard-1.1.0.crate) = d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd
SIZE (rust/crates/scopeguard-1.1.0.crate) = 11470
SHA256 (rust/crates/serde-1.0.164.crate) = 9e8c8cf938e98f769bc164923b06dce91cea1751522f46f8466461af04c9027d
SIZE (rust/crates/serde-1.0.164.crate) = 77057
SHA256 (rust/crates/signal-hook-0.3.15.crate) = 732768f1176d21d09e076c23a93123d40bba92d50c4058da34d45c8de8e682b9
SIZE (rust/crates/signal-hook-0.3.15.crate) = 50138
SHA256 (rust/crates/signal-hook-mio-0.2.3.crate) = 29ad2e15f37ec9a6cc544097b78a1ec90001e9f71b81338ca39f430adaca99af
SIZE (rust/crates/signal-hook-mio-0.2.3.crate) = 9064
SHA256 (rust/crates/signal-hook-registry-1.4.1.crate) = d8229b473baa5980ac72ef434c4415e70c4b5e71b423043adb4ba059f89c99a1
SIZE (rust/crates/signal-hook-registry-1.4.1.crate) = 17987
SHA256 (rust/crates/simple_logger-4.2.0.crate) = 2230cd5c29b815c9b699fb610b49a5ed65588f3509d9f0108be3a885da629333
SIZE (rust/crates/simple_logger-4.2.0.crate) = 10680
SHA256 (rust/crates/smallvec-1.10.0.crate) = a507befe795404456341dfab10cef66ead4c041f62b8b11bbb92bffe5d0953e0
SIZE (rust/crates/smallvec-1.10.0.crate) = 31564
SHA256 (rust/crates/strsim-0.10.0.crate) = 73473c0e59e6d5812c5dfe2a064a6444949f089e20eec9a2e5506596494e4623
SIZE (rust/crates/strsim-0.10.0.crate) = 11355
SHA256 (rust/crates/tablestream-0.1.3.crate) = fea0bec6adf9f8917160e9db43da4ba1ec58b640dda5edab9a7ca74d22641b65
SIZE (rust/crates/tablestream-0.1.3.crate) = 13281
SHA256 (rust/crates/time-0.3.22.crate) = ea9e1b3cf1243ae005d9e74085d4d542f3125458f3a81af210d901dcd7411efd
SIZE (rust/crates/time-0.3.22.crate) = 113792
SHA256 (rust/crates/time-core-0.1.1.crate) = 7300fbefb4dadc1af235a9cef3737cea692a9d97e1b9cbcd4ebdae6f8868e6fb
SIZE (rust/crates/time-core-0.1.1.crate) = 7197
SHA256 (rust/crates/time-macros-0.2.9.crate) = 372950940a5f07bf38dbe211d7283c9e6d7327df53794992d293e534c733d09b
SIZE (rust/crates/time-macros-0.2.9.crate) = 23684
SHA256 (rust/crates/unicode-truncate-0.2.0.crate) = a04be5ca5f7a4a7270ffea82bc41c59b87c611ed04f20e77c338e8d3c2348e42
SIZE (rust/crates/unicode-truncate-0.2.0.crate) = 9835
SHA256 (rust/crates/unicode-width-0.1.10.crate) = c0edd1e5b14653f783770bce4a4dabb4a5108a5370a5f5d8cfe8710c361f6c8b
SIZE (rust/crates/unicode-width-0.1.10.crate) = 18968
SHA256 (rust/crates/utf8parse-0.2.1.crate) = 711b9620af191e0cdc7468a8d14e709c3dcdb115b36f838e601583af800a370a
SIZE (rust/crates/utf8parse-0.2.1.crate) = 13435
SHA256 (rust/crates/wasi-0.11.0+wasi-snapshot-preview1.crate) = 9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423
SIZE (rust/crates/wasi-0.11.0+wasi-snapshot-preview1.crate) = 28131
SHA256 (rust/crates/winapi-0.3.9.crate) = 5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419
SIZE (rust/crates/winapi-0.3.9.crate) = 1200382
SHA256 (rust/crates/winapi-i686-pc-windows-gnu-0.4.0.crate) = ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6
SIZE (rust/crates/winapi-i686-pc-windows-gnu-0.4.0.crate) = 2918815
SHA256 (rust/crates/winapi-x86_64-pc-windows-gnu-0.4.0.crate) = 712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f
SIZE (rust/crates/winapi-x86_64-pc-windows-gnu-0.4.0.crate) = 2947998
SHA256 (rust/crates/windows-sys-0.42.0.crate) = 5a3e1820f08b8513f676f7ab6c1f99ff312fb97b553d30ff4dd86f9f15728aa7
SIZE (rust/crates/windows-sys-0.42.0.crate) = 3006791
SHA256 (rust/crates/windows-sys-0.48.0.crate) = 677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9
SIZE (rust/crates/windows-sys-0.48.0.crate) = 2628884
SHA256 (rust/crates/windows-targets-0.48.0.crate) = 7b1eb6f0cd7c80c79759c929114ef071b87354ce476d9d94271031c0497adfd5
SIZE (rust/crates/windows-targets-0.48.0.crate) = 7466
SHA256 (rust/crates/windows_aarch64_gnullvm-0.42.2.crate) = 597a5118570b68bc08d8d59125332c54f1ba9d9adeedeef5b99b02ba2b0698f8
SIZE (rust/crates/windows_aarch64_gnullvm-0.42.2.crate) = 364071
SHA256 (rust/crates/windows_aarch64_gnullvm-0.48.0.crate) = 91ae572e1b79dba883e0d315474df7305d12f569b400fcf90581b06062f7e1bc
SIZE (rust/crates/windows_aarch64_gnullvm-0.48.0.crate) = 366543
SHA256 (rust/crates/windows_aarch64_msvc-0.42.2.crate) = e08e8864a60f06ef0d0ff4ba04124db8b0fb3be5776a5cd47641e942e58c4d43
SIZE (rust/crates/windows_aarch64_msvc-0.42.2.crate) = 666981
SHA256 (rust/crates/windows_aarch64_msvc-0.48.0.crate) = b2ef27e0d7bdfcfc7b868b317c1d32c641a6fe4629c171b8928c7b08d98d7cf3
SIZE (rust/crates/windows_aarch64_msvc-0.48.0.crate) = 671479
SHA256 (rust/crates/windows_i686_gnu-0.42.2.crate) = c61d927d8da41da96a81f029489353e68739737d3beca43145c8afec9a31a84f
SIZE (rust/crates/windows_i686_gnu-0.42.2.crate) = 736236
SHA256 (rust/crates/windows_i686_gnu-0.48.0.crate) = 622a1962a7db830d6fd0a69683c80a18fda201879f0f447f065a3b7467daa241
SIZE (rust/crates/windows_i686_gnu-0.48.0.crate) = 741490
SHA256 (rust/crates/windows_i686_msvc-0.42.2.crate) = 44d840b6ec649f480a41c8d80f9c65108b92d89345dd94027bfe06ac444d1060
SIZE (rust/crates/windows_i686_msvc-0.42.2.crate) = 724951
SHA256 (rust/crates/windows_i686_msvc-0.48.0.crate) = 4542c6e364ce21bf45d69fdd2a8e455fa38d316158cfd43b3ac1c5b1b19f8e00
SIZE (rust/crates/windows_i686_msvc-0.48.0.crate) = 730056
SHA256 (rust/crates/windows_x86_64_gnu-0.42.2.crate) = 8de912b8b8feb55c064867cf047dda097f92d51efad5b491dfb98f6bbb70cb36
SIZE (rust/crates/windows_x86_64_gnu-0.42.2.crate) = 699373
SHA256 (rust/crates/windows_x86_64_gnu-0.48.0.crate) = ca2b8a661f7628cbd23440e50b05d705db3686f894fc9580820623656af974b1
SIZE (rust/crates/windows_x86_64_gnu-0.48.0.crate) = 703595
SHA256 (rust/crates/windows_x86_64_gnullvm-0.42.2.crate) = 26d41b46a36d453748aedef1486d5c7a85db22e56aff34643984ea85514e94a3
SIZE (rust/crates/windows_x86_64_gnullvm-0.42.2.crate) = 364068
SHA256 (rust/crates/windows_x86_64_gnullvm-0.48.0.crate) = 7896dbc1f41e08872e9d5e8f8baa8fdd2677f29468c4e156210174edc7f7b953
SIZE (rust/crates/windows_x86_64_gnullvm-0.48.0.crate) = 366536
SHA256 (rust/crates/windows_x86_64_msvc-0.42.2.crate) = 9aec5da331524158c6d1a4ac0ab1541149c0b9505fde06423b02f5ef0106b9f0
SIZE (rust/crates/windows_x86_64_msvc-0.42.2.crate) = 666936
SHA256 (rust/crates/windows_x86_64_msvc-0.48.0.crate) = 1a515f5799fe4961cb532f983ce2b23082366b898e52ffbce459c86f67c8378a
SIZE (rust/crates/windows_x86_64_msvc-0.48.0.crate) = 671422
SHA256 (trou-cpu_rec_rs-1.0.0-2b0cf54_GH0.tar.gz) = a897ca3f53986577a3700654e5191bb09219e2439b3068f6ddf802f1f53eab15
SIZE (trou-cpu_rec_rs-1.0.0-2b0cf54_GH0.tar.gz) = 10789793

View File

@ -0,0 +1,11 @@
--- src/main.rs.orig 2023-06-22 09:40:27 UTC
+++ src/main.rs
@@ -198,7 +198,7 @@ fn main() -> Result<()> {
.propagate_version(true)
.author("Raphaël Rigo <devel@syscall.eu>")
.about("Identifies CPU architectures in binaries")
- .arg(arg!(--corpus <corpus_dir>).default_value("cpu_rec_corpus"))
+ .arg(arg!(--corpus <corpus_dir>).default_value("%%CORPUS_DIR%%"))
.arg(arg!(-d - -debug))
.arg(arg!(-v - -verbose))
.arg(

View File

@ -0,0 +1,12 @@
cpu_rec_rs is a Rust reimplementation of the original cpu_rec.
Why reimplement it?
- Performance
- Code simplification
- Rust practice
The original cpu_rec contains a lot of code necessary for experimenting
and updating the corpus.
If you want to play with various settings for prediction, please use
cpu_rec (github.com/airbus-seclab/cpu_rec).

View File

@ -0,0 +1,87 @@
bin/cpu_rec_rs
%%DATADIR%%/#6502#cc65.corpus
%%DATADIR%%/6502.corpus
%%DATADIR%%/68HC08.corpus
%%DATADIR%%/68HC11.corpus
%%DATADIR%%/8051.corpus
%%DATADIR%%/ARC32eb.corpus
%%DATADIR%%/ARC32el.corpus
%%DATADIR%%/ARM64.corpus
%%DATADIR%%/ARMeb.corpus
%%DATADIR%%/ARMel.corpus
%%DATADIR%%/ARMhf.corpus
%%DATADIR%%/ARcompact.corpus
%%DATADIR%%/AVR.corpus
%%DATADIR%%/Alpha.corpus
%%DATADIR%%/AxisCris.corpus
%%DATADIR%%/Blackfin.corpus
%%DATADIR%%/CLIPPER.corpus
%%DATADIR%%/CUDA.corpus
%%DATADIR%%/Cell-SPU.corpus
%%DATADIR%%/CompactRISC.corpus
%%DATADIR%%/Cray.corpus
%%DATADIR%%/Epiphany.corpus
%%DATADIR%%/FR-V.corpus
%%DATADIR%%/FR30.corpus
%%DATADIR%%/FT32.corpus
%%DATADIR%%/H8-300.corpus
%%DATADIR%%/H8S.corpus
%%DATADIR%%/HP-Focus.corpus
%%DATADIR%%/HP-PA.corpus
%%DATADIR%%/IA-64.corpus
%%DATADIR%%/IQ2000.corpus
%%DATADIR%%/M32C.corpus
%%DATADIR%%/M32R.corpus
%%DATADIR%%/M68k.corpus
%%DATADIR%%/M88k.corpus
%%DATADIR%%/MCore.corpus
%%DATADIR%%/MIPS16.corpus
%%DATADIR%%/MIPSeb.corpus
%%DATADIR%%/MIPSel.corpus
%%DATADIR%%/MMIX.corpus
%%DATADIR%%/MN10300.corpus
%%DATADIR%%/MSP430.corpus
%%DATADIR%%/Mico32.corpus
%%DATADIR%%/MicroBlaze.corpus
%%DATADIR%%/Moxie.corpus
%%DATADIR%%/NDS32.corpus
%%DATADIR%%/NIOS-II.corpus
%%DATADIR%%/OCaml.corpus
%%DATADIR%%/PDP-11.corpus
%%DATADIR%%/PIC10.corpus
%%DATADIR%%/PIC16.corpus
%%DATADIR%%/PIC18.corpus
%%DATADIR%%/PIC24.corpus
%%DATADIR%%/PPCeb.corpus
%%DATADIR%%/PPCel.corpus
%%DATADIR%%/RISC-V.corpus
%%DATADIR%%/RL78.corpus
%%DATADIR%%/ROMP.corpus
%%DATADIR%%/RX.corpus
%%DATADIR%%/S-390.corpus
%%DATADIR%%/SPARC.corpus
%%DATADIR%%/STM8.corpus
%%DATADIR%%/Stormy16.corpus
%%DATADIR%%/SuperH.corpus
%%DATADIR%%/TILEPro.corpus
%%DATADIR%%/TLCS-90.corpus
%%DATADIR%%/TMS320C2x.corpus
%%DATADIR%%/TMS320C6x.corpus
%%DATADIR%%/TriMedia.corpus
%%DATADIR%%/V850.corpus
%%DATADIR%%/VAX.corpus
%%DATADIR%%/Visium.corpus
%%DATADIR%%/WASM.corpus
%%DATADIR%%/WE32000.corpus
%%DATADIR%%/X86-64.corpus
%%DATADIR%%/X86.corpus
%%DATADIR%%/Xtensa.corpus
%%DATADIR%%/Z80.corpus
%%DATADIR%%/_mask1.corpus
%%DATADIR%%/_ones.corpus
%%DATADIR%%/_words.corpus
%%DATADIR%%/_words_ucs2.corpus
%%DATADIR%%/_zero.corpus
%%DATADIR%%/i860.corpus
%%DATADIR%%/xmos_xs2a.corpus
%%PORTDOCS%%%%DOCSDIR%%/README.md

View File

@ -1,6 +1,6 @@
PORTNAME= gh
DISTVERSIONPREFIX= v
DISTVERSION= 2.30.0
DISTVERSION= 2.31.0
CATEGORIES= devel
MAINTAINER= lcook@FreeBSD.org

View File

@ -1,5 +1,5 @@
TIMESTAMP = 1685703984
SHA256 (go/devel_gh/gh-v2.30.0/v2.30.0.mod) = e341258e2d3bb24730a162a9db69f758d09a7c3211066b12b674ef51190f54ab
SIZE (go/devel_gh/gh-v2.30.0/v2.30.0.mod) = 3768
SHA256 (go/devel_gh/gh-v2.30.0/v2.30.0.zip) = a269f9d14547d4d2f63de2c312d4cbaefc78a839f15af87ffa376761cb574ba0
SIZE (go/devel_gh/gh-v2.30.0/v2.30.0.zip) = 1233113
TIMESTAMP = 1687971581
SHA256 (go/devel_gh/gh-v2.31.0/v2.31.0.mod) = bde1c227d335a9117a203643d9ebb26219084fe39271969c7df666c3857df630
SIZE (go/devel_gh/gh-v2.31.0/v2.31.0.mod) = 3871
SHA256 (go/devel_gh/gh-v2.31.0/v2.31.0.zip) = c655840f73af69e4269bc0eb0cdd0093b0fb774a596648a6b2fcedec027a7135
SIZE (go/devel_gh/gh-v2.31.0/v2.31.0.zip) = 1315443

View File

@ -26,6 +26,7 @@
%%MANPAGES%%man/man1/gh-codespace-rebuild.1.gz
%%MANPAGES%%man/man1/gh-codespace-ssh.1.gz
%%MANPAGES%%man/man1/gh-codespace-stop.1.gz
%%MANPAGES%%man/man1/gh-codespace-view.1.gz
%%MANPAGES%%man/man1/gh-codespace.1.gz
%%MANPAGES%%man/man1/gh-completion.1.gz
%%MANPAGES%%man/man1/gh-config-get.1.gz
@ -94,6 +95,23 @@
%%MANPAGES%%man/man1/gh-pr-unlock.1.gz
%%MANPAGES%%man/man1/gh-pr-view.1.gz
%%MANPAGES%%man/man1/gh-pr.1.gz
%%MANPAGES%%man/man1/gh-project-close.1.gz
%%MANPAGES%%man/man1/gh-project-copy.1.gz
%%MANPAGES%%man/man1/gh-project-create.1.gz
%%MANPAGES%%man/man1/gh-project-delete.1.gz
%%MANPAGES%%man/man1/gh-project-edit.1.gz
%%MANPAGES%%man/man1/gh-project-field-create.1.gz
%%MANPAGES%%man/man1/gh-project-field-delete.1.gz
%%MANPAGES%%man/man1/gh-project-field-list.1.gz
%%MANPAGES%%man/man1/gh-project-item-add.1.gz
%%MANPAGES%%man/man1/gh-project-item-archive.1.gz
%%MANPAGES%%man/man1/gh-project-item-create.1.gz
%%MANPAGES%%man/man1/gh-project-item-delete.1.gz
%%MANPAGES%%man/man1/gh-project-item-edit.1.gz
%%MANPAGES%%man/man1/gh-project-item-list.1.gz
%%MANPAGES%%man/man1/gh-project-list.1.gz
%%MANPAGES%%man/man1/gh-project-view.1.gz
%%MANPAGES%%man/man1/gh-project.1.gz
%%MANPAGES%%man/man1/gh-release-create.1.gz
%%MANPAGES%%man/man1/gh-release-delete-asset.1.gz
%%MANPAGES%%man/man1/gh-release-delete.1.gz
@ -128,6 +146,7 @@
%%MANPAGES%%man/man1/gh-run-view.1.gz
%%MANPAGES%%man/man1/gh-run-watch.1.gz
%%MANPAGES%%man/man1/gh-run.1.gz
%%MANPAGES%%man/man1/gh-search-code.1.gz
%%MANPAGES%%man/man1/gh-search-commits.1.gz
%%MANPAGES%%man/man1/gh-search-issues.1.gz
%%MANPAGES%%man/man1/gh-search-prs.1.gz

View File

@ -1,5 +1,5 @@
PORTNAME= jenkins
PORTVERSION= 2.401.1
PORTVERSION= 2.401.2
CATEGORIES= devel java
MASTER_SITES= https://get.jenkins.io/war-stable/${PORTVERSION}/
PKGNAMESUFFIX= -lts

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1685575282
SHA256 (jenkins/2.401.1/jenkins.war) = 600b73eabf797852e39919541b84f7686ff601b97c77b44eb00843eb91c7dd6c
SIZE (jenkins/2.401.1/jenkins.war) = 98362423
TIMESTAMP = 1687954574
SHA256 (jenkins/2.401.2/jenkins.war) = 86bd8e0b2b51075c99b00d43603c2858440bf011ecd089a5c791d0c964d40682
SIZE (jenkins/2.401.2/jenkins.war) = 98406337

View File

@ -17,6 +17,7 @@ LIB_DEPENDS= libboost_system.so:devel/boost-libs \
libexpat.so:textproc/expat2
USES= compiler:c++11-lib libtool
USE_CXXSTD= c++11
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip

View File

@ -1,6 +1,6 @@
PORTNAME= llvm
PORTVERSION= ${LLVM_MAJOR}.0.d${SNAPDATE}
PORTREVISION= 0
PORTREVISION= 1
CATEGORIES= devel lang
PKGNAMESUFFIX= ${LLVM_SUFFIX}
@ -76,11 +76,7 @@ CMAKE_ARGS+= -DLLVM_ENABLE_Z3_SOLVER=OFF
CMAKE_ARGS+= -DLLVM_ENABLE_LIBXML2=OFF
CMAKE_ARGS+= -DLLVM_ENABLE_LIBEDIT=OFF
CMAKE_ARGS+= -DPYTHON_EXECUTABLE=${PYTHON_CMD}
# Disable assertions. They should be disabled by cmake, but USES=cmake
# overrides -DCMAKE_*_FLAGS_RELEASE.
CFLAGS+= -DNDEBUG
CXXFLAGS+= -DNDEBUG
CMAKE_ARGS+= -DLLVM_ENABLE_ASSERTIONS=ON
USE_GITHUB= yes
GH_PROJECT= llvm-project

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1684255523
SHA256 (KDE/plasma/5.27.5/khotkeys-5.27.5.tar.xz) = 83e85326de1e3b430ebd0364955e2167ccee50d33fdaaba9fa0e5cf488e6ec20
SIZE (KDE/plasma/5.27.5/khotkeys-5.27.5.tar.xz) = 1894844
TIMESTAMP = 1688022849
SHA256 (KDE/plasma/5.27.6/khotkeys-5.27.6.tar.xz) = dbc7ec600e0450901648e6513f25f7c1ccad6798ce38b70437258daa6d833d7e
SIZE (KDE/plasma/5.27.6/khotkeys-5.27.6.tar.xz) = 1895296

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1684255524
SHA256 (KDE/plasma/5.27.5/kwrited-5.27.5.tar.xz) = f2baec5827a87c035a116795615f2dba51ebaaab6297cbe8adf50410865fcc91
SIZE (KDE/plasma/5.27.5/kwrited-5.27.5.tar.xz) = 23436
TIMESTAMP = 1688022850
SHA256 (KDE/plasma/5.27.6/kwrited-5.27.6.tar.xz) = 0665240812594b9c5ec20b24dde1734bedc33f1440eb8591e72429ab2b1a7894
SIZE (KDE/plasma/5.27.6/kwrited-5.27.6.tar.xz) = 23440

View File

@ -1,5 +1,5 @@
PORTNAME= plasma-sdk
DISTVERSION= ${KDE_PLASMA_VERSION}
DISTVERSION= ${KDE_PLASMA_VERSION}.1
CATEGORIES= devel kde kde-plasma
MAINTAINER= kde@FreeBSD.org

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1684255526
SHA256 (KDE/plasma/5.27.5/plasma-sdk-5.27.5.tar.xz) = f10245b27687bbd21b18e78267a1895aab9644722456a2b92fb54f7ca0b06915
SIZE (KDE/plasma/5.27.5/plasma-sdk-5.27.5.tar.xz) = 321196
TIMESTAMP = 1688028412
SHA256 (KDE/plasma/5.27.6/plasma-sdk-5.27.6.1.tar.xz) = 2e4b0e466fced4345ecbd9c3b208bd334793762b02ae18bc54904860a69dceaf
SIZE (KDE/plasma/5.27.6/plasma-sdk-5.27.6.1.tar.xz) = 321916

View File

@ -1,5 +1,5 @@
PORTNAME= StrEnum
DISTVERSION= 0.4.10
DISTVERSION= 0.4.12
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1679255164
SHA256 (StrEnum-0.4.10.tar.gz) = 898cc0ebb5054ee07400341ac1d75fdfee489d76d6df3fbc1c2eaf95971e3916
SIZE (StrEnum-0.4.10.tar.gz) = 24620
TIMESTAMP = 1687992870
SHA256 (StrEnum-0.4.12.tar.gz) = 75e234fea070aabae9b03b63385880e286defdcdf6fb2933cde4f964f7763544
SIZE (StrEnum-0.4.12.tar.gz) = 24654

View File

@ -1,5 +1,5 @@
PORTNAME= sjasmplus
DISTVERSION= 1.20.2
DISTVERSION= 1.20.3
CATEGORIES= devel
MASTER_SITES= https://github.com/z00m128/sjasmplus/releases/download/v${DISTVERSION}/
EXTRACT_SUFX= .tar.xz

View File

@ -1,5 +1,5 @@
TIMESTAMP = 1676719682
SHA256 (sjasmplus-1.20.2-src.tar.xz) = 34421abd754639a5add999ef194dbd215aed92ac445eea7981ee46438021870f
SIZE (sjasmplus-1.20.2-src.tar.xz) = 2272400
TIMESTAMP = 1687947879
SHA256 (sjasmplus-1.20.3-src.tar.xz) = 343839b79bc8bc79f97ac0b3ac05ea9c17799aa561af46f3ac7a1da863b1b286
SIZE (sjasmplus-1.20.3-src.tar.xz) = 1210584
SHA256 (vinniefalco-LuaBridge-6580b187_GH0.tar.gz) = e48ab46ff42c53e60ff0baddb995b5f8f0cdb8f295eca6999960d68eec107cff
SIZE (vinniefalco-LuaBridge-6580b187_GH0.tar.gz) = 1197086

View File

@ -1,48 +1,15 @@
--- Makefile.orig 2023-02-16 20:39:21 UTC
--- Makefile.orig 2023-06-27 23:25:44 UTC
+++ Makefile
@@ -54,7 +54,8 @@ MEMCHECK?=valgrind --leak-check=yes
EXE_BASE_NAME=sjasmplus
@@ -67,7 +67,7 @@ LUA_VER?=5.4
BUILD_DIR=build
-LUA_VER=5.4
+LUA_VER?=5.4
+LUA_LIBNAME=lua-$(LUA_VER)
LUA_VER?=5.4
-LUA_LIBNAME?=lua$(LUA_VER)
+LUA_LIBNAME?=lua-$(LUA_VER)
SUBDIR_BASE=sjasm
SUBDIR_LUA=lua$(LUA_VER)
@@ -63,15 +64,16 @@ SUBDIR_CRC32C=crc32c
SUBDIR_DOCS=docs
SUBDIR_COV=coverage
-INCDIR_LUA=/usr/include/lua$(LUA_VER)
+INCDIR_LUA?=/usr/include/lua$(LUA_VER)
ifeq ($(USE_LUA), 1)
-_LUA_CPPFLAGS=-I$(SUBDIR_LUA)
-endif
-
ifeq ($(USE_BUNDLED_LUA), 0)
_LUA_CPPFLAGS=-I$(INCDIR_LUA)
+LDFLAGS+=-l$(LUA_LIBNAME)
+else
+_LUA_CPPFLAGS=-I$(SUBDIR_LUA)
endif
+endif
# TODO too many lua5.4 warnings: -pedantic removed
CPPFLAGS+=-Wall -DMAX_PATH=PATH_MAX -I$(SUBDIR_CRC32C)
@@ -85,10 +87,6 @@ ifeq ($(USE_LUA), 1)
LDFLAGS+=-ldl
endif
-ifeq ($(USE_BUNDLED_LUA), 0)
-LDFLAGS+=-llua$(LUA_VER)
-endif
-
ifdef DEBUG
BUILD_DIR:=$(BUILD_DIR)/debug
CFLAGS+=-g -O0
@@ -258,7 +256,7 @@ $(SUBDIR_DOCS)/documentation.html: Makefile $(wildcard
@@ -259,7 +259,7 @@ $(SUBDIR_DOCS)/documentation.html: Makefile $(wildcard
--stringparam html.stylesheet docbook.css \
--stringparam generate.toc "book toc" \
-o $(SUBDIR_DOCS)/documentation.html \

View File

@ -23,6 +23,8 @@ USE_XORG= x11
MAKE_ARGS= config="systemlibcpuid systemlibwebp"
post-extract:
@${REINPLACE_CMD} -e 's,register ,,' \
${WRKSRC}/classes/gui/dialogs/colordlg.cpp
# Prevent accidental build/use of bundled libraries' code/headers
@${RM} -r ${WRKSRC}/libraries/fribidi ${WRKSRC}/libraries/lib* \
${WRKSRC}/libraries/v8 ${WRKSRC}/libraries/zlib

View File

@ -1,6 +1,6 @@
PORTNAME= ticcutils
DISTVERSION= 0.32
PORTREVISION= 4
PORTREVISION= 5
CATEGORIES= devel textproc
MASTER_SITES= https://github.com/LanguageMachines/${PORTNAME}/releases/download/v${DISTVERSION}/
@ -11,8 +11,7 @@ WWW= https://github.com/LanguageMachines/ticcutils
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libboost_regex.so:devel/boost-libs \
libicui18n.so:devel/icu
LIB_DEPENDS= libicui18n.so:devel/icu
USES= compiler:c++11-lib gmake gnome libtool localbase:ldflags \
pathfix pkgconfig
@ -26,10 +25,6 @@ INSTALL_TARGET= install-strip
TEST_TARGET= check # 1 test fails, see https://github.com/LanguageMachines/ticcutils/issues/26
TEST_ENV= LD_LIBRARY_PATH=${STAGEDIR}${PREFIX}/lib
# Workaround for https://github.com/LanguageMachines/ticcutils/issues/18 (also see the patch files/patch-configure.ac)
CXXFLAGS+= -DHAVE_BOOST_REGEX
LDFLAGS+= -lboost_regex
post-patch:
@${REINPLACE_CMD} -e 's|-O3||g' \
${PATCH_WRKSRC}/src/Makefile.in

View File

@ -1,6 +1,6 @@
PORTNAME= xbyak
DISTVERSIONPREFIX= v
DISTVERSION= 6.69.1
DISTVERSION= 6.69.2
CATEGORIES= devel
MAINTAINER= yuri@FreeBSD.org

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1679621740
SHA256 (herumi-xbyak-v6.69.1_GH0.tar.gz) = 40b41df141000688d7d629cc9f4bc313f3adfa6be0c42c520064608ed11a93fc
SIZE (herumi-xbyak-v6.69.1_GH0.tar.gz) = 250157
TIMESTAMP = 1687933108
SHA256 (herumi-xbyak-v6.69.2_GH0.tar.gz) = 815f531e75db9aa74470e4e4c3ed404bfe8ade16a9fa03c572bb25daf95850d9
SIZE (herumi-xbyak-v6.69.2_GH0.tar.gz) = 250105

View File

@ -23,6 +23,7 @@ LIB_DEPENDS= libcutl.so:devel/libcutl \
libxerces-c.so:textproc/xerces-c3
USES= compiler:c++11-lang ghostscript:build gmake localbase:ldflags tar:bzip2
USE_CXXSTD= c++11
MAKEFILE= makefile
MAKE_ARGS= EXTERNAL_LIBCUTL=y \

View File

@ -1,5 +1,5 @@
PORTNAME= dnstable-convert
PORTVERSION= 0.11.0
PORTVERSION= 0.12.0
PORTREVISION= 1
CATEGORIES= dns
MASTER_SITES= FARSIGHT LOCAL/truckman/farsight

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1634270341
SHA256 (dnstable-convert-0.11.0.tar.gz) = 676d4cf7c039203462ad2b804df065f5f9e60ff4322278e746f6973fd9b1bfb7
SIZE (dnstable-convert-0.11.0.tar.gz) = 149973
TIMESTAMP = 1687896165
SHA256 (dnstable-convert-0.12.0.tar.gz) = f032b94899528771ba2cc26e3cc6ab1e5c18893abbbb93c5b759b659633c2f08
SIZE (dnstable-convert-0.12.0.tar.gz) = 153720

View File

@ -1,10 +0,0 @@
--- dnstable_convert.c.orig 2018-06-05 14:55:58 UTC
+++ dnstable_convert.c
@@ -24,6 +24,7 @@
#include <stdio.h>
#include <string.h>
#include <unistd.h>
+#include <sys/endian.h>
#include <dnstable.h>
#include <mtbl.h>

View File

@ -1,5 +1,5 @@
PORTNAME= opendnssec
DISTVERSION= 2.1.12
DISTVERSION= 2.1.13
CATEGORIES= dns
MASTER_SITES= http://dist.opendnssec.org/source/
PKGNAMESUFFIX= 2

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1668601009
SHA256 (opendnssec-2.1.12.tar.gz) = 50d7b9b0ccfc6a502784606ca4e5c03680fcf6425fb3947f45d8809ea8503e59
SIZE (opendnssec-2.1.12.tar.gz) = 1157828
TIMESTAMP = 1687793209
SHA256 (opendnssec-2.1.13.tar.gz) = 76e9358dd242abf9a7359948ab422ce9b34a04150b5af764dae5c214f9041b49
SIZE (opendnssec-2.1.13.tar.gz) = 1161140

View File

@ -1,6 +1,6 @@
PORTNAME= openresolv
DISTVERSIONPREFIX= v
DISTVERSION= 3.13.1
DISTVERSION= 3.13.2
CATEGORIES= dns
MAINTAINER= driesm@FreeBSD.org

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1682443522
SHA256 (NetworkConfiguration-openresolv-v3.13.1_GH0.tar.gz) = 04c9cde9afc54aea79f55da2423a4c3f22dc928b560a80436dc91dd4473b0b5b
SIZE (NetworkConfiguration-openresolv-v3.13.1_GH0.tar.gz) = 23698
TIMESTAMP = 1687972467
SHA256 (NetworkConfiguration-openresolv-v3.13.2_GH0.tar.gz) = e16b732b52df50e03fde3e37dd3fb642094248412afe78e6a7cf37c429ffe3ad
SIZE (NetworkConfiguration-openresolv-v3.13.2_GH0.tar.gz) = 23961

View File

@ -1,4 +1,4 @@
--- m4/pdns_check_libcrypto.m4.orig 2020-11-16 16:30:04 UTC
--- m4/pdns_check_libcrypto.m4.orig 2023-06-01 06:54:16 UTC
+++ m4/pdns_check_libcrypto.m4
@@ -75,8 +75,10 @@ AC_DEFUN([PDNS_CHECK_LIBCRYPTO], [
for ssldir in $ssldirs; do
@ -13,3 +13,12 @@
LIBCRYPTO_LIBS="-lcrypto"
found=true
AC_MSG_RESULT([yes])
@@ -108,7 +110,7 @@ AC_DEFUN([PDNS_CHECK_LIBCRYPTO], [
LIBS="$LIBCRYPTO_LIBS $LIBS"
CPPFLAGS="$LIBCRYPTO_INCLUDES $CPPFLAGS"
AC_LINK_IFELSE(
- [AC_LANG_PROGRAM([#include <openssl/crypto.h>], [ERR_load_CRYPTO_strings()])],
+ [AC_LANG_PROGRAM([#include <openssl/bn.h>], [BN_new()])],
[
AC_MSG_RESULT([yes])
AC_CHECK_FUNCS([RAND_bytes RAND_pseudo_bytes CRYPTO_memcmp OPENSSL_init_crypto EVP_MD_CTX_new EVP_MD_CTX_free RSA_get0_key])

View File

@ -1,6 +1,6 @@
--- pdns/auth-main.cc.orig 2022-10-19 09:22:23 UTC
--- pdns/auth-main.cc.orig 2023-06-01 06:54:16 UTC
+++ pdns/auth-main.cc
@@ -277,8 +277,8 @@ static void declareArguments()
@@ -278,8 +278,8 @@ static void declareArguments()
::arg().setSwitch("no-shuffle", "Set this to prevent random shuffling of answers - for regression testing") = "off";

View File

@ -1,6 +1,5 @@
PORTNAME= focuswriter
DISTVERSION= 1.8.4
PORTREVISION= 1
DISTVERSION= 1.8.5
CATEGORIES= editors
MASTER_SITES= https://gottcode.org/${PORTNAME}/

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1673432203
SHA256 (focuswriter-1.8.4.tar.bz2) = 1bced0935d89df2aed09ab72891ce968787cf560e3a198e2b4d75af0c4064a0c
SIZE (focuswriter-1.8.4.tar.bz2) = 10631942
TIMESTAMP = 1687894132
SHA256 (focuswriter-1.8.5.tar.bz2) = 3b4187ce903c55aa7fad688b1768fdcccc9f026da4a35564dcaa99cb2bee7654
SIZE (focuswriter-1.8.5.tar.bz2) = 10631624

View File

@ -1,5 +1,5 @@
PORTNAME= libc6-shim
DISTVERSION= 20230605
DISTVERSION= 20230629
CATEGORIES= emulators
MAINTAINER= iwtcex@gmail.com

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1686825232
SHA256 (shkhln-libc6-shim-20230605_GH0.tar.gz) = 20a48f9ea8775be8ab6a0111274233dfb0999c7873ba3eb2c30374f56c5a66df
SIZE (shkhln-libc6-shim-20230605_GH0.tar.gz) = 89491
TIMESTAMP = 1687989731
SHA256 (shkhln-libc6-shim-20230629_GH0.tar.gz) = c55c82475f2835fdecd31390d662b5587317bf5484448152d27ad07c52ea35f2
SIZE (shkhln-libc6-shim-20230629_GH0.tar.gz) = 89754

View File

@ -1,7 +1,8 @@
PORTNAME= rpcs3
DISTVERSIONPREFIX= v
DISTVERSION= 0.0.28-15245 # git rev-list --count HEAD
DISTVERSIONSUFFIX= -g8e3d0af08e
DISTVERSION= 0.0.28-15259 # git rev-list --count HEAD
DISTVERSIONSUFFIX= -g554b27a82a
PORTREVISION= 1
CATEGORIES= emulators wayland
MAINTAINER= jbeich@FreeBSD.org
@ -47,7 +48,7 @@ CMAKE_ON= CMAKE_SKIP_RPATH ${CURL FFMPEG FLATBUFFERS LIBPNG PUGIXML XXHASH:L:S/^
CMAKE_ON+= BUNDLE_SPEEX # only used by cubeb tests
CMAKE_OFF= USE_NATIVE_INSTRUCTIONS USE_PRECOMPILED_HEADERS
LDFLAGS+= -Wl,--as-needed # GLU
ELF_FEATURES= +noaslr,wxneeded:bin/${PORTNAME}
ELF_FEATURES= +wxneeded:bin/${PORTNAME}
.if ${FLAVOR:U} == qt6 || make(makesum) || make(fetch)
PATCH_SITES+= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/:qt6

View File

@ -1,6 +1,6 @@
TIMESTAMP = 1687807428
SHA256 (RPCS3-rpcs3-v0.0.28-15245-g8e3d0af08e_GH0.tar.gz) = d05f3d545efe56b656c6d230fe827e6392faca30ade21793b535cef18ad496e3
SIZE (RPCS3-rpcs3-v0.0.28-15245-g8e3d0af08e_GH0.tar.gz) = 8883836
TIMESTAMP = 1687966473
SHA256 (RPCS3-rpcs3-v0.0.28-15259-g554b27a82a_GH0.tar.gz) = 5e3bbb2a572d506608664a22278e38f7fc5bbf1545ef79f1eb83f387bc133a45
SIZE (RPCS3-rpcs3-v0.0.28-15259-g554b27a82a_GH0.tar.gz) = 8886306
SHA256 (RPCS3-hidapi-hidapi-0.14.0-2-g8b43a97_GH0.tar.gz) = 109ba77362885d60e274930f637735ee75df2850fe99e3f1c3a5b9d1187f8cb6
SIZE (RPCS3-hidapi-hidapi-0.14.0-2-g8b43a97_GH0.tar.gz) = 348879
SHA256 (RPCS3-soundtouch-2.3.1-16-g83cfba6_GH0.tar.gz) = 56863dbed27510742ed4ced54e9a5fba8658bcbfbb1cc5cdb978d7d537a3a874

View File

@ -1,14 +1,18 @@
PORTNAME= rtc
PORTVERSION= 2020.07.07.1
PORTREVISION= 1
CATEGORIES= emulators linux
MASTER_SITES= # none
DISTFILES= # none
MAINTAINER= jamie@catflap.org
MAINTAINER= ports@FreeBSD.org
COMMENT= Kernel module which provides /dev/rtc device support
LICENSE= BSD2CLAUSE
DEPRECATED= Driver doesn't actually work with current FreeBSD versions
EXPIRATION_DATE= 2023-12-31
USES= kmod uidfix
WRKSRC= ${WRKDIR}/files

View File

@ -66,8 +66,8 @@ struct rtc_softc {
struct {
int freq;
struct {
int opened:1;
int enabled:1;
unsigned int opened:1;
unsigned int enabled:1;
} flags;
struct callout rtc_handle;
struct timespec lasttime;

View File

@ -1,6 +1,6 @@
PORTNAME= virtualbox-ose
PORTVERSION= 5.2.44
PORTREVISION= 14
PORTREVISION= 15
CATEGORIES= emulators
MASTER_SITES= https://download.oracle.com/virtualbox/${PORTVERSION}/
PKGNAMESUFFIX?= -legacy
@ -14,24 +14,24 @@ WWW= https://www.virtualbox.org/
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
ONLY_FOR_ARCHS= amd64 i386
PATCH_DEPENDS+= ${LOCALBASE}/share/kBuild/tools/GXX3.kmk:devel/kBuild
BUILD_DEPENDS= yasm:devel/yasm \
xsltproc:textproc/libxslt \
BUILD_DEPENDS= gtar:archivers/gtar \
kmk:devel/kBuild \
gtar:archivers/gtar
libIDL-config-2:devel/libIDL \
yasm:devel/yasm \
xsltproc:textproc/libxslt
LIB_DEPENDS= libpng.so:graphics/png \
libxslt.so:textproc/libxslt \
libcurl.so:ftp/curl
RUN_DEPENDS= ${LOCALBASE}/etc/rc.d/vboxnet:emulators/virtualbox-ose-kmod-legacy
USES= compiler:c++14-lang cpe gnome iconv pkgconfig ssl tar:bzip2
USE_GNOME= libxml2
CPE_VENDOR= oracle
CPE_PRODUCT= vm_virtualbox
WRKSRC= ${WRKDIR}/VirtualBox-${PORTVERSION}
ONLY_FOR_ARCHS= i386 amd64
USES= compiler:c++14-lang cpe gnome iconv pkgconfig ssl tar:bzip2
USE_GNOME= libidl libxml2
HAS_CONFIGURE= yes
CONFIGURE_ARGS= --disable-java --passive-mesa
CONFIGURE_ARGS+= --with-gcc="${CC}" --with-g++="${CXX}"
@ -41,9 +41,9 @@ CONFLICTS_INSTALL= virtualbox-ose-additions-* \
virtualbox-ose \
virtualbox-ose-lite
PORTSCOUT= limit:^5\.
WRKSRC= ${WRKDIR}/VirtualBox-${PORTVERSION}
LDFLAGS= -lpthread
PORTSCOUT= limit:^5\.
VBOXUSER?= vboxusers
VBOXWSUSER?= vboxusers
@ -59,20 +59,20 @@ VBOX_PROGS= VBoxAutostart VBoxBalloonCtrl VBoxBugReport VBoxHeadless \
VBOX_UTILS= VBoxExtPackHelperApp VBoxNetAdpCtl VBoxNetDHCP VBoxNetNAT \
VBoxSVC VBoxXPCOMIPCD
OPTIONS_DEFINE= ALSA DBUS DEBUG DOCS GUESTADDITIONS NLS PULSEAUDIO \
PYTHON QT5 R0LOGGING UDPTUNNEL VDE VNC WEBSERVICE VPX X11
OPTIONS_DEFINE= ALSA DBUS DEBUG DOCS GUESTADDITIONS NLS PULSEAUDIO \
PYTHON QT5 R0LOGGING UDPTUNNEL VDE VNC WEBSERVICE VPX X11
OPTIONS_DEFAULT= DBUS QT5 UDPTUNNEL VNC WEBSERVICE X11
OPTIONS_SUB= yes
OPTIONS_SUB= yes
DEBUG_DESC= Debug symbols, additional logs and assertions
DEBUG_DESC= Debug symbols, additional logs and assertions
GUESTADDITIONS_DESC= Build with Guest Additions
NLS_DESC= Native language support (requires QT5)
QT5_DESC= Build with QT5 frontend (requires X11)
R0LOGGING_DESC= Enable R0 logging (requires DEBUG)
UDPTUNNEL_DESC= Build with UDP tunnel support
VDE_DESC= Build with VDE support
VNC_DESC= Build with VNC support
VPX_DESC= Use libvpx for video recording
NLS_DESC= Native language support (requires QT5)
QT5_DESC= Build with QT5 frontend (requires X11)
R0LOGGING_DESC= Enable R0 logging (requires DEBUG)
UDPTUNNEL_DESC= Build with UDP tunnel support
VDE_DESC= Build with VDE support
VNC_DESC= Build with VNC support
VPX_DESC= Use libvpx for video recording
WEBSERVICE_DESC= Build Webservice
ALSA_CONFIGURE_OFF= --disable-alsa
@ -80,12 +80,25 @@ ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib
DBUS_CONFIGURE_OFF= --disable-dbus
DBUS_LIB_DEPENDS= libdbus-1.so:devel/dbus
DEBUG_CONFIGURE_ON= --build-debug
DOCS_USES= tex
DOCS_USE= TEX=dvipsk:build,formats:build
DOCS_BUILD_DEPENDS= ${LOCALBASE}/share/xml/docbook/4.4/docbookx.dtd:textproc/docbook-xml
DOCS_CONFIGURE_OFF= --disable-docs
DOCS_VARS= dbkxmldir=${LOCALBASE}/share/xml/docbook/4.4 \
dbkxsldir=${LOCALBASE}/share/xsl/docbook
NLS_IMPLIES= QT5
PULSEAUDIO_CONFIGURE_OFF= --disable-pulse
PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio
PYTHON_USES= python
PYTHON_USES_OFF= python:build
PYTHON_USE= PYTHON=distutils,noegginfo,noflavors
PYTHON_CONFIGURE_OFF= --disable-python
PYTHON_VARS= pydistutils_pkgname=vboxapi pydistutils_pkgversion=1.0
QT5_USES= gl qmake:no_env qt:5 xorg
QT5_USE= QT=buildtools:build,core,dbus,gui,linguisttools:build,opengl \
QT=printsupport,widgets,x11extras XORG=xcb GL=gl
QT5_CONFIGURE_ON= --enable-qt5
QT5_CONFIGURE_OFF= --disable-qt
QT5_IMPLIES= X11
R0LOGGING_IMPLIES= DEBUG
UDPTUNNEL_CONFIGURE_OFF= --disable-udptunnel
@ -95,6 +108,9 @@ VNC_CONFIGURE_ON= --enable-vnc
VNC_LIB_DEPENDS= libvncserver.so:net/libvncserver
VPX_CONFIGURE_OFF= --disable-libvpx
VPX_LIB_DEPENDS= libvpx.so:multimedia/libvpx
WEBSERVICE_BUILD_DEPENDS= soapcpp2:devel/gsoap
X11_USES= sdl xorg
X11_USE= SDL=sdl XORG=x11,xcursor,xext,xinerama,xmu,xorgproto,xt
X11_CONFIGURE_OFF= --build-headless
ENV=
@ -119,7 +135,7 @@ CONFLICTS_INSTALL+= virtualbox-ose
.endif
.if ${ARCH} == "amd64"
_ELF32!= kldstat -q -m elf32 && echo yes || echo no
_ELF32!= kldstat -q -m elf32 && ${ECHO_CMD} yes || ${ECHO_CMD} no
.endif
.if ${PORT_OPTIONS:MDEBUG}
@ -138,49 +154,22 @@ LICENSE_PERMS_Additions= auto-accept
LICENSE_DISTFILES_Additions= ${GUESTADDITIONS}
.endif
.if ${PORT_OPTIONS:MDOCS}
DBKXMLDIR= ${LOCALBASE}/share/xml/docbook/4.4
DBKXSLDIR= ${LOCALBASE}/share/xsl/docbook
USES+= tex
USE_TEX= dvipsk:build formats:build
.endif
.if ${PORT_OPTIONS:MPYTHON}
USES+= python
USE_PYTHON= distutils noegginfo noflavors
PYDISTUTILS_PKGNAME= vboxapi
PYDISTUTILS_PKGVERSION= 1.0
.else
USES+= python:build
.endif
.if ${PORT_OPTIONS:MQT5}
CONFIGURE_ARGS+= --enable-qt5
PLIST_SUB+= QT=""
USES+= gl qmake:no_env qt:5 xorg
USE_GL= gl glu
USE_QT= buildtools:build core dbus gui linguisttools:build opengl
USE_QT+= printsupport widgets x11extras
USE_XORG= xcb
VBOX_PROGS+= VirtualBox
VBOX_UTILS+= VBoxTestOGL
VBOX_WITH_QT= 1
.else
CONFIGURE_ARGS+= --disable-qt
PLIST_SUB+= QT="@comment "
.endif
.if ${PORT_OPTIONS:MWEBSERVICE}
BUILD_DEPENDS+= soapcpp2:devel/gsoap
USE_RC_SUBR+= vboxwebsrv
VBOX_LINKS+= vboxwebsrv
VBOX_UTILS+= vboxwebsrv webtest
.endif
.if ${PORT_OPTIONS:MX11}
USES+= sdl
USE_SDL= sdl
USE_XORG+= xorgproto x11 xcursor xext xinerama xmu xt
VBOX_PROGS+= VBoxSDL
.endif
@ -207,10 +196,11 @@ KMK_FLAGS+= -j${MAKE_JOBS_NUMBER}
.include <bsd.port.pre.mk>
.if ${CHOSEN_COMPILER_TYPE} == clang && ${OPSYS} == FreeBSD && \
(${OSVERSION} < 1302505 || (${OSVERSION} >= 1400000 && ${OSVERSION} < 1400079))
# llvm 13 and 14 included in FreeBSD fails to compile this legacy version of
(${OSVERSION} < 1302505 || (${OSVERSION} >= 1400000 && ${OSVERSION} < 1400079) || \
${OSVERSION} >= 1400091)
# llvm 13, 14 and 16 included in FreeBSD fails to compile this legacy version of
# virtualbox-ose, force llvm 15 on all versions of the FreeBSD except lastest 13
# and 14 where the llvm 15 is included: PR#265539.
# and several versions of 14 where the llvm 15 is included: PR#265539.
# Keep possibility to define different llvm via VBOX_LLVM_VER in make.conf.
BUILD_DEPENDS+= clang${VBOX_LLVM_VER}:devel/llvm${VBOX_LLVM_VER}
CC= clang${VBOX_LLVM_VER}

View File

@ -25,7 +25,17 @@
elif [ $cc_maj -lt 4 \
-o \( $cc_maj -eq 4 -a $cc_min -lt 4 -a "$OS" != "darwin" \) \
-o \( $cc_maj -eq 4 -a $cc_min -lt 2 -a "$OS" = "darwin" \) ]; then
@@ -1208,7 +1215,7 @@ extern "C" int main(void)
@@ -1114,6 +1116,9 @@ extern "C" int main(int argc, char** arg
printf("found version %d.%d.%d",
SDL_MAJOR_VERSION, SDL_MINOR_VERSION, SDL_PATCHLEVEL);
#if SDL_VERSION_ATLEAST(1,2,7)
+#if !defined(SDL_VIDEO_DRIVER_X11)
+#error SDL must be compiled with X11 support
+#endif
printf(", OK.\n");
return 0;
#else
@@ -1208,7 +1218,7 @@ extern "C" int main(void)
#endif
}
EOF
@ -34,7 +44,7 @@
test_execute
fi
}
@@ -1508,8 +1515,7 @@ EOF
@@ -1508,8 +1518,7 @@ EOF
if [ $? -eq 0 ]; then
echo "(Qt5 from pkg-config)" >> $LOG
FLGQT5=`pkg-config Qt5Core --cflags`
@ -44,7 +54,7 @@
INCQT5=`strip_I "$FLGQT5"`
LIBDIR5=`pkg-config Qt5Core --variable=libdir`
LIBQT5=`pkg-config Qt5Core --libs`
@@ -1648,7 +1654,7 @@ check_libopus()
@@ -1648,7 +1657,7 @@ check_libopus()
fi
cat > $ODIR.tmp_src.cc << EOF
#include <cstdio>
@ -53,7 +63,7 @@
extern "C" int main(void)
{
OpusEncoder *test;
@@ -1980,8 +1986,8 @@ EOF
@@ -1980,8 +1989,8 @@ EOF
echo "compiling the following source file:" >> $LOG
cat $ODIR.tmp_src.cc >> $LOG
echo "using the following command line:" >> $LOG
@ -64,7 +74,7 @@
if [ $? -eq 0 ]; then
found=1
break
@@ -2453,7 +2459,7 @@ for option in "$@"; do
@@ -2453,7 +2462,7 @@ for option in "$@"; do
--with-openssl-dir=*)
OPENSSLDIR=`echo $option | cut -d'=' -f2`
INCCRYPTO="-I${OPENSSLDIR}/include"
@ -73,7 +83,7 @@
;;
--with-ow-dir=*)
WATCOM=`echo $option | cut -d'=' -f2`
@@ -2767,7 +2773,7 @@ if [ $ONLY_ADDITIONS -eq 0 ]; then
@@ -2767,7 +2776,7 @@ if [ $ONLY_ADDITIONS -eq 0 ]; then
check_ssl
check_curl
[ $WITH_LIBVPX -eq 1 ] && check_vpx
@ -82,7 +92,7 @@
[ "$OS" != "darwin" ] && check_z
[ "$OS" != "darwin" ] && check_png
[ $OSE -eq 0 -a "$OS" = "linux" ] && check_pam
@@ -2788,13 +2794,20 @@ if [ $ONLY_ADDITIONS -eq 0 ]; then
@@ -2788,13 +2797,20 @@ if [ $ONLY_ADDITIONS -eq 0 ]; then
[ $WITH_PYTHON -eq 1 ] && check_python
[ $WITH_JAVA -eq 1 ] && check_java
@ -104,7 +114,7 @@
fi
fi
@@ -2810,14 +2823,6 @@ if [ "$OS" = "linux" ]; then
@@ -2810,14 +2826,6 @@ if [ "$OS" = "linux" ]; then
cnf_append "VBOX_WITHOUT_LINUX_TEST_BUILDS" "1"
fi
if [ $ONLY_ADDITIONS -eq 0 ]; then

View File

@ -53,15 +53,39 @@ NS_ERROR_FACTORY_NOT_REGISTERED. In this case delete /tmp/.vbox-*-ipc file.
If you experience "Network: write Failed: Cannot allocate memory" errors
try to increase net.graph.maxdata in /boot/loader.conf
If you are using AIO, then increase these limits (PR#168298):
If you are using AIO, then increase these limits (https://bugs.freebsd.org/168298):
vfs.aio.max_buf_aio=8192
vfs.aio.max_aio_queue_per_proc=65536
vfs.aio.max_aio_per_proc=8192
vfs.aio.max_aio_queue=65536
To check if AIO is used use: kldstat -v | grep aio
Check wiki page for known issues and troubleshooting:
http://wiki.freebsd.org/VirtualBox
If you are experiencing VMs freezes with an error in VBox.log such as:
"
00:01:29.590192 AssertLogRel /usr/ports/emulators/virtualbox-ose-legacy/work/VirtualBox-5.2.44
/src/VBox/VMM/VMMR3/PGMPhys.cpp(5148) int PGMR3PhysAllocateHandyPages(PVM): RT_SUCCESS(rc)
00:01:29.590221 87/128: idPage=0x3d400 HCPhysGCPhys=000000027eaed000 rc=VERR_NO_MEMORY
00:01:29.590247 Changing the VM state from 'RUNNING' to 'GURU_MEDITATION'
00:01:29.590261 Console: Machine state changed to 'GuruMeditation'
00:01:29.590695 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
00:01:29.590696 !!
00:01:29.590697 !! VCPU0: Guru Meditation -8 (VERR_NO_MEMORY)
"
and see a lot of free RAM, then increase sysctl vm.max_user_wired
(https://bugs.freebsd.org/252227).
For dedicated VM servers, a good start is:
("RAM in GB" - max(1, "RAM in GB" / 32)) * 1024*1024*1024 / PAGE_SIZE
PAGE_SIZE on x86 is 4096.
Examples with different RAM sizes in GB:
16: ( 16-max(1, 16/32)*1024*1024*1024/4096 = 3932160 => 15GB
32: ( 32-max(1, 32/32)*1024*1024*1024/4096 = 8126464 => 31GB
48: ( 48-max(1, 48/32)*1024*1024*1024/4096 = 12189696 => 46.5GB
64: ( 64-max(1, 64/32)*1024*1024*1024/4096 = 16252928 => 62GB
128: (128-max(1,128/32)*1024*1024*1024/4096 = 32505856 => 124GB
256: (256-max(1,256/32)*1024*1024*1024/4096 = 65011712 => 248GB
Check the wiki page for known issues and troubleshooting:
https://wiki.freebsd.org/VirtualBox
Please report any problems to emulation@. Thanks!
EOM

View File

@ -1,6 +1,6 @@
PORTNAME= virtualbox-ose
PORTVERSION= 6.1.44
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= emulators
MASTER_SITES= https://download.virtualbox.org/virtualbox/${PORTVERSION}/
DISTFILES= VirtualBox-${PORTVERSION}${EXTRACT_SUFX} ${GUESTADDITIONS}
@ -13,23 +13,23 @@ WWW= https://www.virtualbox.org/
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= yasm:devel/yasm \
xsltproc:textproc/libxslt \
ONLY_FOR_ARCHS= amd64
BUILD_DEPENDS= gtar:archivers/gtar \
kmk:devel/kBuild \
gtar:archivers/gtar
libIDL-config-2:devel/libIDL \
yasm:devel/yasm \
xsltproc:textproc/libxslt
LIB_DEPENDS= libpng.so:graphics/png \
libxslt.so:textproc/libxslt \
libcurl.so:ftp/curl
RUN_DEPENDS= ${LOCALBASE}/etc/rc.d/vboxnet:emulators/virtualbox-ose-kmod
USES= compiler:c++14-lang cpe gnome iconv pkgconfig ssl tar:bzip2
USE_GNOME= libxml2
CPE_VENDOR= oracle
CPE_PRODUCT= vm_virtualbox
WRKSRC= ${WRKDIR}/VirtualBox-${PORTVERSION}
ONLY_FOR_ARCHS= amd64
USES= compiler:c++14-lang cpe gnome iconv pkgconfig ssl tar:bzip2
USE_GNOME= libidl libxml2
HAS_CONFIGURE= yes
CONFIGURE_ARGS= --disable-java --passive-mesa
CONFIGURE_ARGS+= --with-gcc="${CC}" --with-g++="${CXX}"
@ -39,6 +39,8 @@ CONFLICTS_INSTALL= virtualbox-ose-additions-* \
virtualbox-ose-legacy \
virtualbox-ose-lite
WRKSRC= ${WRKDIR}/VirtualBox-${PORTVERSION}
VBOXUSER?= vboxusers
VBOXWSUSER?= vboxusers
VBOXGROUP?= vboxusers
@ -55,25 +57,25 @@ VBOX_UTILS= VBoxExtPackHelperApp VBoxNetAdpCtl VBoxNetDHCP VBoxNetNAT \
SUB_FILES= pkg-message
OPTIONS_DEFINE= AIO ALSA DBUS DEBUG DOCS GUESTADDITIONS NLS OPUS PULSEAUDIO \
PYTHON QT5 R0LOGGING UDPTUNNEL VDE VNC WEBSERVICE VPX X11
OPTIONS_DEFINE= AIO ALSA DBUS DEBUG DOCS GUESTADDITIONS NLS OPUS PULSEAUDIO \
PYTHON QT5 R0LOGGING UDPTUNNEL VDE VNC WEBSERVICE VPX X11
OPTIONS_DEFAULT= AIO DBUS QT5 UDPTUNNEL VNC WEBSERVICE X11
# Since version 6.1.24 pulseaudio is broken at runtime, preventing
# virtual machines from starting if configured to use it.
OPTIONS_EXCLUDE+= PULSEAUDIO
OPTIONS_SUB= yes
OPTIONS_SUB= yes
AIO_DESC= Enable Asyncronous IO support (check pkg-message)
DEBUG_DESC= Debug symbols, additional logs and assertions
AIO_DESC= Enable Asyncronous IO support (check pkg-message)
DEBUG_DESC= Debug symbols, additional logs and assertions
GUESTADDITIONS_DESC= Build with Guest Additions
NLS_DESC= Native language support (requires QT5)
OPUS_DESC= Use libvpx for audio recording (requires VPX)
QT5_DESC= Build with QT5 frontend (requires X11)
R0LOGGING_DESC= Enable R0 logging (requires DEBUG)
UDPTUNNEL_DESC= Build with UDP tunnel support
VDE_DESC= Build with VDE support
VNC_DESC= Build with VNC support
VPX_DESC= Use libvpx for video recording
NLS_DESC= Native language support (requires QT5)
OPUS_DESC= Use libvpx for audio recording (requires VPX)
QT5_DESC= Build with QT5 frontend (requires X11)
R0LOGGING_DESC= Enable R0 logging (requires DEBUG)
UDPTUNNEL_DESC= Build with UDP tunnel support
VDE_DESC= Build with VDE support
VNC_DESC= Build with VNC support
VPX_DESC= Use libvpx for video recording
WEBSERVICE_DESC= Build Webservice
ALSA_CONFIGURE_OFF= --disable-alsa
@ -81,15 +83,28 @@ ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib
DBUS_CONFIGURE_OFF= --disable-dbus
DBUS_LIB_DEPENDS= libdbus-1.so:devel/dbus
DEBUG_CONFIGURE_ON= --build-debug
DOCS_USES= tex
DOCS_USE= TEX=dvipsk:build,formats:build
DOCS_BUILD_DEPENDS= ${LOCALBASE}/share/xml/docbook/4.4/docbookx.dtd:textproc/docbook-xml
DOCS_CONFIGURE_OFF= --disable-docs
DOCS_VARS= dbkxmldir=${LOCALBASE}/share/xml/docbook/4.4 \
dbkxsldir=${LOCALBASE}/share/xsl/docbook
NLS_IMPLIES= QT5
OPUS_CONFIGURE_OFF= --disable-libopus
OPUS_LIB_DEPENDS= libopus.so:audio/opus
OPUS_IMPLIES= VPX
PULSEAUDIO_CONFIGURE_OFF= --disable-pulse
PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio
PYTHON_USES= python
PYTHON_USES_OFF= python:build
PYTHON_USE= PYTHON=distutils,noegginfo,noflavors
PYTHON_CONFIGURE_OFF= --disable-python
PYTHON_VARS= pydistutils_pkgname=vboxapi pydistutils_pkgversion=1.0
QT5_USES= gl qmake:no_env qt:5 xorg
QT5_USE= QT=buildtools:build,core,dbus,gui,linguisttools:build,opengl \
QT=printsupport,widgets,x11extras XORG=xcb GL=gl
QT5_CONFIGURE_ON= --enable-qt5
QT5_CONFIGURE_OFF= --disable-qt
QT5_IMPLIES= X11
R0LOGGING_IMPLIES= DEBUG
UDPTUNNEL_CONFIGURE_OFF= --disable-udptunnel
@ -99,6 +114,9 @@ VNC_CONFIGURE_ON= --enable-vnc
VNC_LIB_DEPENDS= libvncserver.so:net/libvncserver
VPX_CONFIGURE_OFF= --disable-libvpx
VPX_LIB_DEPENDS= libvpx.so:multimedia/libvpx
WEBSERVICE_BUILD_DEPENDS= soapcpp2:devel/gsoap
X11_USES= sdl xorg
X11_USE= SDL=sdl XORG=x11,xcursor,xext,xinerama,xmu,xorgproto,xt
X11_CONFIGURE_OFF= --build-headless
ENV=
@ -140,49 +158,22 @@ LICENSE_PERMS_Additions= auto-accept
LICENSE_DISTFILES_Additions= ${GUESTADDITIONS}
.endif
.if ${PORT_OPTIONS:MDOCS}
DBKXMLDIR= ${LOCALBASE}/share/xml/docbook/4.4
DBKXSLDIR= ${LOCALBASE}/share/xsl/docbook
USES+= tex
USE_TEX= dvipsk:build formats:build
.endif
.if ${PORT_OPTIONS:MPYTHON}
USES+= python
USE_PYTHON= distutils noegginfo noflavors
PYDISTUTILS_PKGNAME= vboxapi
PYDISTUTILS_PKGVERSION= 1.0
.else
USES+= python:build
.endif
.if ${PORT_OPTIONS:MQT5}
CONFIGURE_ARGS+= --enable-qt5
PLIST_SUB+= QT=""
USES+= gl qmake:no_env qt:5 xorg
USE_GL= gl glu
USE_QT= buildtools:build core dbus gui linguisttools:build opengl
USE_QT+= printsupport widgets x11extras
USE_XORG= xcb
VBOX_PROGS+= VirtualBox VirtualBoxVM
VBOX_UTILS+= VBoxTestOGL
VBOX_WITH_QT= 1
.else
CONFIGURE_ARGS+= --disable-qt
PLIST_SUB+= QT="@comment "
.endif
.if ${PORT_OPTIONS:MWEBSERVICE}
BUILD_DEPENDS+= soapcpp2:devel/gsoap
USE_RC_SUBR+= vboxwebsrv
VBOX_LINKS+= vboxwebsrv
VBOX_UTILS+= vboxwebsrv webtest
.endif
.if ${PORT_OPTIONS:MX11}
USES+= sdl xorg
USE_SDL= sdl
USE_XORG+= xorgproto x11 xcursor xext xinerama xmu xt
VBOX_PROGS+= VBoxSDL
.endif

View File

@ -15,7 +15,17 @@
else
INCCURL=""
LIBCURL="-lcurl"
@@ -1257,7 +1261,7 @@ extern "C" int main(void)
@@ -1173,6 +1177,9 @@ extern "C" int main(int argc, char** arg
printf("found version %d.%d.%d",
SDL_MAJOR_VERSION, SDL_MINOR_VERSION, SDL_PATCHLEVEL);
#if SDL_VERSION_ATLEAST(1,2,7)
+#if !defined(SDL_VIDEO_DRIVER_X11)
+#error SDL must be compiled with X11 support
+#endif
printf(", OK.\n");
return 0;
#else
@@ -1257,7 +1264,7 @@ extern "C" int main(void)
#endif
}
EOF
@ -24,7 +34,7 @@
test_execute
fi
}
@@ -1564,6 +1568,7 @@ EOF
@@ -1564,6 +1571,7 @@ EOF
FLGQT5=`pkg-config Qt5Core --cflags`
# gcc 4.8 is able to compile with C++11 (see also VBOX_GCC_std in Config.kmk)
[ $(($cc_maj * 100 + $cc_min)) -ge 408 ] && FLGQT5="$FLGQT5 -std=c++11"
@ -32,7 +42,7 @@
INCQT5=`strip_I "$FLGQT5"`
LIBDIR5=`pkg-config Qt5Core --variable=libdir`
LIBQT5=`pkg-config Qt5Core Qt5Gui --libs`
@@ -1702,7 +1707,7 @@ check_libopus()
@@ -1702,7 +1710,7 @@ check_libopus()
fi
cat > $ODIR.tmp_src.cc << EOF
#include <cstdio>
@ -41,7 +51,7 @@
extern "C" int main(void)
{
OpusEncoder *test;
@@ -2034,8 +2039,8 @@ EOF
@@ -2034,8 +2042,8 @@ EOF
echo "compiling the following source file:" >> $LOG
cat $ODIR.tmp_src.cc >> $LOG
echo "using the following command line:" >> $LOG
@ -52,7 +62,7 @@
if [ $? -eq 0 ]; then
found=1
break
@@ -2151,7 +2156,7 @@ check_gsoap()
@@ -2151,7 +2159,7 @@ check_gsoap()
else
cnf_append "VBOX_GSOAP_CXX_SOURCES" ""
fi
@ -61,7 +71,7 @@
gsoap_version=`pkg-config gsoapssl++ --modversion`
log_success "found version $gsoap_version"
return
@@ -2519,7 +2524,7 @@ for option in "$@"; do
@@ -2519,7 +2527,7 @@ for option in "$@"; do
--with-openssl-dir=*)
OPENSSLDIR=`echo $option | cut -d'=' -f2`
INCCRYPTO="-I${OPENSSLDIR}/include"
@ -70,7 +80,7 @@
# On Linux static OpenSSL typically needs a few additional libraries.
[ "$OS" = "linux" ] && LIBCRYPTO="-ldl $LIBPTHREAD -lm"
;;
@@ -2865,12 +2870,22 @@ if [ $ONLY_ADDITIONS -eq 0 ]; then
@@ -2865,12 +2873,22 @@ if [ $ONLY_ADDITIONS -eq 0 ]; then
[ $WITH_JAVA -eq 1 ] && check_java
# PulseAudio
@ -99,7 +109,7 @@
fi
fi
@@ -2886,14 +2901,6 @@ if [ "$OS" = "linux" ]; then
@@ -2886,14 +2904,6 @@ if [ "$OS" = "linux" ]; then
cnf_append "VBOX_WITHOUT_LINUX_TEST_BUILDS" "1"
fi
if [ $ONLY_ADDITIONS -eq 0 ]; then

View File

@ -53,19 +53,43 @@ NS_ERROR_FACTORY_NOT_REGISTERED. In this case delete /tmp/.vbox-*-ipc file.
If you experience "Network: write Failed: Cannot allocate memory" errors
try to increase net.graph.maxdata in /boot/loader.conf
If you are using AIO, then increase these limits (PR#168298):
If you are using AIO, then increase these limits (https://bugs.freebsd.org/168298):
vfs.aio.max_buf_aio=8192
vfs.aio.max_aio_queue_per_proc=65536
vfs.aio.max_aio_per_proc=8192
vfs.aio.max_aio_queue=65536
To check if AIO is used use: kldstat -v | grep aio
If you are experiencing VMs freezes with an error in VBox.log such as:
"
00:01:29.590192 AssertLogRel /usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.44
/src/VBox/VMM/VMMR3/PGMPhys.cpp(5148) int PGMR3PhysAllocateHandyPages(PVM): RT_SUCCESS(rc)
00:01:29.590221 87/128: idPage=0x3d400 HCPhysGCPhys=000000027eaed000 rc=VERR_NO_MEMORY
00:01:29.590247 Changing the VM state from 'RUNNING' to 'GURU_MEDITATION'
00:01:29.590261 Console: Machine state changed to 'GuruMeditation'
00:01:29.590695 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
00:01:29.590696 !!
00:01:29.590697 !! VCPU0: Guru Meditation -8 (VERR_NO_MEMORY)
"
and see a lot of free RAM, then increase sysctl vm.max_user_wired
(https://bugs.freebsd.org/252227).
For dedicated VM servers, a good start is:
("RAM in GB" - max(1, "RAM in GB" / 32)) * 1024*1024*1024 / PAGE_SIZE
PAGE_SIZE on x86 is 4096.
Examples with different RAM sizes in GB:
16: ( 16-max(1, 16/32)*1024*1024*1024/4096 = 3932160 => 15GB
32: ( 32-max(1, 32/32)*1024*1024*1024/4096 = 8126464 => 31GB
48: ( 48-max(1, 48/32)*1024*1024*1024/4096 = 12189696 => 46.5GB
64: ( 64-max(1, 64/32)*1024*1024*1024/4096 = 16252928 => 62GB
128: (128-max(1,128/32)*1024*1024*1024/4096 = 32505856 => 124GB
256: (256-max(1,256/32)*1024*1024*1024/4096 = 65011712 => 248GB
When assigning IP addresses in host-only mode from ranges outside
of VirtualBox's defaults, the respective ranges need to be listed
in %%VBOX_ETC%%/networks.conf (PR#259399).
in %%VBOX_ETC%%/networks.conf (https://bugs.freebsd.org/259399).
Check wiki page for known issues and troubleshooting:
http://wiki.freebsd.org/VirtualBox
Check the wiki page for known issues and troubleshooting:
https://wiki.freebsd.org/VirtualBox
Please report any problems to emulation@. Thanks!
EOM

View File

@ -1,6 +1,6 @@
PORTNAME= wine
DISTVERSION= 7.22
PORTREVISION= 1
PORTREVISION= 2
PORTEPOCH= 1
CATEGORIES= emulators
MASTER_SITES= https://dl.winehq.org/wine/source/7.x/

View File

@ -32,7 +32,7 @@ then
exit 1
fi
export LIBGL_DRIVERS_PATH="${LIBGL_DRIVERS_PATH:+$LIBGL_DRIVERS_PATH:}$LOCALBASE/lib/dri:$LOCALBASE/lib32/dri:$I386_ROOT/$LOCALBASE/lib/dri"
export LIBGL_DRIVERS_PATH="${LIBGL_DRIVERS_PATH:+$LIBGL_DRIVERS_PATH:}$LOCALBASE/lib/dri-devel:$LOCALBASE/lib32/dri-devel:$I386_ROOT/$LOCALBASE/lib/dri-devel:$LOCALBASE/lib/dri:$LOCALBASE/lib32/dri:$I386_ROOT/$LOCALBASE/lib/dri"
export LD_32_LIBRARY_PATH="${LD_32_LIBRARY_PATH:+$LD_32_LIBRARY_PATH:}$I386_ROOT/$PREFIX/lib/wine:$LOCALBASE/lib32:$I386_ROOT/$LOCALBASE/lib"
for d in "$I386_ROOT/$LOCALBASE"/llvm*/lib
do
@ -42,10 +42,12 @@ do
fi
done
export LD_32_LIBRARY_PATH_RPATH=y
LD_32_LIBMAP_CONF=$(sed "s,$LOCALBASE,$I386_ROOT&,2" "$I386_ROOT/$LOCALBASE"/etc/libmap.d/*.conf 2>/dev/null || true)
export LD_32_LIBMAP="
libgcc_s.so.1 /usr/lib32/libgcc_s.so.1
$LOCALBASE/lib/libvulkan_intel.so $I386_ROOT/$LOCALBASE/lib/libvulkan_intel.so
$LOCALBASE/lib/libvulkan_radeon.so $I386_ROOT/$LOCALBASE/lib/libvulkan_radeon.so
$LD_32_LIBMAP_CONF
$LD_32_LIBMAP"
if [ -z "$WINE_NO_WOW64" ]

View File

@ -1,6 +1,6 @@
PORTNAME= wine-proton
DISTVERSION= 7.0-5
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= emulators
MAINTAINER= iwtcex@gmail.com

View File

@ -32,7 +32,7 @@ then
exit 1
fi
export LIBGL_DRIVERS_PATH="${LIBGL_DRIVERS_PATH:+$LIBGL_DRIVERS_PATH:}$LOCALBASE/lib/dri:$LOCALBASE/lib32/dri:$I386_ROOT/$LOCALBASE/lib/dri"
export LIBGL_DRIVERS_PATH="${LIBGL_DRIVERS_PATH:+$LIBGL_DRIVERS_PATH:}$LOCALBASE/lib/dri-devel:$LOCALBASE/lib32/dri-devel:$I386_ROOT/$LOCALBASE/lib/dri-devel:$LOCALBASE/lib/dri:$LOCALBASE/lib32/dri:$I386_ROOT/$LOCALBASE/lib/dri"
export LD_32_LIBRARY_PATH="${LD_32_LIBRARY_PATH:+$LD_32_LIBRARY_PATH:}$I386_ROOT/$PREFIX/lib/wine:$LOCALBASE/lib32:$I386_ROOT/$LOCALBASE/lib"
for d in "$I386_ROOT/$LOCALBASE"/llvm*/lib
do
@ -42,10 +42,12 @@ do
fi
done
export LD_32_LIBRARY_PATH_RPATH=y
LD_32_LIBMAP_CONF=$(sed "s,$LOCALBASE,$I386_ROOT&,2" "$I386_ROOT/$LOCALBASE"/etc/libmap.d/*.conf 2>/dev/null || true)
export LD_32_LIBMAP="
libgcc_s.so.1 /usr/lib32/libgcc_s.so.1
$LOCALBASE/lib/libvulkan_intel.so $I386_ROOT/$LOCALBASE/lib/libvulkan_intel.so
$LOCALBASE/lib/libvulkan_radeon.so $I386_ROOT/$LOCALBASE/lib/libvulkan_radeon.so
$LD_32_LIBMAP_CONF
$LD_32_LIBMAP"
if [ -z "$WINE_NO_WOW64" ]

View File

@ -1,6 +1,6 @@
PORTNAME= wine
DISTVERSION= 7.0.2
PORTREVISION= 1
PORTREVISION= 2
PORTEPOCH= 1
CATEGORIES= emulators
MASTER_SITES= https://dl.winehq.org/wine/source/7.0/

View File

@ -32,7 +32,7 @@ then
exit 1
fi
export LIBGL_DRIVERS_PATH="${LIBGL_DRIVERS_PATH:+$LIBGL_DRIVERS_PATH:}$LOCALBASE/lib/dri:$LOCALBASE/lib32/dri:$I386_ROOT/$LOCALBASE/lib/dri"
export LIBGL_DRIVERS_PATH="${LIBGL_DRIVERS_PATH:+$LIBGL_DRIVERS_PATH:}$LOCALBASE/lib/dri-devel:$LOCALBASE/lib32/dri-devel:$I386_ROOT/$LOCALBASE/lib/dri-devel:$LOCALBASE/lib/dri:$LOCALBASE/lib32/dri:$I386_ROOT/$LOCALBASE/lib/dri"
export LD_32_LIBRARY_PATH="${LD_32_LIBRARY_PATH:+$LD_32_LIBRARY_PATH:}$I386_ROOT/$PREFIX/lib/wine:$LOCALBASE/lib32:$I386_ROOT/$LOCALBASE/lib"
for d in "$I386_ROOT/$LOCALBASE"/llvm*/lib
do
@ -42,10 +42,12 @@ do
fi
done
export LD_32_LIBRARY_PATH_RPATH=y
LD_32_LIBMAP_CONF=$(sed "s,$LOCALBASE,$I386_ROOT&,2" "$I386_ROOT/$LOCALBASE"/etc/libmap.d/*.conf 2>/dev/null || true)
export LD_32_LIBMAP="
libgcc_s.so.1 /usr/lib32/libgcc_s.so.1
$LOCALBASE/lib/libvulkan_intel.so $I386_ROOT/$LOCALBASE/lib/libvulkan_intel.so
$LOCALBASE/lib/libvulkan_radeon.so $I386_ROOT/$LOCALBASE/lib/libvulkan_radeon.so
$LD_32_LIBMAP_CONF
$LD_32_LIBMAP"
if [ -z "$WINE_NO_WOW64" ]

View File

@ -1,5 +1,5 @@
PORTNAME= yuzu
PORTVERSION= s20230626
PORTVERSION= s20230628
CATEGORIES= emulators wayland
.if make(makesum)
MASTER_SITES= https://api.yuzu-emu.org/gamedb/?dummy=/:gamedb
@ -46,9 +46,10 @@ qt6_OPTIONS_EXCLUDE= QT5
USE_GITHUB= yes
GH_ACCOUNT= yuzu-emu
GH_TAGNAME= 2ed8b3cbb
GH_TAGNAME= 217e958a9
GH_TUPLE= yuzu-emu:mbedtls:v2.16.9-115-g8c88150ca:mbedtls/externals/mbedtls \
yuzu-emu:sirit:ab75463:sirit/externals/sirit \
GPUOpen-LibrariesAndSDKs:VulkanMemoryAllocator:v3.0.1-81-g0aa3989:VulkanMemoryAllocator/externals/vma/VulkanMemoryAllocator \
KhronosGroup:SPIRV-Headers:1.5.4.raytracing.fixed-201-gc214f6f:SPIRV_Headers/externals/sirit/externals/SPIRV-Headers \
MerryMage:dynarmic:6.4.7-2-g7da37803:dynarmic/externals/dynarmic \
arun11299:cpp-jwt:v1.4-14-ge12ef06:cpp_jwt/externals/cpp-jwt \

View File

@ -1,12 +1,14 @@
TIMESTAMP = 1687804290
TIMESTAMP = 1687995012
SHA256 (yuzu-s20230424/compatibility_list.json) = 382db629d6b060af722a27dfa9cd6bb60ac16a7544c58322f63aa1be4c0c0fac
SIZE (yuzu-s20230424/compatibility_list.json) = 1801327
SHA256 (yuzu-emu-yuzu-s20230626-2ed8b3cbb_GH0.tar.gz) = 4fba433d511d77d0433b3dad3da7da00f44381070545731945b0dcc92b0d0f70
SIZE (yuzu-emu-yuzu-s20230626-2ed8b3cbb_GH0.tar.gz) = 6108289
SHA256 (yuzu-emu-yuzu-s20230628-217e958a9_GH0.tar.gz) = 2d8079b76e03f9bf8299ac04354af76f8edb5714b61b2d83bf47c1b4e783a0ad
SIZE (yuzu-emu-yuzu-s20230628-217e958a9_GH0.tar.gz) = 6122316
SHA256 (yuzu-emu-mbedtls-v2.16.9-115-g8c88150ca_GH0.tar.gz) = 8cd6d075b4da0ad5fb995eb37390e2e6088be8d41ab1cdfc7e7e4256bd991450
SIZE (yuzu-emu-mbedtls-v2.16.9-115-g8c88150ca_GH0.tar.gz) = 2679189
SHA256 (yuzu-emu-sirit-ab75463_GH0.tar.gz) = 6b61e265be182b7a78075fc1b98ccf80fd33008343205dd0e22a10a439c45319
SIZE (yuzu-emu-sirit-ab75463_GH0.tar.gz) = 23818
SHA256 (GPUOpen-LibrariesAndSDKs-VulkanMemoryAllocator-v3.0.1-81-g0aa3989_GH0.tar.gz) = 843ee43bca9671343fa1bafa518f18ef20fdeb261ebd4c56903fad87d5995d36
SIZE (GPUOpen-LibrariesAndSDKs-VulkanMemoryAllocator-v3.0.1-81-g0aa3989_GH0.tar.gz) = 878251
SHA256 (KhronosGroup-SPIRV-Headers-1.5.4.raytracing.fixed-201-gc214f6f_GH0.tar.gz) = 5e32aefc599e6d26c2373b7296a37980b9c6c7ff6f636d5eee49f79b437e5a51
SIZE (KhronosGroup-SPIRV-Headers-1.5.4.raytracing.fixed-201-gc214f6f_GH0.tar.gz) = 445472
SHA256 (MerryMage-dynarmic-6.4.7-2-g7da37803_GH0.tar.gz) = 804033706d80b4484b9138fa12f1968bc63c9f5e653157fd3ce93c2cd329597c

View File

@ -1,5 +1,5 @@
PORTNAME= gnucash-docs
PORTVERSION= 5.1
PORTVERSION= 5.2
CATEGORIES= finance gnome
MASTER_SITES= SF/gnucash/gnucash%20%28stable%29/${PORTVERSION}

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1682883281
SHA256 (gnucash-docs-5.1.tar.gz) = 59bd2b5ccc1efa7a034b38663e28f855b4ad16ee28b2248d61af8145097152f6
SIZE (gnucash-docs-5.1.tar.gz) = 61227301
TIMESTAMP = 1687720211
SHA256 (gnucash-docs-5.2.tar.gz) = b9eb6581b403665c308b8909cc4d588c9ce483139cbc3ed3638403f61aefb49b
SIZE (gnucash-docs-5.2.tar.gz) = 61227539

View File

@ -1,5 +1,5 @@
PORTNAME= gnucash
PORTVERSION= 5.1
PORTVERSION= 5.3
CATEGORIES= finance gnome
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}%20%28stable%29/${PORTVERSION}

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1682883228
SHA256 (gnucash-5.1.tar.bz2) = 8a6581ddf7c7409db636510601351af724eda363ab59b1d5da8d981033f26f72
SIZE (gnucash-5.1.tar.bz2) = 14794000
TIMESTAMP = 1687812028
SHA256 (gnucash-5.3.tar.bz2) = 1458cb08c585eae9d724bec6f2812bcc03bbe83ed294a46a7897aaab01a6f15a
SIZE (gnucash-5.3.tar.bz2) = 14928584

View File

@ -29,6 +29,7 @@ include/gnucash/cell-factory.h
include/gnucash/cellblock.h
include/gnucash/checkboxcell.h
include/gnucash/combocell.h
include/gnucash/completioncell.h
include/gnucash/datecell.h
include/gnucash/dialog-account.h
include/gnucash/dialog-book-close.h
@ -56,11 +57,7 @@ include/gnucash/gnc-addr-quickfill.h
include/gnucash/gnc-amount-edit.h
include/gnucash/gnc-aqbanking-templates.h
include/gnucash/gnc-autoclear.h
include/gnucash/gnc-basic-gobject.h
include/gnucash/gnc-budget.h
include/gnucash/gnc-cell-renderer-date.h
include/gnucash/gnc-cell-renderer-popup-entry.h
include/gnucash/gnc-cell-renderer-popup.h
include/gnucash/gnc-cell-renderer-text-flag.h
include/gnucash/gnc-cell-renderer-text-view.h
include/gnucash/gnc-cell-view.h
@ -69,7 +66,6 @@ include/gnucash/gnc-commodity.h
include/gnucash/gnc-commodity.hpp
include/gnucash/gnc-component-manager.h
include/gnucash/gnc-currency-edit.h
include/gnucash/gnc-date-delta.h
include/gnucash/gnc-date-edit.h
include/gnucash/gnc-date-format.h
include/gnucash/gnc-date.h
@ -1013,7 +1009,6 @@ share/metainfo/gnucash.appdata.xml
%%DATADIR%%/tip_of_the_day.list
%%DATADIR%%/ui/accelerator-map
%%DATADIR%%/ui/accelerator-map-osx
%%DATADIR%%/ui/osx_accel_map
share/guile/site/2.2/gnucash/app-utils.scm
share/guile/site/2.2/gnucash/app-utils/c-interface.scm
share/guile/site/2.2/gnucash/app-utils/date-utilities.scm

View File

@ -0,0 +1,17 @@
--- libraries/source/spidermonkey/FixFreeBSDClang16.diff.orig 2023-06-28 15:31:44 UTC
+++ libraries/source/spidermonkey/FixFreeBSDClang16.diff
@@ -0,0 +1,14 @@
+diff -ruN a/build/moz.configure/flags.configure b/build/moz.configure/flags.configure
+--- a/build/moz.configure/flags.configure 2020-11-28 17:33:01.000000000 +0100
++++ b/build/moz.configure/flags.configure
+@@ -56,10 +56,5 @@
+ # Temporary until https://bugs.llvm.org/show_bug.cgi?id=45835 gets a
+ # real fix: clang 10 hangs with some ubsan-inserted code constructs.
+ return None
+- if enabled and compiler.version >= '9.0.0':
+- if compiler.type == 'clang':
+- return ['-fexperimental-new-pass-manager']
+- elif compiler.type == 'clang-cl':
+- return ['-Xclang', '-fexperimental-new-pass-manager']
+
+ set_config('MOZ_NEW_PASS_MANAGER_FLAGS', new_pass_manager_flags)

View File

@ -0,0 +1,9 @@
--- libraries/source/spidermonkey/patch.sh.orig 2022-09-23 20:36:41 UTC
+++ libraries/source/spidermonkey/patch.sh
@@ -84,4 +84,6 @@ then
patch -p1 < ../FixFreeBSDCargoChecksum.diff
# https://svnweb.freebsd.org/ports/head/lang/spidermonkey78/files/patch-third__party_rust_cc_src_lib.rs?view=log
patch -p1 < ../FixFreeBSDRustThirdPartyOSDetection.diff
+ # Remove now unknown compiler option causing problems
+ patch -p1 < ../FixFreeBSDClang16.diff
fi

View File

@ -0,0 +1,21 @@
--- src/app.h.orig 2016-05-01 20:07:33 UTC
+++ src/app.h
@@ -153,13 +153,13 @@ class App : public Singleton < App > { (private)
private:
bool running_;
/*! A structure to hold general application informations.*/
- std::auto_ptr<AppContext> context_;
+ std::unique_ptr<AppContext> context_;
/*! A structure to hold player informations.*/
- std::auto_ptr<GameSession> session_;
+ std::unique_ptr<GameSession> session_;
/*! Controls the game logic. */
- std::auto_ptr<GameController> game_ctlr_;
- std::auto_ptr<Screen> screen_;
- std::auto_ptr<System> system_;
+ std::unique_ptr<GameController> game_ctlr_;
+ std::unique_ptr<Screen> screen_;
+ std::unique_ptr<System> system_;
std::string iniPath_;

Some files were not shown because too many files have changed in this diff Show More