Re: x11/openbox broken with 7.4 upgrade

2023-10-18 Thread David Coppa
On Wed, 18 Oct 2023, Stuart Henderson wrote:
> CC'ing maintainer.
> 
> Not tested yet but I think this should do the trick.
> If it works it would make sense to commit to 7.4-stable too.

Hi Stuart, hi all

I'm an Openbox user myself.
The fix for this specific problem is ok, but here's a patch incorporating
all the relevant bugfixes from the Debian package:

Index: x11/openbox/Makefile
===
RCS file: /cvs/ports/x11/openbox/Makefile,v
retrieving revision 1.91
diff -u -p -u -p -r1.91 Makefile
--- x11/openbox/Makefile27 Sep 2023 20:37:19 -  1.91
+++ x11/openbox/Makefile18 Oct 2023 08:54:58 -
@@ -1,7 +1,7 @@
 COMMENT =  small, fast & usable window manager
 
 V =3.6.1
-REVISION = 11
+REVISION = 12
 DISTNAME = openbox-${V}
 SHARED_LIBS += obrender12.0# 32.0
 SHARED_LIBS += obt 1.1 # 2.2
@@ -15,7 +15,7 @@ MAINTAINER =  Benoit Lecocq https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=719620
+
+Index: configure
+--- configure.orig
 configure
+@@ -14647,12 +14647,12 @@ if test -n "$LIBSN_CFLAGS"; then
+ pkg_cv_LIBSN_CFLAGS="$LIBSN_CFLAGS"
+  elif test -n "$PKG_CONFIG"; then
+ if test -n "$PKG_CONFIG" && \
+-{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists 
--print-errors \"libstartup-notification-1.0 >= 0.8\""; } >&5
+-  ($PKG_CONFIG --exists --print-errors "libstartup-notification-1.0 >= 0.8") 
2>&5
++{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists 
--print-errors \"libstartup-notification-1.0 >= 0.8 xi\""; } >&5
++  ($PKG_CONFIG --exists --print-errors "libstartup-notification-1.0 >= 0.8 
xi") 2>&5
+   ac_status=$?
+   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+   test $ac_status = 0; }; then
+-  pkg_cv_LIBSN_CFLAGS=`$PKG_CONFIG --cflags "libstartup-notification-1.0 >= 
0.8" 2>/dev/null`
++  pkg_cv_LIBSN_CFLAGS=`$PKG_CONFIG --cflags "libstartup-notification-1.0 >= 
0.8 xi" 2>/dev/null`
+ test "x$?" != "x0" && pkg_failed=yes
+ else
+   pkg_failed=yes
+@@ -14664,12 +14664,12 @@ if test -n "$LIBSN_LIBS"; then
+ pkg_cv_LIBSN_LIBS="$LIBSN_LIBS"
+  elif test -n "$PKG_CONFIG"; then
+ if test -n "$PKG_CONFIG" && \
+-{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists 
--print-errors \"libstartup-notification-1.0 >= 0.8\""; } >&5
+-  ($PKG_CONFIG --exists --print-errors "libstartup-notification-1.0 >= 0.8") 
2>&5
++{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists 
--print-errors \"libstartup-notification-1.0 >= 0.8 xi\""; } >&5
++  ($PKG_CONFIG --exists --print-errors "libstartup-notification-1.0 >= 0.8 
xi") 2>&5
+   ac_status=$?
+   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+   test $ac_status = 0; }; then
+-  pkg_cv_LIBSN_LIBS=`$PKG_CONFIG --libs "libstartup-notification-1.0 >= 0.8" 
2>/dev/null`
++  pkg_cv_LIBSN_LIBS=`$PKG_CONFIG --libs "libstartup-notification-1.0 >= 0.8 
xi" 2>/dev/null`
+ test "x$?" != "x0" && pkg_failed=yes
+ else
+   pkg_failed=yes
+@@ -14690,9 +14690,9 @@ else
+ _pkg_short_errors_supported=no
+ fi
+ if test $_pkg_short_errors_supported = yes; then
+-  LIBSN_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors 
--cflags --libs "libstartup-notification-1.0 >= 0.8" 2>&1`
++  LIBSN_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors 
--cflags --libs "libstartup-notification-1.0 >= 0.8 xi" 2>&1`
+ else
+-  LIBSN_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs 
"libstartup-notification-1.0 >= 0.8" 2>&1`
++  LIBSN_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs 
"libstartup-notification-1.0 >= 0.8 xi" 2>&1`
+ fi
+   # Put the nasty error message in config.log where it belongs
+   echo "$LIBSN_PKG_ERRORS" >&5
Index: x11/openbox/patches/patch-obrender_theme_c
===
RCS file: x11/openbox/patches/patch-obrender_theme_c
diff -N x11/openbox/patches/patch-obrender_theme_c
--- /dev/null   1 Jan 1970 00:00:00 -
+++ x11/openbox/patches/patch-obrender_theme_c  18 Oct 2023 08:54:58 -
@@ -0,0 +1,33 @@
+Fix for toggled hover and pressed images masks not loaded.
+Toggled hover and pressed images masks in Openbox themes are not loaded
+which broke many existing themes.
+Debian bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=887908
+
+Index: obrender/theme.c
+--- obrender/theme.c.orig
 obrender/theme.c
+@@ -1494,8 +1494,10 @@ static void read_button_styles(XrmDatabase db, const R
+ READ_BUTTON_MASK_COPY(disabled, btn->unpressed_mask);
+ READ_BUTTON_MASK_COPY(hover, btn->unpressed_mask);
+ if (toggled_mask) {
+-READ_BUTTON_MASK_COPY(pressed_toggled, btn->unpressed_toggled_mask);
+-READ_BUTTON_MASK_COPY(hover_toggled, btn->unpressed_toggled_mask);
++g_snprintf(name, 128, 

Re: [print/hplip] Fix printing a test page (lpr path)

2023-09-28 Thread David Coppa
On Thu, 28 Sep 2023, Antoine Jacoutot wrote:

> Ok then. I will revisit the port anyway. 
> But use LOCALBASE please. 

Commit the patch yourself if you want to, my account is probably
long gone since I haven't committed anything in years.

Thanks,
David

Index: print/hplip/Makefile
===
RCS file: /cvs/ports/print/hplip/Makefile,v
retrieving revision 1.211
diff -u -p -u -p -r1.211 Makefile
--- print/hplip/Makefile7 Jun 2023 15:45:56 -   1.211
+++ print/hplip/Makefile28 Sep 2023 05:40:49 -
@@ -18,6 +18,9 @@ PKGNAME-hpcups=   hpcups-${V}
 PKGNAME-hpijs= hpijs-${V}
 PKGNAME-gui=   hplip-gui-${V}
 
+REVISION-main =0
+REVISION-gui = 0
+
 SHARED_LIBS +=  hpdiscovery  0.0  # 0.1
 SHARED_LIBS +=  hpmud2.0  # 0.6
 SHARED_LIBS +=  hpipp0.0  # 0.1
@@ -184,6 +187,7 @@ pre-configure:
${WRKSRC}/ui4/devmgr5.py \
${WRKSRC}/fax/backend/hpfax.py \
${WRKSRC}/base/codes.py \
+   ${WRKSRC}/base/device.py \
${WRKSRC}/base/g.py \
${WRKSRC}/base/queues.py \
${WRKSRC}/base/services.py \
@@ -202,8 +206,11 @@ pre-configure:
${WRKSRC}/scan.py \
${WRKSRC}/setup.py \
${WRKSRC}/ui4/nodevicesdialog.py \
+   ${WRKSRC}/ui4/printsettingstoolbox.py \
+   ${WRKSRC}/ui5/printsettingstoolbox.py \
${WRKSRC}/ui/devmgr4.py \
${WRKSRC}/ui/nodevicesform.py \
+   ${WRKSRC}/ui/scrollprint.py \
${WRKSRC}/logcapture.py \
${WRKSRC}/createPPD.sh
 
Index: print/hplip/patches/patch-base_device_py
===
RCS file: print/hplip/patches/patch-base_device_py
diff -N print/hplip/patches/patch-base_device_py
--- /dev/null   1 Jan 1970 00:00:00 -
+++ print/hplip/patches/patch-base_device_py28 Sep 2023 05:40:49 -
@@ -0,0 +1,15 @@
+Index: base/device.py
+--- base/device.py.orig
 base/device.py
+@@ -2450,9 +2450,9 @@ Content-length: %d\r
+ if remove: rem_str = '-r'
+ 
+ if is_gzip:
+-c = 'gunzip -c %s | lpr %s %s -P%s' % (file_name, 
raw_str, rem_str, printer_name)
++c = 'gunzip -c %s | ${LOCALBASE}/bin/lpr %s %s -P%s' % 
(file_name, raw_str, rem_str, printer_name)
+ else:
+-c = 'lpr -P%s %s %s %s' % (printer_name, raw_str, 
rem_str, file_name)
++c = '${LOCALBASE}/bin/lpr -P%s %s %s %s' % (printer_name, 
raw_str, rem_str, file_name)
+ 
+ exit_code = os_utils.execute(c)
+ 
Index: print/hplip/patches/patch-ui4_printsettingstoolbox_py
===
RCS file: print/hplip/patches/patch-ui4_printsettingstoolbox_py
diff -N print/hplip/patches/patch-ui4_printsettingstoolbox_py
--- /dev/null   1 Jan 1970 00:00:00 -
+++ print/hplip/patches/patch-ui4_printsettingstoolbox_py   28 Sep 2023 
05:40:49 -
@@ -0,0 +1,15 @@
+Index: ui4/printsettingstoolbox.py
+--- ui4/printsettingstoolbox.py.orig
 ui4/printsettingstoolbox.py
+@@ -264,9 +264,9 @@ class PrintSettingsToolbox(QToolBox):
+ 
+ if utils.which('lpr'):
+ if alt_nup:
+-cmd = ' '.join(['psnup', '-%d' % nup, ''.join(['"', p, 
'"']), '| lpr -P', self.cur_printer])
++cmd = ' '.join(['psnup', '-%d' % nup, ''.join(['"', p, 
'"']), '| ${LOCALBASE}/bin/lpr -P', self.cur_printer])
+ else:
+-cmd = ' '.join(['lpr -P', self.cur_printer])
++cmd = ' '.join(['${LOCALBASE}/bin/lpr -P', 
self.cur_printer])
+ 
+ if copies > 1:
+ cmd = ' '.join([cmd, '-#%d' % copies])
Index: print/hplip/patches/patch-ui5_printsettingstoolbox_py
===
RCS file: print/hplip/patches/patch-ui5_printsettingstoolbox_py
diff -N print/hplip/patches/patch-ui5_printsettingstoolbox_py
--- /dev/null   1 Jan 1970 00:00:00 -
+++ print/hplip/patches/patch-ui5_printsettingstoolbox_py   28 Sep 2023 
05:40:49 -
@@ -0,0 +1,15 @@
+Index: ui5/printsettingstoolbox.py
+--- ui5/printsettingstoolbox.py.orig
 ui5/printsettingstoolbox.py
+@@ -247,9 +247,9 @@ class PrintSettingsToolbox(QToolBox):
+ 
+ if utils.which('lpr'):
+ if alt_nup:
+-cmd = ' '.join(['psnup', '-%d' % nup, ''.join(['"', p, 
'"']), '| lpr -P', self.cur_printer])
++cmd = ' '.join(['psnup', '-%d' % nup, ''.join(['"', p, 
'"']), '| ${LOCALBASE}/bin/lpr -P', self.cur_printer])
+ else:
+-cmd = ' '.join(['lpr -P', self.cur_printer])
++cmd = ' 

Re: [print/hplip] Fix printing a test page (lpr path)

2023-09-28 Thread David Coppa
On Thu, 28 Sep 2023, Stuart Henderson wrote:

> On 2023/09/28 08:34, David Coppa wrote:
> > ++c = '${TRUEPREFIX}/bin/lpr -P%s %s %s %s' % 
> > (printer_name, raw_str, rem_str, file_name)
> 
> ${LOCALBASE} (since this is from a different port, not from hplip itself)
> 
> or just /usr/local, imho...

You're right. Updated diff:

Index: print/hplip/Makefile
===
RCS file: /cvs/ports/print/hplip/Makefile,v
retrieving revision 1.211
diff -u -p -u -p -r1.211 Makefile
--- print/hplip/Makefile7 Jun 2023 15:45:56 -   1.211
+++ print/hplip/Makefile28 Sep 2023 05:40:49 -
@@ -18,6 +18,9 @@ PKGNAME-hpcups=   hpcups-${V}
 PKGNAME-hpijs= hpijs-${V}
 PKGNAME-gui=   hplip-gui-${V}
 
+REVISION-main =0
+REVISION-gui = 0
+
 SHARED_LIBS +=  hpdiscovery  0.0  # 0.1
 SHARED_LIBS +=  hpmud2.0  # 0.6
 SHARED_LIBS +=  hpipp0.0  # 0.1
@@ -184,6 +187,7 @@ pre-configure:
${WRKSRC}/ui4/devmgr5.py \
${WRKSRC}/fax/backend/hpfax.py \
${WRKSRC}/base/codes.py \
+   ${WRKSRC}/base/device.py \
${WRKSRC}/base/g.py \
${WRKSRC}/base/queues.py \
${WRKSRC}/base/services.py \
@@ -202,8 +206,11 @@ pre-configure:
${WRKSRC}/scan.py \
${WRKSRC}/setup.py \
${WRKSRC}/ui4/nodevicesdialog.py \
+   ${WRKSRC}/ui4/printsettingstoolbox.py \
+   ${WRKSRC}/ui5/printsettingstoolbox.py \
${WRKSRC}/ui/devmgr4.py \
${WRKSRC}/ui/nodevicesform.py \
+   ${WRKSRC}/ui/scrollprint.py \
${WRKSRC}/logcapture.py \
${WRKSRC}/createPPD.sh
 
Index: print/hplip/patches/patch-base_device_py
===
RCS file: print/hplip/patches/patch-base_device_py
diff -N print/hplip/patches/patch-base_device_py
--- /dev/null   1 Jan 1970 00:00:00 -
+++ print/hplip/patches/patch-base_device_py28 Sep 2023 05:40:49 -
@@ -0,0 +1,15 @@
+Index: base/device.py
+--- base/device.py.orig
 base/device.py
+@@ -2450,9 +2450,9 @@ Content-length: %d\r
+ if remove: rem_str = '-r'
+ 
+ if is_gzip:
+-c = 'gunzip -c %s | lpr %s %s -P%s' % (file_name, 
raw_str, rem_str, printer_name)
++c = 'gunzip -c %s | ${LOCALBASE}/bin/lpr %s %s -P%s' % 
(file_name, raw_str, rem_str, printer_name)
+ else:
+-c = 'lpr -P%s %s %s %s' % (printer_name, raw_str, 
rem_str, file_name)
++c = '${LOCALBASE}/bin/lpr -P%s %s %s %s' % (printer_name, 
raw_str, rem_str, file_name)
+ 
+ exit_code = os_utils.execute(c)
+ 
Index: print/hplip/patches/patch-ui4_printsettingstoolbox_py
===
RCS file: print/hplip/patches/patch-ui4_printsettingstoolbox_py
diff -N print/hplip/patches/patch-ui4_printsettingstoolbox_py
--- /dev/null   1 Jan 1970 00:00:00 -
+++ print/hplip/patches/patch-ui4_printsettingstoolbox_py   28 Sep 2023 
05:40:49 -
@@ -0,0 +1,15 @@
+Index: ui4/printsettingstoolbox.py
+--- ui4/printsettingstoolbox.py.orig
 ui4/printsettingstoolbox.py
+@@ -264,9 +264,9 @@ class PrintSettingsToolbox(QToolBox):
+ 
+ if utils.which('lpr'):
+ if alt_nup:
+-cmd = ' '.join(['psnup', '-%d' % nup, ''.join(['"', p, 
'"']), '| lpr -P', self.cur_printer])
++cmd = ' '.join(['psnup', '-%d' % nup, ''.join(['"', p, 
'"']), '| ${LOCALBASE}/bin/lpr -P', self.cur_printer])
+ else:
+-cmd = ' '.join(['lpr -P', self.cur_printer])
++cmd = ' '.join(['${LOCALBASE}/bin/lpr -P', 
self.cur_printer])
+ 
+ if copies > 1:
+ cmd = ' '.join([cmd, '-#%d' % copies])
Index: print/hplip/patches/patch-ui5_printsettingstoolbox_py
===
RCS file: print/hplip/patches/patch-ui5_printsettingstoolbox_py
diff -N print/hplip/patches/patch-ui5_printsettingstoolbox_py
--- /dev/null   1 Jan 1970 00:00:00 -
+++ print/hplip/patches/patch-ui5_printsettingstoolbox_py   28 Sep 2023 
05:40:49 -
@@ -0,0 +1,15 @@
+Index: ui5/printsettingstoolbox.py
+--- ui5/printsettingstoolbox.py.orig
 ui5/printsettingstoolbox.py
+@@ -247,9 +247,9 @@ class PrintSettingsToolbox(QToolBox):
+ 
+ if utils.which('lpr'):
+ if alt_nup:
+-cmd = ' '.join(['psnup', '-%d' % nup, ''.join(['"', p, 
'"']), '| lpr -P', self.cur_printer])
++cmd = ' '.join(['psnup', '-%d' % nup, ''.join(['"', p, 
'"']), 

Re: [print/hplip] Fix printing a test page (lpr path)

2023-09-28 Thread David Coppa
On Thu, Sep 28, 2023 at 10:46 AM Antoine Jacoutot  wrote:
>
> But this would prevent printing with regular lpr, no? (honestly I don’t even 
> know if it’s possible ).

It seems that cups is a strict requirement for hplip:

https://developers.hp.com/hp-linux-imaging-and-printing/faqs

ciao,
David



[print/hplip] Fix printing a test page (lpr path)

2023-09-28 Thread David Coppa


Hi all,

When trying to print a test page in the final stage of hp-setup,
the following error occurs:

Printing test page to printer ENVY_4520...
lpr: ENVY_4520: unknown printer
error: Print command failed with exit code 256!

This is because /usr/bin/lpr comes before /usr/local/bin/lpr in the
PATH environment variable.

Here's my fix. I don't use the HPLIP GUI, but I applied the same
fix to all occurrences.

Ciao,
David

Index: print/hplip/Makefile
===
RCS file: /cvs/ports/print/hplip/Makefile,v
retrieving revision 1.211
diff -u -p -u -p -r1.211 Makefile
--- print/hplip/Makefile7 Jun 2023 15:45:56 -   1.211
+++ print/hplip/Makefile28 Sep 2023 05:40:49 -
@@ -18,6 +18,9 @@ PKGNAME-hpcups=   hpcups-${V}
 PKGNAME-hpijs= hpijs-${V}
 PKGNAME-gui=   hplip-gui-${V}
 
+REVISION-main =0
+REVISION-gui = 0
+
 SHARED_LIBS +=  hpdiscovery  0.0  # 0.1
 SHARED_LIBS +=  hpmud2.0  # 0.6
 SHARED_LIBS +=  hpipp0.0  # 0.1
@@ -184,6 +187,7 @@ pre-configure:
${WRKSRC}/ui4/devmgr5.py \
${WRKSRC}/fax/backend/hpfax.py \
${WRKSRC}/base/codes.py \
+   ${WRKSRC}/base/device.py \
${WRKSRC}/base/g.py \
${WRKSRC}/base/queues.py \
${WRKSRC}/base/services.py \
@@ -202,8 +206,11 @@ pre-configure:
${WRKSRC}/scan.py \
${WRKSRC}/setup.py \
${WRKSRC}/ui4/nodevicesdialog.py \
+   ${WRKSRC}/ui4/printsettingstoolbox.py \
+   ${WRKSRC}/ui5/printsettingstoolbox.py \
${WRKSRC}/ui/devmgr4.py \
${WRKSRC}/ui/nodevicesform.py \
+   ${WRKSRC}/ui/scrollprint.py \
${WRKSRC}/logcapture.py \
${WRKSRC}/createPPD.sh
 
Index: print/hplip/patches/patch-base_device_py
===
RCS file: print/hplip/patches/patch-base_device_py
diff -N print/hplip/patches/patch-base_device_py
--- /dev/null   1 Jan 1970 00:00:00 -
+++ print/hplip/patches/patch-base_device_py28 Sep 2023 05:40:49 -
@@ -0,0 +1,15 @@
+Index: base/device.py
+--- base/device.py.orig
 base/device.py
+@@ -2450,9 +2450,9 @@ Content-length: %d\r
+ if remove: rem_str = '-r'
+ 
+ if is_gzip:
+-c = 'gunzip -c %s | lpr %s %s -P%s' % (file_name, 
raw_str, rem_str, printer_name)
++c = 'gunzip -c %s | ${TRUEPREFIX}/bin/lpr %s %s -P%s' % 
(file_name, raw_str, rem_str, printer_name)
+ else:
+-c = 'lpr -P%s %s %s %s' % (printer_name, raw_str, 
rem_str, file_name)
++c = '${TRUEPREFIX}/bin/lpr -P%s %s %s %s' % 
(printer_name, raw_str, rem_str, file_name)
+ 
+ exit_code = os_utils.execute(c)
+ 
Index: print/hplip/patches/patch-ui4_printsettingstoolbox_py
===
RCS file: print/hplip/patches/patch-ui4_printsettingstoolbox_py
diff -N print/hplip/patches/patch-ui4_printsettingstoolbox_py
--- /dev/null   1 Jan 1970 00:00:00 -
+++ print/hplip/patches/patch-ui4_printsettingstoolbox_py   28 Sep 2023 
05:40:49 -
@@ -0,0 +1,15 @@
+Index: ui4/printsettingstoolbox.py
+--- ui4/printsettingstoolbox.py.orig
 ui4/printsettingstoolbox.py
+@@ -264,9 +264,9 @@ class PrintSettingsToolbox(QToolBox):
+ 
+ if utils.which('lpr'):
+ if alt_nup:
+-cmd = ' '.join(['psnup', '-%d' % nup, ''.join(['"', p, 
'"']), '| lpr -P', self.cur_printer])
++cmd = ' '.join(['psnup', '-%d' % nup, ''.join(['"', p, 
'"']), '| ${TRUEPREFIX}/bin/lpr -P', self.cur_printer])
+ else:
+-cmd = ' '.join(['lpr -P', self.cur_printer])
++cmd = ' '.join(['${TRUEPREFIX}/bin/lpr -P', 
self.cur_printer])
+ 
+ if copies > 1:
+ cmd = ' '.join([cmd, '-#%d' % copies])
Index: print/hplip/patches/patch-ui5_printsettingstoolbox_py
===
RCS file: print/hplip/patches/patch-ui5_printsettingstoolbox_py
diff -N print/hplip/patches/patch-ui5_printsettingstoolbox_py
--- /dev/null   1 Jan 1970 00:00:00 -
+++ print/hplip/patches/patch-ui5_printsettingstoolbox_py   28 Sep 2023 
05:40:49 -
@@ -0,0 +1,15 @@
+Index: ui5/printsettingstoolbox.py
+--- ui5/printsettingstoolbox.py.orig
 ui5/printsettingstoolbox.py
+@@ -247,9 +247,9 @@ class PrintSettingsToolbox(QToolBox):
+ 
+ if utils.which('lpr'):
+ if alt_nup:
+-cmd = ' '.join(['psnup', '-%d' % nup, ''.join(['"', p, 
'"']), '| lpr -P', self.cur_printer])
++cmd = ' '.join(['psnup', '-%d' % nup, ''.join(['"', p, 

Re: chromium disk write directories

2022-05-04 Thread David Coppa
Il Mer 4 Mag 2022, 22:57 Mihai Popescu  ha scritto:

https://wiki.archlinux.org/title/chromium#Tmpfs

Ciao,
David


Re: ncspot/portaudio: Stream drop error: PortAudio not initialized

2022-02-03 Thread David Coppa
On Thu, Feb 3, 2022 at 4:46 PM Matthias Schmidt  wrote:
>
> Hi Klemens,
>
> * Klemens Nanni wrote:
> > Playing music in ncspot reliably stops after some time with
> > "Stream drop error: PortAudio not initialized".
> >
> > Not sure when this started to happen, but I remember times when there was no
> > such issue and I could listen for hours without error.  Now audio usually
> > stops after a few tracks.
> >
> > I'm running ncspot 0.9.5 on an X230 with internal audio, no sndiod flags or
> > fancy audio devices.
> >
> > Once this error occurs, I can just start playing again and ncspot recovers
> > without restart.
> >
> > Has anyone else experienced this?  Any advice on where to start with this?
>
> I know this error, however, here (T450s, -current) it occurs very
> seldom and usually after a suspend resume cycle.  ncspot also doesn't crash
> here.  I restart the song and fix the garbled screen display with
> Ctrl+l.
>
> Cheers
>
> Matthias
>

Probably this error is happening since the portaudio-rs dependency has
been updated from 0.3.1 to 0.3.2.

It was on Tue Jun 2 2020: could it be possible?

Ciao,
David
-- 
"If you try a few times and give up, you'll never get there. But if
you keep at it... There's a lot of problems in the world which can
really be solved by applying two or three times the persistence that
other people will."
-- Stewart Nelson



Re: devel/boost broken by libc++ update

2019-02-04 Thread David Coppa
On Tue, Feb 5, 2019 at 12:21 AM Christian Weisgerber  wrote:
>
> It looks like the libc++ 7.0.1 update on our clang archs has broken
> devel/boost:
>
> In file included from libs/log/src/syslog_backend.cpp:29:
> In file included from ./boost/asio/buffer.hpp:27:
> In file included from ./boost/asio/detail/string_view.hpp:23:
> /usr/include/c++/v1/experimental/string_view:11:2: error: 
> " has been removed. Use  instead."
> #error " has been removed. Use  
> instead."
>  ^

Hi,

Already fixed upstream:

https://github.com/boostorg/asio/commit/43874d5497414c67655d901e48c939ef01337edb

Ciao!
David



Re: unable to use audio/vagalume

2018-12-21 Thread David Coppa
Il giorno ven 21 dic 2018, 10:29 Solene Rapenne  ha
scritto:

> when starting vagalum, the gtk window appear but also pop an error "error
> while
> initialize audio system" and the console output reports "**
> (vagalume:25148):
> CRITICAL **: 10:17:42.301: Error creating GStreamer elements"
>
> $HOMEPAGE doesn't exist anymore and version 0.8.2 is from 2010
>
> does someone know how to fix this?
>

Quoting from wikipedia (https://en.m.wikipedia.org/wiki/Last.fm):
<>

So I think vagalume can be safely removed from the tree.

Ciao,
David


Re: math/R: libreadline.so.4.0: undefined symbol 'tgetent'

2018-11-06 Thread David Coppa
Il giorno mar 6 nov 2018, 20:58 Ingo Feinerer  ha
scritto:

> Hi,
>
> math/R now gets killed at start-up with:
>
> R:/usr/lib/libreadline.so.4.0: undefined symbol 'tgetent'
> ld.so: R: lazy binding failed!
> Killed
>
> I noticed there was some readline restructuring/discussion in the last
> weeks but do not know about the current status or best practice now.
>
> So if someone immediately notices what is going on here I appreciate all
> pointers or patches.
>

Probably a missing "-ltermcap"?


Re: Qt5Webkit -> USE_WXNEEDED

2018-08-02 Thread David Coppa
On Thu, Aug 2, 2018 at 11:38 AM, Stuart Henderson  wrote:
> On 2018/08/02 07:17, Rafael Sadowski wrote:
>> If no concerns I would like to commit the patch.
>
> I'm a bit confused about this because:
>
> 1. we have a patch described as "Enable W^X in QtWebkit's JIT"
> in x11/qt5/qtwebkit/patches/patch-Source_JavaScriptCore_jsc_pro
>
> 2. these programs (at least the ones I tested, which isn't all of
> them) already work - I see they are somehow getting the OPENBSD_WXNEEDED
> section added despite not having USE_WXNEEDED
>
> Any idea what's going on?

cmake "automagically" adds "-Wl,-z,wxneeded", see
devel/cmake/patches/patch-Source_cmComputeLinkInformation_cxx

Ciao!
David



Re: update net/amule clang6 fix

2018-04-11 Thread David Coppa
On Wed, Apr 11, 2018 at 4:52 PM, David CARLIER  wrote:
> Hi,
>
> Here a small fix for amule.
>
> Regards.

Ok with me.

Thanks,
David



Re: clang 6 fix devel/jdk/1.8

2018-04-11 Thread David Coppa
On Wed, Apr 11, 2018 at 12:21 PM, Stuart Henderson <s...@spacehopper.org> wrote:
> On 2018/04/11 10:02, David Coppa wrote:
>> Hi,
>>
>> Does it work at runtime?
>>
>
> It doesn't work for me. Here's a backtrace from a standard build, I'll try
> again and see if I can get it with symbols.
>
> (gdb) bt
> #0  0x08908ee471c6 in NativeCallStack::NativeCallStack ()
>from /usr/local/jdk-1.8.0/jre/lib/amd64/server/libjvm.so
> #1  0x08908ee0268e in MemTracker::init_tracking_level () from 
> /usr/local/jdk-1.8.0/jre/lib/amd64/server/libjvm.so
> #2  0x08908e912880 in ResourceObj::operator new () from 
> /usr/local/jdk-1.8.0/jre/lib/amd64/server/libjvm.so
> #3  0x08908eee12fb in _GLOBAL__sub_I_reflectionUtils.cpp ()
>from /usr/local/jdk-1.8.0/jre/lib/amd64/server/libjvm.so
> #4  0x08908e8401c3 in pthread_atfork () from 
> /usr/local/jdk-1.8.0/jre/lib/amd64/server/libjvm.so
> #5  0x08908e83f359 in _init () from 
> /usr/local/jdk-1.8.0/jre/lib/amd64/server/libjvm.so
> #6  0x7f7f6120 in ?? ()
> #7  0x0890a7a0bc94 in _dl_call_init_recurse (object=0x890c178c800, 
> initfirst=0)
> at /usr/src/libexec/ld.so/loader.c:722
> #8  0x0890a7a02b50 in dlopen (libname=0x7f7f6a30 
> "/usr/local/jdk-1.8.0/jre/lib/amd64/server/libjvm.so",
> flags=Variable "flags" is not available.
> ) at /usr/src/libexec/ld.so/dlfcn.c:126
> #9  0x088dcb805eef in LoadJavaVM () from /usr/local/jdk-1.8.0/bin/java
> #10 0x088dcb8016b2 in JLI_Launch () from /usr/local/jdk-1.8.0/bin/java
> #11 0x088dcb8084cd in main () from /usr/local/jdk-1.8.0/bin/java
>

Ok, so we also need this patch from FreeBSD:

https://svnweb.freebsd.org/ports/head/java/openjdk8/files/patch-hotspot_src_share_vm_services_memTracker.cpp?view=markup

https://svnweb.freebsd.org/ports/head/java/openjdk8/files/patch-hotspot_src_share_vm_services_memTracker.cpp?revision=459368=co

Ciao!
David



Re: clang 6 fix devel/jdk/1.8

2018-04-11 Thread David Coppa
On Wed, Apr 11, 2018 at 4:23 AM, Matthew Martin  wrote:
> Add lots of whitespace and change a few types from signed to unsigned.
> Probably should get a REVISION bump, but I'm not sure where that goes
> for subpackages.
>
> Is anyone already an OpenJDK contributor or know someone upstream with
> whom I could work?

Hi,

Does it work at runtime?



CVS: cvs.openbsd.org: ports

2018-02-11 Thread David Coppa
CVSROOT:/cvs
Module name:ports
Changes by: dco...@cvs.openbsd.org  2018/02/11 03:37:51

Modified files:
audio/ncmpcpp  : Makefile distinfo 
audio/ncmpcpp/patches: patch-configure patch-doc_ncmpcpp_1 
   patch-src_status_cpp 
Removed files:
audio/ncmpcpp/patches: patch-doc_config 
   patch-src_configuration_cpp 
   patch-src_curses_strbuffer_h 
   patch-src_curses_window_cpp 
   patch-src_screens_media_library_cpp 

Log message:
Update to ncmpcpp-0.8.1 and remove useless patches



Re: UPDATE: devel/cmake

2018-02-10 Thread David Coppa
On Sat, 10 Feb 2018, Rafael Sadowski wrote:

> Here's the update to CMake-3.10.2.
> 
> It certainly needs a bulk to find eventual failures in dependant ports.
> Please build and run it with jsoncpp 1.8.4 (extra mail),
> 
> Feedback welcome.

Hi Rafael,

Please don't remove stuff that it's there on purpose.

The wxneeded bits into patch-Source_cmComputeLinkInformation_cxx
for example... By removing them you will break (at runtime)
www/otter-browser and mail/trojita, among others.

Another minor nit: '--system-jsoncpp' is not needed, you already
have '--system-libs' some lines below.

Remaining parts are all good: 100% tests passed, 0 tests failed out
of 427

Here's my revised diff:

Index: Makefile
===
RCS file: /cvs/ports/devel/cmake/Makefile,v
retrieving revision 1.165
diff -u -p -u -p -r1.165 Makefile
--- Makefile22 Sep 2017 13:42:54 -  1.165
+++ Makefile10 Feb 2018 15:53:08 -
@@ -4,7 +4,7 @@ DPB_PROPERTIES =parallel
 
 COMMENT =  portable build system
 
-VER =  3.9.3
+VER =  3.10.2
 DISTNAME = cmake-${VER}
 CATEGORIES =   devel
 
@@ -17,8 +17,8 @@ MASTER_SITES =${HOMEPAGE}files/v${VER:R
 # BSD
 PERMIT_PACKAGE_CDROM = Yes
 
-WANTLIB += archive c curl expat form jsoncpp m ncurses pthread
-WANTLIB += rhash ${COMPILER_LIBCXX} z
+WANTLIB += ${COMPILER_LIBCXX} archive c curl curses expat form
+WANTLIB += jsoncpp m rhash uv z
 
 # XXX: Ninja is broken on m88k
 .if ${MACHINE_ARCH} != "m88k"
@@ -28,6 +28,7 @@ BUILD_DEPENDS =   devel/ninja>=1.5.1
 BUILD_DEPENDS +=   textproc/py-sphinx>=1.4
 
 LIB_DEPENDS =  archivers/libarchive \
+   devel/libuv \
devel/jsoncpp \
net/curl \
security/rhash
@@ -38,7 +39,6 @@ CONFIGURE_ARGS =  --prefix=${PREFIX} \
--docdir=share/doc/cmake \
--mandir=man \
--no-qt-gui \
-   --no-server \
--parallel=${MAKE_JOBS} \
--sphinx-build=${LOCALBASE}/bin/sphinx-build \
--sphinx-html \
Index: distinfo
===
RCS file: /cvs/ports/devel/cmake/distinfo,v
retrieving revision 1.50
diff -u -p -u -p -r1.50 distinfo
--- distinfo22 Sep 2017 13:42:54 -  1.50
+++ distinfo10 Feb 2018 15:53:08 -
@@ -1,2 +1,2 @@
-SHA256 (cmake-3.9.3.tar.gz) = jq914ekyFZqumKtedJFJlUVVS+YqCMvLx8dchLmZ8oo=
-SIZE (cmake-3.9.3.tar.gz) = 7705238
+SHA256 (cmake-3.10.2.tar.gz) = gND6rUq1beB6ohp/xpLIjEzmFW1CsFecaWIASnCjIYs=
+SIZE (cmake-3.10.2.tar.gz) = 7824452
Index: patches/patch-CMakeLists_txt
===
RCS file: /cvs/ports/devel/cmake/patches/patch-CMakeLists_txt,v
retrieving revision 1.23
diff -u -p -u -p -r1.23 patch-CMakeLists_txt
--- patches/patch-CMakeLists_txt26 Aug 2017 17:53:35 -  1.23
+++ patches/patch-CMakeLists_txt10 Feb 2018 15:53:08 -
@@ -2,7 +2,7 @@ $OpenBSD: patch-CMakeLists_txt,v 1.23 20
 Index: CMakeLists.txt
 --- CMakeLists.txt.orig
 +++ CMakeLists.txt
-@@ -305,6 +305,15 @@ macro (CMAKE_BUILD_UTILITIES)
+@@ -317,6 +317,15 @@ macro (CMAKE_BUILD_UTILITIES)
  CMAKE_SET_TARGET_FOLDER(${KWSYS_NAMESPACE}TestSharedForward 
"${kwsys_folder}")
endif()
  
@@ -18,7 +18,7 @@ Index: CMakeLists.txt
#-
# Setup third-party libraries.
# Everything in the tree should be able to include files from the
-@@ -342,7 +351,8 @@ macro (CMAKE_BUILD_UTILITIES)
+@@ -350,7 +359,8 @@ macro (CMAKE_BUILD_UTILITIES)
message(FATAL_ERROR
  "CMAKE_USE_SYSTEM_LIBRHASH is ON but LibRHash is not found!")
  endif()
@@ -28,7 +28,7 @@ Index: CMakeLists.txt
else()
  set(CMAKE_LIBRHASH_LIBRARIES cmlibrhash)
  add_subdirectory(Utilities/cmlibrhash)
-@@ -512,7 +522,8 @@ macro (CMAKE_BUILD_UTILITIES)
+@@ -516,7 +526,8 @@ macro (CMAKE_BUILD_UTILITIES)
message(FATAL_ERROR
  "CMAKE_USE_SYSTEM_JSONCPP is ON but a JsonCpp is not found!")
  endif()
@@ -38,22 +38,13 @@ Index: CMakeLists.txt
else()
  set(CMAKE_JSONCPP_LIBRARIES cmjsoncpp)
  add_subdirectory(Utilities/cmjsoncpp)
-@@ -522,7 +533,7 @@ macro (CMAKE_BUILD_UTILITIES)
-   #-
-   # Build libuv library.
-   if(NOT DEFINED CMAKE_USE_LIBUV)
--set(CMAKE_USE_LIBUV 1)
-+set(CMAKE_USE_LIBUV 0)
- if(APPLE)
-   include(CheckCSourceCompiles)
-   check_c_source_compiles("
-@@ -552,7 +563,8 @@ int main(void) { return 0; }
- message(FATAL_ERROR
-   "CMAKE_USE_SYSTEM_LIBUV is ON but a libuv is not found!")
-   endif()
--  set(CMAKE_LIBUV_LIBRARIES LibUV::LibUV)
-+  set(CMAKE_LIBUV_INCLUDES 

Re: UPDATE: devel/boost

2018-01-28 Thread David Coppa
Il 28 gen 2018 16:32, "Landry Breuil"  ha scritto:

On Sun, Jan 28, 2018 at 11:29:35AM +0100, Landry Breuil wrote:
> On Fri, Jan 26, 2018 at 02:38:34PM +0100, Rafael Sadowski wrote:
> > Hi All!
> >
> > This time easier than last time and a relative easy update to the
> > current boost.
> >
> > Changelog: http://www.boost.org/users/history/version_1_66_0.html
> >
> > I did not build all consumers. Bulk feedback wanted.
>
> Seen the same kea failure. So far (more or less halfway through the
> bulk), games/pokerth also failed:
>
> ../src/third_party/websocketpp/websocketpp/transport/asio/connection.hpp:422:45:
error: use of class template 'boost::asio::strand' requires template
arguments
> m_strand.reset(new boost::asio::strand(*io_service));
>
> Which seems like the kea failure. FreeBSD also saw it (cf
> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=224123) and fixed
> it with patches from upstream (cf https://github.com/pokerth/
pokerth/issues/338)

audio/mumble also fails but with a different error:

AudioOutput.cpp:434:23: fatal error: expected '(' for function-style cast
or type construction
if (std::abs(front[0] * top[0] +
front[1] * top[1] + front[2] * top[2]) > 0.01f) {
 ~^
190 warnings and 1 error generated.



This too has been fixed upstream:

https://github.com/mumble-voip/mumble/commit/ea861fe86743c8402bbad77d8d1dd9de8dce447e

Cheers,
David


Re: [David Coppa] Re: UPDATE: devel/boost

2018-01-27 Thread David Coppa
I only tested a few deps on sparc64 so far.   devel/dlib and
games/bastet* succeed, but net/kea** seems to suffer:



It's also upstream:

https://github.com/isc-projects/kea/commit/17ed090beb6cefa78e29a95c645eb6da4edf8028


Re: UPDATE: devel/boost

2018-01-27 Thread David Coppa
Il 27 gen 2018 3:56 PM, "Jeremie Courreges-Anglas"  ha
scritto:

On Fri, Jan 26 2018, Rafael Sadowski  wrote:
> Hi All!

Hey,

> This time easier than last time and a relative easy update to the
> current boost.
>
> Changelog: http://www.boost.org/users/history/version_1_66_0.html
>
> I did not build all consumers. Bulk feedback wanted.

I only tested a few deps on sparc64 so far.   devel/dlib and
games/bastet* succeed, but net/kea** seems to suffer:

[...]
c++ --std=c++11 -DHAVE_CONFIG_H -I. -I../../.. -I../../../src/lib
-I../../../src/lib -I/usr/local/include -DOS_BSD -I../../../ext/coroutine
-DBOOST_ASIO_HEADER_ONLY -DBOOST_ASIO_DISABLE_THREADS=1 -Wall -Wextra
-Wnon-virtual-dtor -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare
-pthread -Wno-missing-field-initializers -fPIC -O2 -pipe -MT
libkea_asiolink_la-io_socket.lo -MD -MP -MF
.deps/libkea_asiolink_la-io_socket.Tpo
-c io_socket.cc -fPIC -DPIC -o .libs/libkea_asiolink_la-io_socket.o
In file included from io_service.cc:9:0:
../../../src/lib/asiolink/io_service.h:14:11: error: using typedef-name
'boost::asio::io_service' after 'class'
 class io_service;
   ^
In file included from /usr/local/include/boost/asio.hpp:69:0,
 from ../../../src/lib/asiolink/asio_wrapper.h:67,
 from io_service.cc:8:
/usr/local/include/boost/asio/io_service.hpp:27:20: note:
'boost::asio::io_service' has a previous declaration here
 typedef io_context io_service;
^
In file included from ../../../src/lib/asiolink/interval_timer.h:13:0,
 from interval_timer.cc:9:
../../../src/lib/asiolink/io_service.h:14:11: error: using typedef-name
'boost::asio::io_service' after 'class'
 class io_service;
   ^
In file included from /usr/local/include/boost/asio.hpp:69:0,
 from ../../../src/lib/asiolink/asio_wrapper.h:67,
 from interval_timer.cc:8:
/usr/local/include/boost/asio/io_service.hpp:27:20: note:
'boost::asio::io_service' has a previous declaration here
 typedef io_context io_service;
^
Error while executing c++ --std=c++11 -DHAVE_CONFIG_H -I. -I../../..
-I../../../src/lib -I../../../src/lib -I/usr/local/include -DOS_BSD
-I../../../ext/coroutine -DBOOST_ASIO_HEADER_ONLY
-DBOOST_ASIO_DISABLE_THREADS=1 -Wall -Wextra -Wnon-virtual-dtor
-Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -pthread
-Wno-missing-field-initializers -fPIC -O2 -pipe -MT
libkea_asiolink_la-io_service.lo -MD -MP -MF
.deps/libkea_asiolink_la-io_service.Tpo
-c io_service.cc -fPIC -DPIC -o .libs/libkea_asiolink_la-io_service.o
*** Error 2 in target 'libkea_asiolink_la-io_service.lo'
Error while executing c++ --std=c++11 -DHAVE_CONFIG_H -I. -I../../..
-I../../../src/lib -I../../../src/lib -I/usr/local/include -DOS_BSD
-I../../../ext/coroutine -DBOOST_ASIO_HEADER_ONLY
-DBOOST_ASIO_DISABLE_THREADS=1 -Wall -Wextra -Wnon-virtual-dtor
-Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -pthread
-Wno-missing-field-initializers -fPIC -O2 -pipe -MT
libkea_asiolink_la-interval_timer.lo -MD -MP -MF
.deps/libkea_asiolink_la-interval_timer.Tpo
-c interval_timer.cc -fPIC -DPIC -o .libs/libkea_asiolink_la-
interval_timer.o
*** Error 1 in target 'libkea_asiolink_la-interval_timer.lo'
mv -f .deps/libkea_asiolink_la-io_socket.Tpo .deps/libkea_asiolink_la-io_
socket.Plo
mv -f .deps/libkea_asiolink_la-io_endpoint.Tpo .deps/libkea_asiolink_la-io_
endpoint.Plo
*** Error 1 in src/lib/asiolink (Makefile:601 'libkea_asiolink_la-interval_
timer.lo')
*** Error 2 (Makefile:622 'libkea_asiolink_la-io_service.lo')
*** Error 1 in src/lib/asiolink (Makefile:701 'all-recursive')
*** Error 1 in src/lib (Makefile:431 'all-recursive')
*** Error 1 in src (Makefile:432 'all-recursive')
*** Error 1 in . (Makefile:600 'all-recursive')
*** Error 2 in /usr/ports/pobj/kea-1.2.0/kea-1.2.0 (Makefile:441 'all')
*** Error 2 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2742
'/usr/ports/pobj/kea-1.2.0/.build_done')
*** Error 1 in /usr/ports/net/kea (/usr/ports/infrastructure/mk/
bsd.port.mk:2419 'all')


https://git.archlinux.org/svntogit/community.git/plain/trunk/asiolink-fix-build-with-boost-1.66.patch?h=packages/kea

Ciao,
David


Re: fix i3 horizontal split

2017-11-08 Thread David Coppa
Il 08 nov 2017 6:41 PM, "Daniel Jakots"  ha scritto:

Hi David (and ports@),

Since 4.14.1, $mod+e is broken. It has been reported upstream multiple
times:
https://github.com/i3/i3/issues/2846
https://github.com/i3/i3/issues/3026

I tried to backport the first chunk (see the patch inline) but it was
not enough, with the second chunk now it woks as before.

Comments? OK?


Sure, it's from upstream.
Ok with me


Cheers,
Daniel


Index: Makefile
===
RCS file: /cvs/ports/x11/i3/Makefile,v
retrieving revision 1.110
diff -u -p -r1.110 Makefile
--- Makefile21 Oct 2017 19:22:04 -  1.110
+++ Makefile8 Nov 2017 17:39:45 -
@@ -3,7 +3,7 @@
 COMMENT =  improved dynamic tiling window manager

 DISTNAME = i3-4.14.1
-REVISION = 0
+REVISION = 1
 CATEGORIES =   x11

 EXTRACT_SUFX = .tar.bz2
Index: patches/patch-src_con_c
===
RCS file: patches/patch-src_con_c
diff -N patches/patch-src_con_c
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-src_con_c 8 Nov 2017 17:39:45 -
@@ -0,0 +1,28 @@
+$OpenBSD$
+
+backport https://github.com/i3/i3/pull/2849/commits/
c028f0cb173ebc4c7033c758c7f942adfbc224af
+an https://github.com/i3/i3/pull/2849/commits/
26014ca1a22c1b862c782f4dfa3d40a5ab629627
+
+Index: src/con.c
+--- src/con.c.orig
 src/con.c
+@@ -1735,7 +1756,7 @@ void con_set_layout(Con *con, layout_t layout) {
+ con->workspace_layout = ws_layout;
+ DLOG("Setting layout to %d\n", layout);
+ con->layout = layout;
+-} else if (layout == L_STACKED || layout == L_TABBED) {
++} else if (layout == L_STACKED || layout == L_TABBED || layout ==
L_SPLITV || layout == L_SPLITH) {
+ DLOG("Creating new split container\n");
+ /* 1: create a new split container */
+ Con *new = con_new(NULL, NULL);
+@@ -1827,6 +1848,10 @@ void con_toggle_layout(Con *con, const char
*toggle_mo
+  * change to the opposite split layout. */
+ if (parent->layout != L_SPLITH && parent->layout !=
L_SPLITV) {
+ layout = parent->last_split_layout;
++/* In case last_split_layout was not initialized… */
++if (layout == L_DEFAULT) {
++layout = L_SPLITH;
++}
+ } else {
+ layout = (parent->layout == L_SPLITH) ? L_SPLITV :
L_SPLITH;
+ }


CVS: cvs.openbsd.org: ports

2017-10-16 Thread David Coppa
CVSROOT:/cvs
Module name:ports
Changes by: dco...@cvs.openbsd.org  2017/10/16 15:27:36

Modified files:
security/wpa_supplicant: Makefile 
Added files:
security/wpa_supplicant/patches: patch-src_common_wpa_common_h 
 patch-src_rsn_supp_wpa_c 
 patch-src_rsn_supp_wpa_ft_c 
 patch-src_rsn_supp_wpa_i_h 

Log message:
Security fixes for KRACK Attacks, from upstream
(https://w1.fi/security/2017-1/wpa-packet-number-reuse-with-replayed-messages.txt):

- Prevent reinstallation of an already in-use group key

- Extend protection of GTK/IGTK reinstallation of WNM-Sleep Mode cases

- Prevent installation of an all-zero TK

- FT: Do not allow multiple Reassociation Response frames



Re: linking error when compiling zdoom

2017-10-02 Thread David Coppa
On Mon, Oct 2, 2017 at 8:17 AM, Timo Myyrä  wrote:
> Hi,
>
> I'm trying to make port of zdoom but I can't get it to link.
>
> The error I got was:
> CMakeFiles/zdoom.dir/scripting/vm/vmexec.cpp.o: In function 
> `__cxx_global_var_init':
> /home/tmy/tmp/gzdoom-g3.1.0/src/scripting/vm/vmexec.cpp:(.text+0x42): 
> undefined reference to `__cxa_thread_atexit'
> c++: error: linker command failed with exit code 1 (use -v to see invocation)
> *** Error 1 in . (src/CMakeFiles/zdoom.dir/build.make:10917 'gzdoom')
>
> I got a bit of help in this and added following to Makefile:
> CONFIGURE_ARGS+= -DCMAKE_EXE_LINKER_FLAGS="-lc++abi"
>
> That changed the above linking error to:
> usr/bin/../lib/libc++abi.so.0.0: undefined reference to 
> `pthread_rwlock_rdlock'
> /usr/bin/../lib/libc++abi.so.0.0: undefined reference to 
> `pthread_rwlock_unlock'
> /usr/bin/../lib/libc++abi.so.0.0: undefined reference to 
> `pthread_rwlock_wrlock'
>
>
> I tried to change CONFIGURE_ARGS as follows:
> CONFIGURE_ARGS+= -DCMAKE_EXE_LINKER_FLAGS="-lpthread -lc++abi"
>
> After compiling the linking failed with "undefined reference to
> `__cxa_thread_atexit'" which seems odd as it should be in the c++abi library.
>
> Any idea whats going on?

Unfortunately, our libc lacks __cxa_thread_atexit().
It is required for C++ TLS, for registering cleanups to be run when a
thread exits.

Mark Kettenis posted a diff on tech@ some time ago[1] but, afaik, it
has not yet been committed.

[1] https://marc.info/?l=openbsd-tech=150246192013629

Ciao!
David



Re: [security] graphics/libraw

2017-09-29 Thread David Coppa
On Thu, Sep 28, 2017 at 10:18 PM, Rafael Sadowski  wrote:
> This is bugfix release, changes are (compared to 0.18.2):
>
> - Fix for possible buffer overrun in kodak_65000 decoder
> - Fix for possible heap overrun in Canon makernotes parser
> - Fix for CVE-2017-13735 CVE-2017-14265: Additional check for X-Trans
>   CFA pattern data
>
> -- https://www.libraw.org/news/libraw-0-18-5
>
> No shared libs changes detected by nm(1).  I'd like to take the
> maintainership.
>
> Best regards,
>
> Rafael Sadowksi

ok dcoppa@

But please, since we're approaching the lock, also wait for an ok from
naddy@ or sthen@ ...

Ciao!
David



CVS: cvs.openbsd.org: ports

2017-09-28 Thread David Coppa
CVSROOT:/cvs
Module name:ports
Changes by: dco...@cvs.openbsd.org  2017/09/28 13:23:02

Modified files:
emulators/uae/patches: patch-configure_in 

Log message:
ops, nuke bogus whitespaces



CVS: cvs.openbsd.org: ports

2017-09-28 Thread David Coppa
CVSROOT:/cvs
Module name:ports
Changes by: dco...@cvs.openbsd.org  2017/09/28 13:16:36

Modified files:
emulators/uae  : Makefile 
Added files:
emulators/uae/patches: patch-acsite_m4 patch-configure_in 
Removed files:
emulators/uae/patches: patch-configure 

Log message:
Unbreak autoconf checks with clang by not using nested functions

help and ok naddy@



Re: fix cantor

2017-09-28 Thread David Coppa
On Thu, 28 Sep 2017, Jeremie Courreges-Anglas wrote:

> +cc maintainer

CCing Vadim too...

> On Thu, Sep 28 2017, David Coppa <dco...@gmail.com> wrote:
> > On Wed, 27 Sep 2017, Christian Weisgerber wrote:
> >
> >> Jeremie Courreges-Anglas:
> >> 
> >> > > * Mark as BROKEN the remaining ports that have failed to build since
> >> > >   the clang switch on amd64/i386.
> >> > 
> >> > Should probably use NOT_FOR_ARCHS = ${CLANG_ARCHS}.
> >> 
> >> >   
> >> > http://exopi.exo.bsdfrog.org/logs/old/amd64/2017-09-26T21:25:35+0200/paths/x11/kde4/cantor.log
> >> 
> >> No.  cantor only fails sometimes.  Something in the build environment
> >> causes -I/usr/local/include to be lost.
> >
> > The diff below (from upstream) should fix the thing.
> >
> > I did five, six test builds without problems, but who knows...
> >
> > BTW, it's a more elegant solution and I'd like to have it in
> > nonetheless.
> 
> It looks better indeed, and you seem to have performed sufficient
> testing.  This should probably be committed for 6.2.
> 
> > Ciao!
> > David

Index: Makefile
===
RCS file: /cvs/ports/x11/kde4/cantor/Makefile,v
retrieving revision 1.17
diff -u -p -u -p -r1.17 Makefile
--- Makefile27 Jul 2017 11:57:48 -  1.17
+++ Makefile28 Sep 2017 17:28:22 -
@@ -2,7 +2,7 @@
 
 COMMENT =  KDE mathematical applications
 DISTNAME = cantor-${MODKDE4_VERSION}
-REVISION = 7
+REVISION = 8
 
 # Bogus message about "backend /usr/local/bin/latex" at startup when no
 # backend is choosen on the command line.
Index: patches/patch-cmake_FindLuaJIT_cmake
===
RCS file: /cvs/ports/x11/kde4/cantor/patches/patch-cmake_FindLuaJIT_cmake,v
retrieving revision 1.1
diff -u -p -u -p -r1.1 patch-cmake_FindLuaJIT_cmake
--- patches/patch-cmake_FindLuaJIT_cmake6 Aug 2017 20:04:16 -   
1.1
+++ patches/patch-cmake_FindLuaJIT_cmake28 Sep 2017 17:28:22 -
@@ -1,23 +1,40 @@
 $OpenBSD: patch-cmake_FindLuaJIT_cmake,v 1.1 2017/08/06 20:04:16 zhuk Exp $
-The luajit headers are included using  idiom,
-so use the same for LUAJIT_INCLUDE_DIR.
-Tweak DIR vs. DIRS while there.
+
+commit 0b6f7a5721e779dc6f67bc22d5b2511d010f19da
+Author: Vadim A. Misbakh-Soloviov <g...@mva.name>
+Date:   Wed, 15 Feb 2017 15:21:47 -0300
+
+Fix the hardcoded include for lua backend
+
+Currently Cantor has a hardcoded include to get lua.hpp library.
+This patch fix the search to include different versions of lua
+library. The hardcoded solution is no more necessary.
 
 Index: cmake/FindLuaJIT.cmake
 --- cmake/FindLuaJIT.cmake.orig
 +++ cmake/FindLuaJIT.cmake
-@@ -1,12 +1,12 @@
- SET (LuaJIT_FOUND FALSE)
- SET (LUAJIT_LIBRARY_NAME luajit-5.1)
+@@ -1,14 +1,13 @@
+-SET (LuaJIT_FOUND FALSE)
+-SET (LUAJIT_LIBRARY_NAME luajit-5.1)
 -SET (LUAJIT_INCLUDE_DIRS /usr/include/luajit-2.0 
/usr/local/include/luajit-2.0)
++find_package(PkgConfig)
  
 -FIND_PATH(LUAJIT_INCLUDE_DIR lua.h ${LUAJIT_INCLUDE_DIRS} )
-+FIND_PATH(LUAJIT_INCLUDE_DIR luajit-2.0/lua.h)
- FIND_LIBRARY (LUAJIT_LIBRARY NAMES ${LUAJIT_LIBRARY_NAME} PATHS 
${CMAKE_LIBRARY_PATH})
+-FIND_LIBRARY (LUAJIT_LIBRARY NAMES ${LUAJIT_LIBRARY_NAME} PATHS 
${CMAKE_LIBRARY_PATH})
++pkg_check_modules(LUAJIT QUIET luajit)
  
- IF (LUAJIT_INCLUDE_DIR AND LUAJIT_LIBRARY)
- SET (LuaJIT_FOUND TRUE)
-+SET (LUAJIT_INCLUDE_DIRS ${LUAJIT_INCLUDE_DIR})
- ENDIF (LUAJIT_INCLUDE_DIR AND LUAJIT_LIBRARY)
+-IF (LUAJIT_INCLUDE_DIR AND LUAJIT_LIBRARY)
+-SET (LuaJIT_FOUND TRUE)
+-ENDIF (LUAJIT_INCLUDE_DIR AND LUAJIT_LIBRARY)
++find_path(LUAJIT_INCLUDE_DIR lua.hpp HINTS ${LUAJIT_INCLUDEDIR} 
${LUAJIT_INCLUDE_DIRS})
++find_library(LUAJIT_LIBRARY NAMES luajit-5.1 luajit HINTS ${LUAJIT_LIBDIR} 
${LUAJIT_LIBRARY_DIRS})
  
- INCLUDE(FindPackageHandleStandardArgs)
+-INCLUDE(FindPackageHandleStandardArgs)
+-FIND_PACKAGE_HANDLE_STANDARD_ARGS(LuaJIT DEFAULT_MSG LUAJIT_LIBRARY 
LUAJIT_INCLUDE_DIR)
+-MARK_AS_ADVANCED ( LUAJIT_INCLUDE_DIR LUAJIT_LIBRARY)
++set(LUAJIT_LIBRARIES ${LUAJIT_LIBRARY})
++set(LUAJIT_INCLUDE_DIRS ${LUAJIT_INCLUDE_DIR})
++
++include(FindPackageHandleStandardArgs)
++find_package_handle_standard_args(LuaJIT DEFAULT_MSG LUAJIT_LIBRARY 
LUAJIT_INCLUDE_DIR)
++mark_as_advanced(LUAJIT_INCLUDE_DIR LUAJIT_LIBRARY)
Index: patches/patch-src_backends_lua_luaexpression_cpp
===
RCS file: patches/patch-src_backends_lua_luaexpression_cpp
diff -N patches/patch-src_backends_lua_luaexpression_cpp
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-src_backends_lua_luaexpression_cpp28 Sep 2017 17:28:22 
-
@@ -0,0 +1,24 @@
+$OpenBSD$
+
+commit 0b6f7a5721e779dc6f67bc2

CVS: cvs.openbsd.org: ports

2017-09-28 Thread David Coppa
CVSROOT:/cvs
Module name:ports
Changes by: dco...@cvs.openbsd.org  2017/09/28 09:08:54

Modified files:
x11/enlightenment: Makefile 
Added files:
x11/enlightenment/patches: patch-m4_ac_attribute_m4 

Log message:
Unbreak autoconf check with clang by not using nested function



fix cantor (was: ports broken on clang archs)

2017-09-28 Thread David Coppa
On Wed, 27 Sep 2017, Christian Weisgerber wrote:

> Jeremie Courreges-Anglas:
> 
> > > * Mark as BROKEN the remaining ports that have failed to build since
> > >   the clang switch on amd64/i386.
> > 
> > Should probably use NOT_FOR_ARCHS = ${CLANG_ARCHS}.
> 
> >   
> > http://exopi.exo.bsdfrog.org/logs/old/amd64/2017-09-26T21:25:35+0200/paths/x11/kde4/cantor.log
> 
> No.  cantor only fails sometimes.  Something in the build environment
> causes -I/usr/local/include to be lost.

The diff below (from upstream) should fix the thing.

I did five, six test builds without problems, but who knows...

BTW, it's a more elegant solution and I'd like to have it in
nonetheless.

Ciao!
David

Index: Makefile
===
RCS file: /cvs/ports/x11/kde4/cantor/Makefile,v
retrieving revision 1.17
diff -u -p -u -p -r1.17 Makefile
--- Makefile27 Jul 2017 11:57:48 -  1.17
+++ Makefile28 Sep 2017 11:11:50 -
@@ -2,7 +2,7 @@
 
 COMMENT =  KDE mathematical applications
 DISTNAME = cantor-${MODKDE4_VERSION}
-REVISION = 7
+REVISION = 8
 
 # Bogus message about "backend /usr/local/bin/latex" at startup when no
 # backend is choosen on the command line.
Index: patches/patch-cmake_FindLuaJIT_cmake
===
RCS file: /cvs/ports/x11/kde4/cantor/patches/patch-cmake_FindLuaJIT_cmake,v
retrieving revision 1.1
diff -u -p -u -p -r1.1 patch-cmake_FindLuaJIT_cmake
--- patches/patch-cmake_FindLuaJIT_cmake6 Aug 2017 20:04:16 -   
1.1
+++ patches/patch-cmake_FindLuaJIT_cmake28 Sep 2017 11:11:50 -
@@ -1,23 +1,40 @@
 $OpenBSD: patch-cmake_FindLuaJIT_cmake,v 1.1 2017/08/06 20:04:16 zhuk Exp $
-The luajit headers are included using  idiom,
-so use the same for LUAJIT_INCLUDE_DIR.
-Tweak DIR vs. DIRS while there.
+
+commit 0b6f7a5721e779dc6f67bc22d5b2511d010f19da
+Author: Vadim A. Misbakh-Soloviov 
+Date:   Wed, 15 Feb 2017 15:21:47 -0300
+
+Fix the hardcoded include for lua backend
+
+Currently Cantor has a hardcoded include to get lua.hpp library.
+This patch fix the search to include different versions of lua
+library. The hardcoded solution is no more necessary.
 
 Index: cmake/FindLuaJIT.cmake
 --- cmake/FindLuaJIT.cmake.orig
 +++ cmake/FindLuaJIT.cmake
-@@ -1,12 +1,12 @@
- SET (LuaJIT_FOUND FALSE)
- SET (LUAJIT_LIBRARY_NAME luajit-5.1)
+@@ -1,14 +1,13 @@
+-SET (LuaJIT_FOUND FALSE)
+-SET (LUAJIT_LIBRARY_NAME luajit-5.1)
 -SET (LUAJIT_INCLUDE_DIRS /usr/include/luajit-2.0 
/usr/local/include/luajit-2.0)
++find_package(PkgConfig)
  
 -FIND_PATH(LUAJIT_INCLUDE_DIR lua.h ${LUAJIT_INCLUDE_DIRS} )
-+FIND_PATH(LUAJIT_INCLUDE_DIR luajit-2.0/lua.h)
- FIND_LIBRARY (LUAJIT_LIBRARY NAMES ${LUAJIT_LIBRARY_NAME} PATHS 
${CMAKE_LIBRARY_PATH})
+-FIND_LIBRARY (LUAJIT_LIBRARY NAMES ${LUAJIT_LIBRARY_NAME} PATHS 
${CMAKE_LIBRARY_PATH})
++pkg_check_modules(LUAJIT QUIET luajit)
  
- IF (LUAJIT_INCLUDE_DIR AND LUAJIT_LIBRARY)
- SET (LuaJIT_FOUND TRUE)
-+SET (LUAJIT_INCLUDE_DIRS ${LUAJIT_INCLUDE_DIR})
- ENDIF (LUAJIT_INCLUDE_DIR AND LUAJIT_LIBRARY)
+-IF (LUAJIT_INCLUDE_DIR AND LUAJIT_LIBRARY)
+-SET (LuaJIT_FOUND TRUE)
+-ENDIF (LUAJIT_INCLUDE_DIR AND LUAJIT_LIBRARY)
++find_path(LUAJIT_INCLUDE_DIR lua.hpp HINTS ${LUAJIT_INCLUDEDIR} 
${LUAJIT_INCLUDE_DIRS})
++find_library(LUAJIT_LIBRARY NAMES luajit-5.1 luajit HINTS ${LUAJIT_LIBDIR} 
${LUAJIT_LIBRARY_DIRS})
  
- INCLUDE(FindPackageHandleStandardArgs)
+-INCLUDE(FindPackageHandleStandardArgs)
+-FIND_PACKAGE_HANDLE_STANDARD_ARGS(LuaJIT DEFAULT_MSG LUAJIT_LIBRARY 
LUAJIT_INCLUDE_DIR)
+-MARK_AS_ADVANCED ( LUAJIT_INCLUDE_DIR LUAJIT_LIBRARY)
++set(LUAJIT_LIBRARIES ${LUAJIT_LIBRARY})
++set(LUAJIT_INCLUDE_DIRS ${LUAJIT_INCLUDE_DIR})
++
++include(FindPackageHandleStandardArgs)
++find_package_handle_standard_args(LuaJIT DEFAULT_MSG LUAJIT_LIBRARY 
LUAJIT_INCLUDE_DIR)
++mark_as_advanced(LUAJIT_INCLUDE_DIR LUAJIT_LIBRARY)
Index: patches/patch-src_backends_lua_luaexpression_cpp
===
RCS file: patches/patch-src_backends_lua_luaexpression_cpp
diff -N patches/patch-src_backends_lua_luaexpression_cpp
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-src_backends_lua_luaexpression_cpp28 Sep 2017 11:11:50 
-
@@ -0,0 +1,24 @@
+$OpenBSD$
+
+commit 0b6f7a5721e779dc6f67bc22d5b2511d010f19da
+Author: Vadim A. Misbakh-Soloviov 
+Date:   Wed, 15 Feb 2017 15:21:47 -0300
+
+Fix the hardcoded include for lua backend
+
+Currently Cantor has a hardcoded include to get lua.hpp library.
+This patch fix the search to include different versions of lua
+library. The hardcoded solution is no more necessary.
+
+Index: src/backends/lua/luaexpression.cpp
+--- src/backends/lua/luaexpression.cpp.orig
 src/backends/lua/luaexpression.cpp
+@@ -26,7 +26,7 @@
+ #include "imageresult.h"
+ #include "helpresult.h"
+ 
+-#include  // need the luajit-2.0 prefix to 

CVS: cvs.openbsd.org: ports

2017-09-27 Thread David Coppa
CVSROOT:/cvs
Module name:ports
Changes by: dco...@cvs.openbsd.org  2017/09/27 23:57:21

Modified files:
graphics/libgphoto2: Makefile 
Added files:
graphics/libgphoto2/patches: patch-configure_ac 
 patch-libgphoto2_port_configure_ac 

Log message:
Unbreak autoconf check with clang by not using nested function.



CVS: cvs.openbsd.org: ports

2017-09-27 Thread David Coppa
CVSROOT:/cvs
Module name:ports
Changes by: dco...@cvs.openbsd.org  2017/09/27 10:33:21

Modified files:
x11/libgdiplus : Makefile 
Added files:
x11/libgdiplus/patches: patch-configure_ac 

Log message:
Unbreak autoconf check with clang by not using nested function



CVS: cvs.openbsd.org: ports

2017-09-27 Thread David Coppa
CVSROOT:/cvs
Module name:ports
Changes by: dco...@cvs.openbsd.org  2017/09/27 10:09:45

Modified files:
print/libspectre/patches: patch-configure_ac 

Log message:
minor nit...



CVS: cvs.openbsd.org: ports

2017-09-27 Thread David Coppa
CVSROOT:/cvs
Module name:ports
Changes by: dco...@cvs.openbsd.org  2017/09/27 10:01:06

Modified files:
print/libspectre: Makefile 
Added files:
print/libspectre/patches: patch-configure_ac 

Log message:
Unbreak autoconf check with clang by not using nested function



CVS: cvs.openbsd.org: ports

2017-09-27 Thread David Coppa
CVSROOT:/cvs
Module name:ports
Changes by: dco...@cvs.openbsd.org  2017/09/27 08:03:26

Modified files:
net/wide-dhcpv6: Makefile 
Added files:
net/wide-dhcpv6/patches: patch-configure_in 

Log message:
Fix another three nested functions



CVS: cvs.openbsd.org: ports

2017-09-27 Thread David Coppa
CVSROOT:/cvs
Module name:ports
Changes by: dco...@cvs.openbsd.org  2017/09/27 05:22:43

Modified files:
net/jftpgw : Makefile 
Added files:
net/jftpgw/patches: patch-configure_in 

Log message:
Unbreak autoconf check with clang by not using nested functions



CVS: cvs.openbsd.org: ports

2017-09-27 Thread David Coppa
CVSROOT:/cvs
Module name:ports
Changes by: dco...@cvs.openbsd.org  2017/09/27 05:03:27

Modified files:
net/nmap   : Makefile 

Log message:
Use the right autoconf invocation as per gnu.port.mk



CVS: cvs.openbsd.org: ports

2017-09-27 Thread David Coppa
CVSROOT:/cvs
Module name:ports
Changes by: dco...@cvs.openbsd.org  2017/09/27 04:35:22

Modified files:
net/ns : Makefile 
Added files:
net/ns/patches : patch-conf_configure_in_TclCL 
 patch-conf_configure_in_nse 
 patch-conf_configure_in_tcl 
 patch-conf_configure_in_tk 
Removed files:
net/ns/patches : patch-configure 

Log message:
Unbreak autoconf checks with clang by not using nested functions



CVS: cvs.openbsd.org: ports

2017-09-27 Thread David Coppa
CVSROOT:/cvs
Module name:ports
Changes by: dco...@cvs.openbsd.org  2017/09/27 03:50:00

Modified files:
net/nmap   : Makefile 
net/nmap/patches: patch-Makefile_in patch-scan-engine_cc 
  patch-timing_cc patch-zenmap_setup_py 
Added files:
net/nmap/patches: patch-nping_configure_ac 

Log message:
Unbreak autoconf check with clang by not using nested functions
Regen patches while here



CVS: cvs.openbsd.org: ports

2017-09-27 Thread David Coppa
CVSROOT:/cvs
Module name:ports
Changes by: dco...@cvs.openbsd.org  2017/09/27 01:20:12

Modified files:
sysutils/gdmap : Makefile 
Added files:
sysutils/gdmap/patches: patch-configure_ac 

Log message:
Unbreak autoconf check with clang by not using nested functions



CVS: cvs.openbsd.org: ports

2017-09-27 Thread David Coppa
CVSROOT:/cvs
Module name:ports
Changes by: dco...@cvs.openbsd.org  2017/09/27 00:25:58

Modified files:
net/pork   : Makefile 
net/pork/pkg   : PLIST 
Added files:
net/pork/patches: patch-configure_ac 

Log message:
Unbreak autoconf check with clang by not using nested functions



CVS: cvs.openbsd.org: ports

2017-09-26 Thread David Coppa
CVSROOT:/cvs
Module name:ports
Changes by: dco...@cvs.openbsd.org  2017/09/26 10:21:10

Modified files:
security/integrit: Makefile 
Added files:
security/integrit/patches: patch-configure_in 

Log message:
Unbreak autoconf check with clang by not using nested functions



CVS: cvs.openbsd.org: ports

2017-09-26 Thread David Coppa
CVSROOT:/cvs
Module name:ports
Changes by: dco...@cvs.openbsd.org  2017/09/26 09:58:21

Modified files:
multimedia/oggz: Makefile 
Added files:
multimedia/oggz/patches: patch-configure_ac 
Removed files:
multimedia/oggz/patches: patch-configure 

Log message:
Unbreak autoconf checks with clang by not using nested functions



CVS: cvs.openbsd.org: ports

2017-09-26 Thread David Coppa
CVSROOT:/cvs
Module name:ports
Changes by: dco...@cvs.openbsd.org  2017/09/26 08:25:57

Modified files:
net/silc-server: Makefile 
net/silc-server/patches: patch-configure_ac 

Log message:
Unbreak autoconf check for va_copy() with clang by not using nested
functions



CVS: cvs.openbsd.org: ports

2017-09-26 Thread David Coppa
CVSROOT:/cvs
Module name:ports
Changes by: dco...@cvs.openbsd.org  2017/09/26 08:17:16

Modified files:
net/silc-client: Makefile 
net/silc-client/patches: patch-configure_ac 

Log message:
Unbreak autoconf check with clang by not using nested functions



CVS: cvs.openbsd.org: ports

2017-09-26 Thread David Coppa
CVSROOT:/cvs
Module name:ports
Changes by: dco...@cvs.openbsd.org  2017/09/26 08:04:25

Modified files:
devel/silc-toolkit: Makefile 
devel/silc-toolkit/patches: patch-configure_ac 

Log message:
Unbreak autoconf check for va_copy() with clang by not using nested
functions

cluebat by sthen@



CVS: cvs.openbsd.org: ports

2017-09-26 Thread David Coppa
CVSROOT:/cvs
Module name:ports
Changes by: dco...@cvs.openbsd.org  2017/09/26 04:18:41

Modified files:
audio/ncmpc: Makefile 

Log message:
Specify configure args explicitly



CVS: cvs.openbsd.org: ports

2017-09-26 Thread David Coppa
CVSROOT:/cvs
Module name:ports
Changes by: dco...@cvs.openbsd.org  2017/09/26 03:55:07

Modified files:
audio/ncmpc: Makefile distinfo 
audio/ncmpc/pkg: PLIST 
Added files:
audio/ncmpc/patches: patch-meson_build patch-test_meson_build 
Removed files:
audio/ncmpc/patches: patch-src_plugin_c patch-src_screen_song_c 

Log message:
Update to ncmpc-0.28



CVS: cvs.openbsd.org: ports

2017-09-26 Thread David Coppa
CVSROOT:/cvs
Module name:ports
Changes by: dco...@cvs.openbsd.org  2017/09/26 03:07:14

Modified files:
devel/meson: Makefile 
Added files:
devel/meson/patches: patch-mesonbuild_backend_ninjabackend_py 
 patch-mesonbuild_scripts_meson_install_py 

Log message:
Do not install compressed manpages

OK ajacoutot@



CVS: cvs.openbsd.org: ports

2017-09-26 Thread David Coppa
CVSROOT:/cvs
Module name:ports
Changes by: dco...@cvs.openbsd.org  2017/09/26 03:04:06

ports/devel/meson/patches

Update of /cvs/ports/devel/meson/patches
In directory cvs.openbsd.org:/tmp/cvs-serv37827/patches

Log Message:
Directory /cvs/ports/devel/meson/patches added to the repository



CVS: cvs.openbsd.org: ports

2017-09-25 Thread David Coppa
CVSROOT:/cvs
Module name:ports
Changes by: dco...@cvs.openbsd.org  2017/09/25 15:34:28

Modified files:
x11/openbox: Makefile 
Added files:
x11/openbox/patches: patch-openbox_client_c 

Log message:
Fix a NULL pointer dereference that was causing a crash when launching
Java GUI applications.
>From https://bugzilla.icculus.org/show_bug.cgi?id=5277 via Arch
Linux.



CVS: cvs.openbsd.org: ports

2017-09-25 Thread David Coppa
CVSROOT:/cvs
Module name:ports
Changes by: dco...@cvs.openbsd.org  2017/09/25 00:30:43

Modified files:
x11/i3 : Makefile distinfo 
x11/i3/patches : patch-Makefile_in 
Removed files:
x11/i3/patches : patch-include_con_h patch-libi3_dpi_c 
 patch-src_commands_c patch-src_con_c 
 patch-src_load_layout_c patch-src_sighandler_c 

Log message:
Bugfixing update to i3-4.14.1



CVS: cvs.openbsd.org: ports

2017-09-24 Thread David Coppa
CVSROOT:/cvs
Module name:ports
Changes by: dco...@cvs.openbsd.org  2017/09/24 01:30:21

Modified files:
x11/mlterm : Makefile distinfo 
Removed files:
x11/mlterm/patches: patch-uitoolkit_fb_ui_font_c 

Log message:
Update to mlterm-3.8.3



CVS: cvs.openbsd.org: ports

2017-09-22 Thread David Coppa
CVSROOT:/cvs
Module name:ports
Changes by: dco...@cvs.openbsd.org  2017/09/22 07:42:54

Modified files:
devel/cmake: Makefile distinfo 
devel/cmake/patches: patch-bootstrap 

Log message:
Update to CMake-3.9.3



CVS: cvs.openbsd.org: ports

2017-09-21 Thread David Coppa
CVSROOT:/cvs
Module name:ports
Changes by: dco...@cvs.openbsd.org  2017/09/21 23:46:35

Modified files:
databases/redis: Makefile distinfo 

Log message:
Update to redis-4.0.2



CVS: cvs.openbsd.org: ports

2017-09-19 Thread David Coppa
CVSROOT:/cvs
Module name:ports
Changes by: dco...@cvs.openbsd.org  2017/09/19 12:28:27

Modified files:
net/rtorrent   : Makefile 

Log message:
Drop gettext module



CVS: cvs.openbsd.org: ports

2017-09-19 Thread David Coppa
CVSROOT:/cvs
Module name:ports
Changes by: dco...@cvs.openbsd.org  2017/09/19 12:01:21

Modified files:
x11/gtk2-murrine-engine: Makefile 

Log message:
Drop gettext MODULE, sync WANTLIB



CVS: cvs.openbsd.org: ports

2017-09-16 Thread David Coppa
CVSROOT:/cvs
Module name:ports
Changes by: dco...@cvs.openbsd.org  2017/09/16 08:55:27

Modified files:
net/mldonkey   : Makefile 

Log message:
Drop gettext module



CVS: cvs.openbsd.org: ports

2017-09-16 Thread David Coppa
CVSROOT:/cvs
Module name:ports
Changes by: dco...@cvs.openbsd.org  2017/09/16 08:41:20

Modified files:
x11/mlterm : Makefile 

Log message:
Remove gettext module and fix deps accordingly



CVS: cvs.openbsd.org: ports

2017-09-16 Thread David Coppa
CVSROOT:/cvs
Module name:ports
Changes by: dco...@cvs.openbsd.org  2017/09/16 08:26:26

Modified files:
databases/ruby-redis: Makefile 
x11/mlterm : Makefile 

Log message:
Drop maintainership of ruby-redis, get maintainership of x11/mlterm



CVS: cvs.openbsd.org: ports

2017-09-15 Thread David Coppa
CVSROOT:/cvs
Module name:ports
Changes by: dco...@cvs.openbsd.org  2017/09/15 12:06:20

Modified files:
x11/openbox: Makefile 
Added files:
x11/openbox/patches: patch-openbox_frame_c 

Log message:
Fix out-of-bounds read
(git commit b0ed75ee851121ad25491ef6e1dca25be7bc50f3)



CVS: cvs.openbsd.org: ports

2017-09-14 Thread David Coppa
CVSROOT:/cvs
Module name:ports
Changes by: dco...@cvs.openbsd.org  2017/09/14 10:21:15

Modified files:
net/amule  : Makefile 
x11/awesome: Makefile 
audio/ncmpc: Makefile 
audio/ncmpcpp  : Makefile 

Log message:
Drop gettext module and fix dependencies accordingly.



CVS: cvs.openbsd.org: ports

2017-09-13 Thread David Coppa
CVSROOT:/cvs
Module name:ports
Changes by: dco...@cvs.openbsd.org  2017/09/13 06:50:33

Modified files:
x11/i3 : Makefile 
x11/i3/patches : patch-libi3_dpi_c 
Added files:
x11/i3/patches : patch-include_con_h patch-src_commands_c 
 patch-src_con_c patch-src_load_layout_c 
 patch-src_sighandler_c 

Log message:
Merge fixes from upstream:

Check if con_id exists in cmd_swap
(git commit 369c9ed50f2b9fc2dc904db07907cd5f95f0a5ad)

Set marks to NULL after freeing
realloc() was being called on an already freed pointer.
(git commit b48cbe42af94cf69700843922e57c68b81f3fddd)

Properly initialize sigaction struct
(git commit 09ee12d8e5e1cd219493fde3393dbca10c0cc23f)



CVS: cvs.openbsd.org: ports

2017-09-11 Thread David Coppa
CVSROOT:/cvs
Module name:ports
Changes by: dco...@cvs.openbsd.org  2017/09/11 03:27:38

Modified files:
security/opensc: Makefile 
Added files:
security/opensc/patches: patch-src_common_libpkcs11_c 
 patch-src_libopensc_card-jpki_c 
 patch-src_libopensc_pkcs15-pubkey_c 
 patch-src_pkcs11_framework-pkcs15_c 
 patch-src_pkcs11_mechanism_c 

Log message:
Fix memory leaks, null pointer dereferences, dead assignments
(upstream git commits e2fe24d56ac4a90bf140c670ebea02dee6a599d6 and
da9484bd6b4052ea6fb022d27bd7e75350d6cf76)



CVS: cvs.openbsd.org: ports

2017-09-08 Thread David Coppa
CVSROOT:/cvs
Module name:ports
Changes by: dco...@cvs.openbsd.org  2017/09/08 09:44:15

Modified files:
audio/audacious: Makefile 
audio/audacious-plugins: Makefile 

Log message:
Add missing COMPILER vars

spotted by Brad
looks right to sthen@



CVS: cvs.openbsd.org: ports

2017-09-08 Thread David Coppa
CVSROOT:/cvs
Module name:ports
Changes by: dco...@cvs.openbsd.org  2017/09/08 07:46:33

Modified files:
x11/windowmaker: Makefile 
Added files:
x11/windowmaker/patches: patch-WindowMaker_background_menu 

Log message:
menu: Include all aspect ratio options for background pixmap.
The background menu was missing "centered", "maximized", and "filled".

upstream git commit 273d17a0be1a00435e3b98791359b47908dab443



CVS: cvs.openbsd.org: ports

2017-09-08 Thread David Coppa
CVSROOT:/cvs
Module name:ports
Changes by: dco...@cvs.openbsd.org  2017/09/08 07:33:07

Modified files:
audio/audacious: Makefile distinfo 
audio/audacious/patches: patch-src_libaudcore_Makefile 
 patch-src_libaudgui_Makefile 
 patch-src_libaudtag_Makefile 
audio/audacious/pkg: PLIST 
audio/audacious-plugins: Makefile distinfo 
audio/audacious-plugins/patches: patch-configure 
audio/audacious-plugins/pkg: PLIST 
Added files:
audio/audacious-plugins/patches: patch-src_psf_psx_hw_cc 
Removed files:
audio/audacious-plugins/patches: patch-src_psf_psx_hw_c 

Log message:
Update to audacious and audacious-plugins 3.9

>From Timo Myyra, thanks!



CVS: cvs.openbsd.org: ports

2017-09-08 Thread David Coppa
CVSROOT:/cvs
Module name:ports
Changes by: dco...@cvs.openbsd.org  2017/09/08 04:44:20

Modified files:
audio/deadbeef : Makefile 
audio/deadbeef/patches: patch-junklib_c 
Added files:
audio/deadbeef/patches: patch-plugins_ffmpeg_ffmpeg_c 

Log message:
Merge fixes from the '0.7' stable branch:

junklib: fix pointer going out of scope bug
(upstream git commit d97d5490e45462b8b4135a3745e56b003ef494cf)

ffmpeg: increase the supported file extension limit to 1024
(upstream git commit 67f6568151248965dd89ef3304464a50e9982a20)

ffmpeg: buffer overflow fix when there are >= 256 extensions supported
by ffmpeg
(upstream git commit f6646210f643e4fb75f352cfb021dcfc0ed0b628)



Re: [update] audacious-3.9

2017-09-08 Thread David Coppa
On Wed, Sep 6, 2017 at 1:57 PM, Timo Myyrä  wrote:

> Ok, got it. Here's updated diff which restores the package back.

Reviewed and tested (this and audacious-plugins).

audacious 3.9 works fine, tested basic functionalities and the like.

I'd like to commit them if nobody objects, they have no dependant ports...

Ciao!
David



CVS: cvs.openbsd.org: ports

2017-09-08 Thread David Coppa
CVSROOT:/cvs
Module name:ports
Changes by: dco...@cvs.openbsd.org  2017/09/08 02:19:20

Modified files:
graphics/feh   : Makefile distinfo 
graphics/feh/patches: patch-man_feh_pre patch-src_Makefile 
  patch-src_keyevents_c patch-src_options_c 

Log message:
Update to feh-2.20



CVS: cvs.openbsd.org: ports

2017-09-08 Thread David Coppa
CVSROOT:/cvs
Module name:ports
Changes by: dco...@cvs.openbsd.org  2017/09/08 00:32:29

Modified files:
devel/cmake: Makefile distinfo 
devel/cmake/patches: patch-Source_cmArchiveWrite_cxx 
 patch-Source_cmGlobalGenerator_cxx 
 patch-Source_cmSystemTools_cxx 
Removed files:
devel/cmake/patches: patch-Source_cmakemain_cxx 

Log message:
Bugfixing update to cmake-3.9.2



CVS: cvs.openbsd.org: ports

2017-09-07 Thread David Coppa
CVSROOT:/cvs
Module name:ports
Changes by: dco...@cvs.openbsd.org  2017/09/07 09:11:44

Modified files:
audio/ncmpcpp/patches: patch-src_curses_window_h 

Log message:
Add missing comment



CVS: cvs.openbsd.org: ports

2017-09-07 Thread David Coppa
CVSROOT:/cvs
Module name:ports
Changes by: dco...@cvs.openbsd.org  2017/09/07 03:44:22

Modified files:
www/cntlm  : Makefile 
www/cntlm/pkg  : PLIST 
Added files:
www/cntlm/patches: patch-doc_cntlm_1 

Log message:
manpage fixes

partly from ubuntu



Re: ncmpcpp core dumps on amd64

2017-09-06 Thread David Coppa
Il 05 set 2017 20:50, "Ingo Schwarze" <schwa...@usta.de> ha scritto:

Hi,

David Coppa wrote on Tue, Sep 05, 2017 at 04:54:24PM +0200:
> On Tue, Sep 5, 2017 at 4:41 PM, Marc Peters <m...@mpeters.org> wrote:

>> running Sundays snapshot and just reinstalled ncmpcpp and dependencies
>> with "pkg_add -D installed -u ncmpcpp" ncmpcpp core dumps:
>>
>> $ ncmpcpp
>> terminating with uncaught exception of type std::runtime_error:
>> ctype_byname::ctype_byname failed to construct for C
>> Abort trap (core dumped)
>>
>> CC'ing the maintainer.
>>
>> Does anyone know what the exception means and how to solve it?

> Ingo's POSIX xlocale implementation
> (https://marc.info/?l=openbsd-cvs=150458138122317) should fix it.
>
> I'm about to rebuild ncmpcpp and all its dependencies to check if it
> is true, but I'm pretty confident...

To make sure that i did not break this, i just did that as well
on amd64-current: i rebuilt ncmpcpp with all its dependencies,
and i can no longer reproduce the crash.  So it should be good
when the next complete package snapshot arrives on your mirror.

(My system is still slightly Frankenstein'ed because i have various
ports installed that were built against a libc with my xlocale patch
but without guenther@'s pthread patch.  Those no longer work, but
i no longer have anything of that kind in what affects ncmpcpp.)


Confirmed.
ncmpcpp works without problems now.

Ciao!
David


CVS: cvs.openbsd.org: ports

2017-09-06 Thread David Coppa
CVSROOT:/cvs
Module name:ports
Changes by: dco...@cvs.openbsd.org  2017/09/06 10:42:57

Modified files:
audio/ncmpcpp  : Makefile 
Added files:
audio/ncmpcpp/patches: patch-src_curses_window_h 

Log message:
- cleanup CPPFLAGS
- remove no longer necessary 'CXXFLAGS += -O1' hack
- unbreak user input in the Find prompts



CVS: cvs.openbsd.org: ports

2017-09-06 Thread David Coppa
CVSROOT:/cvs
Module name:ports
Changes by: dco...@cvs.openbsd.org  2017/09/06 02:04:05

Modified files:
devel/jsoncpp/patches: patch-meson_build 

Log message:
Sync with upstream



CVS: cvs.openbsd.org: ports

2017-09-05 Thread David Coppa
CVSROOT:/cvs
Module name:ports
Changes by: dco...@cvs.openbsd.org  2017/09/05 22:45:50

Modified files:
x11/slim   : Makefile 
Removed files:
x11/slim/patches: patch-const_h 

Log message:
Revert previous



Re: ncmpcpp core dumps on amd64

2017-09-05 Thread David Coppa
On Tue, Sep 5, 2017 at 4:41 PM, Marc Peters  wrote:
> Hi List,
>
> running Sundays snapshot and just reinstalled ncmpcpp and dependencies
> with "pkg_add -D installed -u ncmpcpp" ncmpcpp core dumps:
>
> $ ncmpcpp
> terminating with uncaught exception of type std::runtime_error:
> ctype_byname::ctype_byname failed to construct for C
> Abort trap (core dumped)
>
> CC'ing the maintainer.
>
> Does anyone know what the exception means and how to solve it?

Ingo's POSIX xlocale implementation
(https://marc.info/?l=openbsd-cvs=150458138122317) should fix it.

I'm about to rebuild ncmpcpp and all its dependencies to check if it
is true, but I'm pretty confident...

> Cheers,
> Marc

Ciao!
David



CVS: cvs.openbsd.org: ports

2017-09-05 Thread David Coppa
CVSROOT:/cvs
Module name:ports
Changes by: dco...@cvs.openbsd.org  2017/09/05 08:25:47

Modified files:
audio/ncmpcpp  : Makefile 
Added files:
audio/ncmpcpp/patches: patch-src_screens_media_library_cpp 

Log message:
Sort songs in media library by their display format if there are
no track numbers (git commits def5c46225896373adb8a7d749cfa4a019b1c1fd
and 4a6e7d305b0b5a8ab101ff05f541f527f2d2bc42)



CVS: cvs.openbsd.org: ports

2017-09-04 Thread David Coppa
CVSROOT:/cvs
Module name:ports
Changes by: dco...@cvs.openbsd.org  2017/09/04 08:33:07

Modified files:
x11/i3 : Makefile distinfo 
x11/i3/patches : patch-Makefile_in patch-configure 
 patch-i3-dmenu-desktop patch-i3-nagbar_main_c 
 patch-man_i3_man patch-src_bindings_c 
 patch-src_manage_c 
Added files:
x11/i3/patches : patch-libi3_dpi_c 
 patch-testcases_inject_randr1_5_c 
Removed files:
x11/i3/patches : patch-libi3_get_config_path_c 

Log message:
Update to i3-4.14

Tested by Josh Grosse
Tests, feedback and ok tb@



Re: [update] i3-4.14

2017-09-04 Thread David Coppa
On Mon, Sep 4, 2017 at 2:11 PM, Josh Grosse <j...@jggimi.net> wrote:
> On Mon, Sep 04, 2017 at 09:18:18AM +0000, David Coppa wrote:
>>
>> Now that 4.14 is out, here's the diff to update our port.
>>
>> Comments / OKs ?
>
> Builes and works fine here on amd64.  But I happened to issue a make test, 
> and it fails with:
>
> testcases/test_inject_randr15-inject_randr1.5.o: In function `child_cb':
> /usr/ports/pobj/i3-4.14/i3-4.14/../i3-4.14/testcases/inject_randr1.5.c:(.text+0x4a4):
>  undefined reference to `WIFEXITED'
> /usr/ports/pobj/i3-4.14/i3-4.14/../i3-4.14/testcases/inject_randr1.5.c:(.text+0x4b2):
>  undefined reference to `WTERMSIG'
> /usr/ports/pobj/i3-4.14/i3-4.14/../i3-4.14/testcases/inject_randr1.5.c:(.text+0x4c3):
>  undefined reference to `WEXITSTATUS'
> cc: error: linker command failed with exit code 1 (use -v to see invocation)
> gmake[1]: *** [Makefile:1612: test.inject_randr15] Error 1

The test suite is non-functional since basically the beginning.
Never found the time/motivation to fix it... maybe after 6.2 is out,
but no guarantees ;)



CVS: cvs.openbsd.org: ports

2017-09-04 Thread David Coppa
CVSROOT:/cvs
Module name:ports
Changes by: dco...@cvs.openbsd.org  2017/09/04 05:18:17

Modified files:
graphics/feh   : Makefile 
graphics/feh/patches: patch-src_keyevents_c patch-src_options_c 

Log message:
Respect -N / --no-menus option (broken in 2.17)
(upstream git commit 8ad7d16318975a46aaada5c2b4ecf22c089b88f5)

Silence -Wimplicit-fallthrough= warning (missing break)
(upstream git commit a0e2ed52478480513dc1f6963f3114c7841a0d87)



[update] i3-4.14

2017-09-04 Thread David Coppa

Now that 4.14 is out, here's the diff to update our port.

Comments / OKs ?

Ciao!
David

Index: Makefile
===
RCS file: /cvs/ports/x11/i3/Makefile,v
retrieving revision 1.106
diff -u -p -u -p -r1.106 Makefile
--- Makefile13 Nov 2016 20:46:23 -  1.106
+++ Makefile4 Sep 2017 09:16:43 -
@@ -2,7 +2,7 @@
 
 COMMENT =  improved dynamic tiling window manager
 
-DISTNAME = i3-4.13
+DISTNAME = i3-4.14
 CATEGORIES =   x11
 
 EXTRACT_SUFX = .tar.bz2
Index: distinfo
===
RCS file: /cvs/ports/x11/i3/distinfo,v
retrieving revision 1.26
diff -u -p -u -p -r1.26 distinfo
--- distinfo13 Nov 2016 20:46:23 -  1.26
+++ distinfo4 Sep 2017 09:16:43 -
@@ -1,2 +1,2 @@
-SHA256 (i3-4.13.tar.bz2) = lMExg+UnqYQTKjsFDIv2KWJlAqbhM+B7QTZBrsX4z4o=
-SIZE (i3-4.13.tar.bz2) = 1121298
+SHA256 (i3-4.14.tar.bz2) = rjq9468bh+Jp2KrSNIvm9ymDOMuOBrrRHL+Rzb+SpdY=
+SIZE (i3-4.14.tar.bz2) = 1152501
Index: patches/patch-Makefile_in
===
RCS file: /cvs/ports/x11/i3/patches/patch-Makefile_in,v
retrieving revision 1.1
diff -u -p -u -p -r1.1 patch-Makefile_in
--- patches/patch-Makefile_in   13 Nov 2016 20:46:23 -  1.1
+++ patches/patch-Makefile_in   4 Sep 2017 09:16:43 -
@@ -1,7 +1,8 @@
 $OpenBSD: patch-Makefile_in,v 1.1 2016/11/13 20:46:23 dcoppa Exp $
 Makefile.in.orig   Tue Nov  8 19:54:08 2016
-+++ Makefile.inThu Nov 10 19:44:19 2016
-@@ -744,10 +744,7 @@ i3include_HEADERS = \
+Index: Makefile.in
+--- Makefile.in.orig
 Makefile.in
+@@ -752,10 +752,7 @@ i3include_HEADERS = \
  dist_bin_SCRIPTS = \
i3-dmenu-desktop \
i3-migrate-config-to-v4 \
@@ -13,7 +14,7 @@ $OpenBSD: patch-Makefile_in,v 1.1 2016/1
  
  i3confdir = $(sysconfdir)/i3
  dist_i3conf_DATA = \
-@@ -882,9 +879,6 @@ docs_poddir = ${docdir}
+@@ -893,9 +890,6 @@ docs_poddir = ${docdir}
  @BUILD_MANS_TRUE@ man/i3-nagbar.1 \
  @BUILD_MANS_TRUE@ man/i3-config-wizard.1 \
  @BUILD_MANS_TRUE@ man/i3-migrate-config-to-v4.1 \
@@ -23,7 +24,7 @@ $OpenBSD: patch-Makefile_in,v 1.1 2016/1
  @BUILD_MANS_TRUE@ man/i3-dump-log.1
  
  @BUILD_MANS_TRUE@pod_MANS = \
-@@ -3121,7 +3115,7 @@ distclean-tags:
+@@ -3156,7 +3150,7 @@ distclean-tags:
  
  # Leading 'am--fnord' is there to ensure the list of targets does not
  # expand to empty, as could happen e.g. with make check TESTS=''.
Index: patches/patch-configure
===
RCS file: /cvs/ports/x11/i3/patches/patch-configure,v
retrieving revision 1.1
diff -u -p -u -p -r1.1 patch-configure
--- patches/patch-configure 13 Nov 2016 20:46:23 -  1.1
+++ patches/patch-configure 4 Sep 2017 09:16:43 -
@@ -1,12 +1,13 @@
 $OpenBSD: patch-configure,v 1.1 2016/11/13 20:46:23 dcoppa Exp $
 configure.orig Thu Nov 10 21:43:14 2016
-+++ configure  Thu Nov 10 21:43:53 2016
-@@ -3351,7 +3351,7 @@ if test "x$_cv_gnu_make_command" = x""; then :
- fi
- 
- case $srcdir in #(
--  .|.*) :
-+  /*|.|.*) :
- 
- # pwd -P is specified in IEEE 1003.1 from 2004
- as_dir=`cd "$srcdir" && pwd -P`
+Index: configure
+--- configure.orig
 configure
+@@ -6388,7 +6388,7 @@ char iconv_open ();
+ int
+ main ()
+ {
+-return iconv_open ();
++return libiconv_open ();
+   ;
+   return 0;
+ }
Index: patches/patch-i3-dmenu-desktop
===
RCS file: /cvs/ports/x11/i3/patches/patch-i3-dmenu-desktop,v
retrieving revision 1.6
diff -u -p -u -p -r1.6 patch-i3-dmenu-desktop
--- patches/patch-i3-dmenu-desktop  13 Nov 2016 20:46:23 -  1.6
+++ patches/patch-i3-dmenu-desktop  4 Sep 2017 09:16:43 -
@@ -1,6 +1,7 @@
 $OpenBSD: patch-i3-dmenu-desktop,v 1.6 2016/11/13 20:46:23 dcoppa Exp $
 i3-dmenu-desktop.orig  Tue Nov  8 19:54:01 2016
-+++ i3-dmenu-desktop   Thu Nov 10 18:04:35 2016
+Index: i3-dmenu-desktop
+--- i3-dmenu-desktop.orig
 i3-dmenu-desktop
 @@ -111,7 +111,7 @@ $xdg_data_home = $ENV{HOME} . '/.local/share' if
  ! -d $xdg_data_home;
  
@@ -25,7 +26,7 @@ $OpenBSD: patch-i3-dmenu-desktop,v 1.6 2
  #   }
  #   };
  
-@@ -424,7 +424,7 @@ if (exists($app->{Terminal}) && $app->{Terminal}) {
+@@ -450,7 +450,7 @@ if (exists($app->{Terminal}) && $app->{Terminal}) {
  # we need to create a temporary script that contains the full command line
  # as the syntax for starting commands with arguments varies from terminal
  # emulator to terminal emulator.
@@ -34,7 +35,7 @@ $OpenBSD: patch-i3-dmenu-desktop,v 1.6 2
  my ($fh, $filename) = tempfile();
  binmode($fh, ':utf8');
  say $fh <

CVS: cvs.openbsd.org: ports

2017-09-04 Thread David Coppa
CVSROOT:/cvs
Module name:ports
Changes by: dco...@cvs.openbsd.org  2017/09/04 04:55:10

Modified files:
devel/lua-penlight: Makefile distinfo 

Log message:
Update to Penlight-1.5.4



CVS: cvs.openbsd.org: ports

2017-09-04 Thread David Coppa
CVSROOT:/cvs
Module name:ports
Changes by: dco...@cvs.openbsd.org  2017/09/04 04:54:20

Modified files:
audio/ncmpc: Makefile 
Added files:
audio/ncmpc/patches: patch-src_plugin_c patch-src_screen_song_c 

Log message:
fix crash on lyrics screen
(upstream git commit 36e3f4589afc5bf3d17c0584719a86a577340fa0)

fix memory leak
(upstream git commit c4aca0137a7a819270eabb3092e655ccaa721065)



CVS: cvs.openbsd.org: ports

2017-09-01 Thread David Coppa
CVSROOT:/cvs
Module name:ports
Changes by: dco...@cvs.openbsd.org  2017/09/01 02:45:13

Modified files:
devel/cmake: Makefile 
Added files:
devel/cmake/patches: patch-Source_cmakemain_cxx 

Log message:
cmake: Fix --find-package mode with imported targets
(upstream git commit 18454ea44d6a1fd2dbc613ad9c3fe941639563aa)

Before:

$ cmake --find-package -DNAME=TIFF -DLANGUAGE=C -DCOMPILER_ID=GNU -DMODE=LINK
CMake Error at /usr/local/share/cmake/Modules/FindTIFF.cmake:78 (add_library):
Unknown CMake command "add_library".
Call Stack (most recent call first):
/usr/local/share/cmake/Modules/CMakeFindPackageMode.cmake:180 (find_package)

TIFF not found.
CMake Error: Problem processing arguments. Aborting.

After:

$ cmake --find-package -DNAME=TIFF -DLANGUAGE=C -DCOMPILER_ID=GNU -DMODE=LINK
-L/usr/local/lib -ltiff -Wl,-rpath-link,/usr/X11R6/lib:/usr/local/lib



CVS: cvs.openbsd.org: ports

2017-08-31 Thread David Coppa
CVSROOT:/cvs
Module name:ports
Changes by: dco...@cvs.openbsd.org  2017/08/31 09:58:26

Modified files:
audio/ncmpcpp  : Makefile 
audio/ncmpcpp/patches: patch-src_status_cpp 
Added files:
audio/ncmpcpp/patches: patch-src_configuration_cpp 

Log message:
Fix intermittent failures when using --quiet.
Using '--quiet' command line argument no longer results in a crash
(upstream git commit db28618929b9ec11e831d5a44437757f6195497d)

Mark songs as added to playlist immediately.
Fix a situation in which songs added to playlist from media library
or playlist editor screens would not be immediately marked as such
(upstream git commit c340a6ba9a322985b8d50ab477631689b6b8f55a)



CVS: cvs.openbsd.org: ports

2017-08-31 Thread David Coppa
CVSROOT:/cvs
Module name:ports
Changes by: dco...@cvs.openbsd.org  2017/08/31 03:12:36

Modified files:
audio/pianobar : Makefile distinfo 

Log message:
Update to pianobar-2017.08.30



CVS: cvs.openbsd.org: ports

2017-08-31 Thread David Coppa
CVSROOT:/cvs
Module name:ports
Changes by: dco...@cvs.openbsd.org  2017/08/31 00:30:18

Modified files:
devel/jsoncpp  : Makefile distinfo 
devel/jsoncpp/patches: patch-meson_build 
Added files:
devel/jsoncpp/patches: patch-src_lib_json_json_reader_cpp 
Removed files:
devel/jsoncpp/files: jsoncpp.pc.in 

Log message:
Update to jsoncpp-1.8.3



CVS: cvs.openbsd.org: ports

2017-08-30 Thread David Coppa
CVSROOT:/cvs
Module name:ports
Changes by: dco...@cvs.openbsd.org  2017/08/30 01:49:19

Modified files:
x11/slim   : Makefile 
Added files:
x11/slim/patches: patch-const_h 

Log message:
Use 'unix:0.0' for the DISPLAY environment variable



Re: Remove KDE 3

2017-08-30 Thread David Coppa
Il 30 ago 2017 08:31, "Jeremie Courreges-Anglas"  ha
scritto:

On Wed, Aug 30 2017, Rafael Sadowski  wrote:
> Hi All,
>
> before we can wipe out KDE3 from our ports tree, we have to remove or
> update the following consumers:
>
> Ports we should erase:
>
> games/kbilliards
>
> - Last updated 12 years ago
> - dead upstream and no replacement
>
> sysutils/knutclient
> - dead upstream and new KDE4 version[1] looks also dead because there is
>   no online/current tarball.
>   [1]: https://sites.google.com/a/prynych.cz/knutclient/home
>
> games/taxipilot
> - Dead beef: http://taxipilot.sourceforge.net/download.php
>
> multimedia/kguitar
> - Last news from 2010: KGuitar is not dead. In my opinion, it's dead!
>
> Updates:
>
> x11/kdirstat
> - A new port which replace the old Qt3/KDE3-based KDirStat is ready.
>   https://github.com/shundhammer/qdirstat
>   See ports@
>
> math/kst
> - Update is almost done. See ports@
>
> Ok to remove kbilliards || knutclient || taxipilot || kguitar || $ALL
> are welcome. Comments?

Nuke all the things!


Yes, thanks.

David


CVS: cvs.openbsd.org: ports

2017-08-29 Thread David Coppa
CVSROOT:/cvs
Module name:ports
Changes by: dco...@cvs.openbsd.org  2017/08/29 23:37:36

Modified files:
devel/libinotify: Makefile distinfo 
devel/libinotify/patches: patch-Makefile_am 
devel/libinotify/pkg: DESCR PLIST 

Log message:
Update to libinotify-20170711

Tested with owncloudclient, seafile, incron, xmobar



CVS: cvs.openbsd.org: ports

2017-08-29 Thread David Coppa
CVSROOT:/cvs
Module name:ports
Changes by: dco...@cvs.openbsd.org  2017/08/29 03:14:16

Modified files:
devel/jsoncpp  : Makefile distinfo 
devel/jsoncpp/pkg: PLIST 
Added files:
devel/jsoncpp/patches: patch-include_json_value_h 
   patch-meson_build 
   patch-src_lib_json_json_value_cpp 
Removed files:
devel/jsoncpp/patches: patch-SConstruct 
   patch-src_lib_json_sconscript 

Log message:
Update to jsoncpp-1.8.2



CVS: cvs.openbsd.org: ports

2017-08-28 Thread David Coppa
CVSROOT:/cvs
Module name:ports
Changes by: dco...@cvs.openbsd.org  2017/08/28 01:28:23

Modified files:
databases/ruby-redis: Makefile distinfo 
databases/ruby-redis/patches: 
  patch-test_publish_subscribe_test_rb 
databases/ruby-redis/pkg: PLIST 
databases/ruby-redis-namespace: Makefile 
databases/ruby-resque: Makefile 
Added files:
databases/ruby-redis/patches: patch-Rakefile 
Removed files:
databases/ruby-redis/patches: patch-makefile 

Log message:
Revert, broken at runtime.
Fix dependencies while here.



CVS: cvs.openbsd.org: ports

2017-08-28 Thread David Coppa
CVSROOT:/cvs
Module name:ports
Changes by: dco...@cvs.openbsd.org  2017/08/28 00:23:31

Modified files:
databases/ruby-resque: Makefile 

Log message:
bump



CVS: cvs.openbsd.org: ports

2017-08-27 Thread David Coppa
CVSROOT:/cvs
Module name:ports
Changes by: dco...@cvs.openbsd.org  2017/08/27 23:21:22

Modified files:
databases/ruby-redis: Makefile distinfo 
databases/ruby-redis/patches: 
  patch-test_publish_subscribe_test_rb 
databases/ruby-redis/pkg: PLIST 
Added files:
databases/ruby-redis/patches: patch-makefile 
Removed files:
databases/ruby-redis/patches: patch-Rakefile 

Log message:
Update to ruby-redis-4.0.0



CVS: cvs.openbsd.org: ports

2017-08-27 Thread David Coppa
CVSROOT:/cvs
Module name:ports
Changes by: dco...@cvs.openbsd.org  2017/08/27 23:16:33

Modified files:
databases/ruby-redis-namespace: Makefile distinfo 

Log message:
Update to redis-namespace-1.5.3



Re: remove audio/akode ?

2017-08-27 Thread David Coppa
Il 27 ago 2017 18:00, "Jeremie Courreges-Anglas"  ha
scritto:

On Sun, Aug 27 2017, Rafael Sadowski  wrote:
> Hi,
>
> audio/akode is ancient, completely dead upstream, and no ports use it.
>
> Opinions? Opposing views?

ok to delete it


Ok with me too


CVS: cvs.openbsd.org: ports

2017-08-26 Thread David Coppa
CVSROOT:/cvs
Module name:ports
Changes by: dco...@cvs.openbsd.org  2017/08/26 11:53:35

Modified files:
devel/cmake: Makefile distinfo 
devel/cmake/patches: patch-CMakeLists_txt 
 patch-Modules_CMakeCInformation_cmake 
 patch-Modules_Compiler_GNU_cmake 
 patch-Modules_FindJNI_cmake 
 patch-Modules_FindJava_cmake 
 patch-Modules_FindKDE3_cmake 
 patch-Modules_FindLibXml2_cmake 
 patch-Modules_FindLua_cmake 
 patch-Modules_FindMPEG2_cmake 
 patch-Modules_FindMPEG_cmake 
 patch-Modules_FindPythonLibs_cmake 
 patch-Modules_FindXMLRPC_cmake 
 patch-Source_CMakeLists_txt 
 patch-Source_cmComputeLinkInformation_cxx 
 patch-Source_cmGeneratorTarget_cxx 
 patch-Source_cmInstallCommand_cxx 
 patch-Source_cmTarget_cxx 
 patch-Source_cmake_cxx 
 patch-Source_kwsys_SystemTools_cxx 
 patch-Tests_RunCMake_CMakeLists_txt 
 patch-bootstrap 
devel/cmake/pkg: PLIST 
Added files:
devel/cmake/patches: patch-Source_cmArchiveWrite_cxx 
 patch-Source_cmComputeLinkInformation_h 
 patch-Source_cmGlobalGenerator_cxx 
 patch-Source_cmSystemTools_cxx 
Removed files:
devel/cmake/patches: patch-Modules_FindBoost_cmake 

Log message:
Update to CMake-3.9.1

Tests and feedback by rsadowski@, schwarze@
Ports bulk build by sthen@



CVS: cvs.openbsd.org: ports

2017-08-25 Thread David Coppa
CVSROOT:/cvs
Module name:ports
Changes by: dco...@cvs.openbsd.org  2017/08/25 16:19:34

Modified files:
x11/kde4/pim-runtime/patches: patch-plugins_tests_CMakeLists_txt 

Log message:
Fix build with CMake>=3.8
(adapted from upstream git commit e5c26385a3b047643856dcc423cb13535ff5d132)



CVS: cvs.openbsd.org: ports

2017-08-25 Thread David Coppa
CVSROOT:/cvs
Module name:ports
Changes by: dco...@cvs.openbsd.org  2017/08/25 05:01:17

Modified files:
x11/windowmaker: Makefile 
Added files:
x11/windowmaker/patches: patch-WINGs_wview_c 
 patch-util_wmmenugen_parse_xdg_c 

Log message:
Bugfixes from upstream git:

WINGs: Set widget background pixmaps before realization.
Previously, when WMSetWidgetBackgroundPixmap() was called prior to
WMRealizeWidget(), no background pixmap was actually set.
(git commit 83f0b764e607306feb7b17026a11034e5cf84785)

util: fix parsing of XDG menus with multiple groups
(git commit e037ae3684928a2fbf4a3994562a322f5d3b0c71)



CVS: cvs.openbsd.org: ports

2017-08-25 Thread David Coppa
CVSROOT:/cvs
Module name:ports
Changes by: dco...@cvs.openbsd.org  2017/08/25 04:06:59

Modified files:
audio/mpd  : Makefile distinfo 
audio/mpd/patches: patch-Makefile_in 

Log message:
Update to mpd-0.20.10



  1   2   3   4   5   6   7   8   9   10   >