Re: scheme48 update

2017-05-27 Thread Aaron W. Hsu
Okay by me. 

-- 
Aaron W. Hsu | arcf...@sacrideo.us | http://www.sacrideo.us
Support my Open Work: http://www.gratipay.com/Co-dfns/

From: Marc Espie
Sent: Saturday, May 27, 2017 4:52 PM
To: arcf...@sacrideo.us
Cc: ports@openbsd.org
Subject: scheme48 update

Here's a small update to scheme48.

I'm not sure what changed, but this one actually builds and works with clang.

1.9 does segfault once built:
./build/build-usual-image . \
"`(cd . && pwd)`/scheme" "`pwd`/c" 'scheme48.image' './scheme48vm' \
'./build/initial.image-64'
Segmentation fault (core dumped)

okay ?

Index: Makefile
===
RCS file: /cvs/ports/lang/scheme48/Makefile,v
retrieving revision 1.13
diff -u -p -r1.13 Makefile
--- Makefile4 Apr 2016 16:09:09 -   1.13
+++ Makefile27 May 2017 20:49:31 -
@@ -1,10 +1,10 @@
 # $OpenBSD: Makefile,v 1.13 2016/04/04 16:09:09 naddy Exp $
 
 COMMENT=   Scheme Underground's implementation of R5RS
+# '
 
-V= 1.9
+V= 1.9.2
 DISTNAME=  scheme48-$V
-REVISION=  2
 CATEGORIES=lang
 
 HOMEPAGE=  http://www.s48.org/
Index: distinfo
===
RCS file: /cvs/ports/lang/scheme48/distinfo,v
retrieving revision 1.4
diff -u -p -r1.4 distinfo
--- distinfo6 Feb 2013 20:37:34 -   1.4
+++ distinfo27 May 2017 20:49:31 -
@@ -1,2 +1,2 @@
-SHA256 (scheme48-1.9.tgz) = 3LqR0VC3SQ5hcO9PvUWgZboNjW4iiUY3naDR18ungmc=
-SIZE (scheme48-1.9.tgz) = 3945425
+SHA256 (scheme48-1.9.2.tgz) = nEkhqQ6V2u4GfNLpzA/+CeEY9NoBwMAZjld8T0d1nfQ=
+SIZE (scheme48-1.9.2.tgz) = 3951356
Index: patches/patch-Makefile_in
===
RCS file: /cvs/ports/lang/scheme48/patches/patch-Makefile_in,v
retrieving revision 1.4
diff -u -p -r1.4 patch-Makefile_in
--- patches/patch-Makefile_in   8 Feb 2013 14:39:50 -   1.4
+++ patches/patch-Makefile_in   27 May 2017 20:49:31 -
@@ -2,9 +2,10 @@ $OpenBSD: patch-Makefile_in,v 1.4 2013/0
 
 Fix fake-stage.
 
 Makefile.in.orig   Thu Dec 27 11:46:24 2012
-+++ Makefile.inThu Feb  7 20:52:25 2013
-@@ -71,8 +71,8 @@ VERSION = 1.`cat $(srcdir)/build/minor-version-number`
+Index: Makefile.in
+--- Makefile.in.orig
 Makefile.in
+@@ -72,8 +72,8 @@ VERSION = 1.`cat $(srcdir)/build/minor-version-number`
  RUNNABLE = scheme48
  CONFIG_SCRIPT = scheme48-config
  MANPAGE = $(RUNNABLE).$(manext)
@@ -15,7 +16,7 @@ Fix fake-stage.
  
  distdir = /tmp
  
-@@ -469,7 +469,7 @@ doc/html/manual.html: doc/manual.pdf
+@@ -470,7 +470,7 @@ doc/html/manual.html: doc/manual.pdf
  
  doc: doc/manual.pdf doc/manual.ps doc/html/manual.html
  
@@ -24,12 +25,13 @@ Fix fake-stage.
  
  install-no-doc: enough dirs
  # install the VM
-@@ -532,8 +532,6 @@ install-no-doc: enough dirs
+@@ -532,9 +532,6 @@ install-no-doc: enough dirs
+   chmod +x $$config_script
  # install the external modules
$(INSTALL_PROGRAM) $(EXTERNALS) $(DESTDIR)$(LIB)/
- # install the documentation
+-# install the documentation
 -  $(srcdir)/mkinstalldirs $(DESTDIR)$(docdir)
--  $(INSTALL_DATA) $(srcdir)/COPYING $(docdir)
+-  $(INSTALL_DATA) $(srcdir)/COPYING $(DESTDIR)$(docdir)
  
  install-doc: dirs doc
$(srcdir)/mkinstalldirs $(DESTDIR)$(docdir)




scheme48 update

2017-05-27 Thread Marc Espie
Here's a small update to scheme48.

I'm not sure what changed, but this one actually builds and works with clang.

1.9 does segfault once built:
./build/build-usual-image . \
"`(cd . && pwd)`/scheme" "`pwd`/c" 'scheme48.image' './scheme48vm' \
'./build/initial.image-64'
Segmentation fault (core dumped)

okay ?

Index: Makefile
===
RCS file: /cvs/ports/lang/scheme48/Makefile,v
retrieving revision 1.13
diff -u -p -r1.13 Makefile
--- Makefile4 Apr 2016 16:09:09 -   1.13
+++ Makefile27 May 2017 20:49:31 -
@@ -1,10 +1,10 @@
 # $OpenBSD: Makefile,v 1.13 2016/04/04 16:09:09 naddy Exp $
 
 COMMENT=   Scheme Underground's implementation of R5RS
+# '
 
-V= 1.9
+V= 1.9.2
 DISTNAME=  scheme48-$V
-REVISION=  2
 CATEGORIES=lang
 
 HOMEPAGE=  http://www.s48.org/
Index: distinfo
===
RCS file: /cvs/ports/lang/scheme48/distinfo,v
retrieving revision 1.4
diff -u -p -r1.4 distinfo
--- distinfo6 Feb 2013 20:37:34 -   1.4
+++ distinfo27 May 2017 20:49:31 -
@@ -1,2 +1,2 @@
-SHA256 (scheme48-1.9.tgz) = 3LqR0VC3SQ5hcO9PvUWgZboNjW4iiUY3naDR18ungmc=
-SIZE (scheme48-1.9.tgz) = 3945425
+SHA256 (scheme48-1.9.2.tgz) = nEkhqQ6V2u4GfNLpzA/+CeEY9NoBwMAZjld8T0d1nfQ=
+SIZE (scheme48-1.9.2.tgz) = 3951356
Index: patches/patch-Makefile_in
===
RCS file: /cvs/ports/lang/scheme48/patches/patch-Makefile_in,v
retrieving revision 1.4
diff -u -p -r1.4 patch-Makefile_in
--- patches/patch-Makefile_in   8 Feb 2013 14:39:50 -   1.4
+++ patches/patch-Makefile_in   27 May 2017 20:49:31 -
@@ -2,9 +2,10 @@ $OpenBSD: patch-Makefile_in,v 1.4 2013/0
 
 Fix fake-stage.
 
 Makefile.in.orig   Thu Dec 27 11:46:24 2012
-+++ Makefile.inThu Feb  7 20:52:25 2013
-@@ -71,8 +71,8 @@ VERSION = 1.`cat $(srcdir)/build/minor-version-number`
+Index: Makefile.in
+--- Makefile.in.orig
 Makefile.in
+@@ -72,8 +72,8 @@ VERSION = 1.`cat $(srcdir)/build/minor-version-number`
  RUNNABLE = scheme48
  CONFIG_SCRIPT = scheme48-config
  MANPAGE = $(RUNNABLE).$(manext)
@@ -15,7 +16,7 @@ Fix fake-stage.
  
  distdir = /tmp
  
-@@ -469,7 +469,7 @@ doc/html/manual.html: doc/manual.pdf
+@@ -470,7 +470,7 @@ doc/html/manual.html: doc/manual.pdf
  
  doc: doc/manual.pdf doc/manual.ps doc/html/manual.html
  
@@ -24,12 +25,13 @@ Fix fake-stage.
  
  install-no-doc: enough dirs
  # install the VM
-@@ -532,8 +532,6 @@ install-no-doc: enough dirs
+@@ -532,9 +532,6 @@ install-no-doc: enough dirs
+   chmod +x $$config_script
  # install the external modules
$(INSTALL_PROGRAM) $(EXTERNALS) $(DESTDIR)$(LIB)/
- # install the documentation
+-# install the documentation
 -  $(srcdir)/mkinstalldirs $(DESTDIR)$(docdir)
--  $(INSTALL_DATA) $(srcdir)/COPYING $(docdir)
+-  $(INSTALL_DATA) $(srcdir)/COPYING $(DESTDIR)$(docdir)
  
  install-doc: dirs doc
$(srcdir)/mkinstalldirs $(DESTDIR)$(docdir)



[NEW] sysutils/bdfresize

2017-05-27 Thread Frederic Cambus
Hi ports@,

Here is a new port: sysutils/bdfresize

Comments? OK?

>From DESCR:

Bdfresize is a command to magnify or reduce fonts which are described
with the standard BDF format.


bdfresize.tar.gz
Description: application/tar-gz


Re: NEW: libmicrohttpd

2017-05-27 Thread Theo Buehler
On Sat, May 27, 2017 at 11:59:55AM -0400, Smccalib wrote:
> Here is a port for libmicrohttpd. Its my first port.

I had a libmicrohttpd 0.9.51 port rotting in my tree since it is a
dependency for the profanity testsuite (I didn't get around to pursuing
that further). I never submitted it because it had a worrying failure of
test_callback, and some autoconf stuff didn't work the way it should
have. Both these things appear to be fixed in 0.9.54.

In my version of the port, the zzuf tests are also run (and pass).


libmicrohttpd.tgz
Description: application/tar-gz


NEW: libmicrohttpd

2017-05-27 Thread Smccalib
Here is a port for libmicrohttpd. Its my first port.

libmicrohttpd.tar.bzip
Description: Binary data


Re: new: net/bitlbee-facebook

2017-05-27 Thread Michal Mazurek
> Bump REVISION. I would also set PKGSPEC so that ports depending on bitlbee
> are tied to the correct version of bitlbee, otherwise for future bitlbee
> updates we'd need to check for any ABI change in the plugin interface and
> bump bitlbee-facebook and any other deps. Like this:
> 
> V=3.5.1
> DISTNAME= bitlbee-$V
> PKGSPEC=  bitlbee-=$V
> REVISION= 0

Fixed, attached below.

> I'd drop "The" and mention "messenger" too e.g.
> 
> COMMENT=  Facebook Messenger protocol plugin for bitlbee

This was copy-pasted from the projects homepage, but your version reads
better.

> Kill the useless static archive (probably "LIBTOOL_FLAGS= 
> --tag=disable-static"),
> and probably also @comment the .la file (but check that it works without).

It works, fixed and attached.



Index: Makefile
===
RCS file: /cvs/ports/net/bitlbee/Makefile,v
retrieving revision 1.59
diff -u -p -r1.59 Makefile
--- Makefile27 May 2017 08:01:33 -  1.59
+++ Makefile27 May 2017 14:41:50 -
@@ -2,7 +2,10 @@
 
 COMMENT=   IRC proxy to connect to AIM, ICQ, Jabber and Yahoo
 
-DISTNAME=  bitlbee-3.5.1
+V= 3.5.1
+DISTNAME=  bitlbee-$V
+PKGSPEC=   bitlbee-=$V
+REVISION=  0
 CATEGORIES=net
 
 HOMEPAGE=  http://bitlbee.org/
@@ -40,7 +43,7 @@ CONFIGURE_ARGS+=  --bindir=${PREFIX}/libe
 USE_GMAKE= Yes
 MAKE_ENV=  "CC=${CC}" "CFLAGS=${CFLAGS}"
 FAKE_FLAGS=ETCDIR=${EXAMPLEDIR}
-FAKE_TARGET=   install install-etc
+FAKE_TARGET=   install install-etc install-dev
 SUBST_VARS=DB_DIR
 
 FLAVORS =  libpurple otr
Index: pkg/PLIST
===
RCS file: /cvs/ports/net/bitlbee/pkg/PLIST,v
retrieving revision 1.16
diff -u -p -r1.16 PLIST
--- pkg/PLIST   9 Apr 2012 15:37:52 -   1.16
+++ pkg/PLIST   27 May 2017 14:41:50 -
@@ -3,6 +3,45 @@
 @newgroup _bitlbee:509
 @newuser _bitlbee:509:_bitlbee:daemon:Bitlbee 
Account:/nonexistent:/sbin/nologin
 @extraunexec rm -rf ${DB_DIR}/*
+include/bitlbee/
+include/bitlbee/account.h
+include/bitlbee/arc.h
+include/bitlbee/auth.h
+include/bitlbee/base64.h
+include/bitlbee/bee.h
+include/bitlbee/bitlbee.h
+include/bitlbee/commands.h
+include/bitlbee/conf.h
+include/bitlbee/config.h
+include/bitlbee/dcc.h
+include/bitlbee/events.h
+include/bitlbee/ft.h
+include/bitlbee/ftutil.h
+include/bitlbee/help.h
+include/bitlbee/http_client.h
+include/bitlbee/ini.h
+include/bitlbee/ipc.h
+include/bitlbee/irc.h
+include/bitlbee/json.h
+include/bitlbee/json_util.h
+include/bitlbee/log.h
+include/bitlbee/md5.h
+include/bitlbee/misc.h
+include/bitlbee/nick.h
+include/bitlbee/nogaim.h
+include/bitlbee/oauth.h
+include/bitlbee/oauth2.h
+include/bitlbee/otr.h
+include/bitlbee/proxy.h
+include/bitlbee/query.h
+include/bitlbee/set.h
+include/bitlbee/sha1.h
+include/bitlbee/sock.h
+include/bitlbee/ssl_client.h
+include/bitlbee/storage.h
+include/bitlbee/url.h
+include/bitlbee/xmltree.h
+lib/pkgconfig/bitlbee.pc
 @man man/man5/bitlbee.conf.5
 @man man/man8/bitlbee.8
 @bin sbin/bitlbee

-- 
Michal Mazurek


bitlbee-facebook.tgz
Description: application/tar-gz


Re: loudmouth 1.5.3 : questions

2017-05-27 Thread Thuban
Thanks, makesum was useful indeed.

I missed this previous patch [1]. It works perfectly for me. Good job.

Regards

[1] : https://marc.info/?l=openbsd-ports&m=149273558317114&w=2



Re: new: net/bitlbee-facebook

2017-05-27 Thread Stuart Henderson
On 2017/05/27 10:30, Michal Mazurek wrote:
> This port allows using facebook messenger from bitlbee. Requires the
> following diff to bitlbee:
> 
> Index: Makefile
> ===
> RCS file: /cvs/ports/net/bitlbee/Makefile,v
> retrieving revision 1.59
> diff -u -p -r1.59 Makefile
> --- Makefile  27 May 2017 08:01:33 -  1.59
> +++ Makefile  27 May 2017 08:22:21 -
> @@ -40,7 +40,7 @@ CONFIGURE_ARGS+=--bindir=${PREFIX}/libe
>  USE_GMAKE=   Yes
>  MAKE_ENV="CC=${CC}" "CFLAGS=${CFLAGS}"
>  FAKE_FLAGS=  ETCDIR=${EXAMPLEDIR}
> -FAKE_TARGET= install install-etc
> +FAKE_TARGET= install install-etc install-dev
>  SUBST_VARS=  DB_DIR
>  
>  FLAVORS =libpurple otr

Bump REVISION. I would also set PKGSPEC so that ports depending on bitlbee
are tied to the correct version of bitlbee, otherwise for future bitlbee
updates we'd need to check for any ABI change in the plugin interface and
bump bitlbee-facebook and any other deps. Like this:

V=  3.5.1
DISTNAME=   bitlbee-$V
PKGSPEC=bitlbee-=$V
REVISION=   0

> COMMENT=The Facebook protocol plugin for bitlbee

I'd drop "The" and mention "messenger" too e.g.

COMMENT=Facebook Messenger protocol plugin for bitlbee

Kill the useless static archive (probably "LIBTOOL_FLAGS= 
--tag=disable-static"),
and probably also @comment the .la file (but check that it works without).



Re: loudmouth 1.5.3 : questions

2017-05-27 Thread Daniel Jakots
On Sat, 27 May 2017 15:27:01 +0200, Thuban 
wrote:

> Hello,
> I try to understand how to properly update ports for loudmouth.
> loudmouth is currently 1.4.3p6 but an update fixing many bugs (for
> certificates as example) is avaiable : 1.5.3.

There's a pending diff that you may prefer to review:
https://marc.info/?l=openbsd-ports&m=149273558317114&w=2

> I modified the Makefile to fetch the new archive : 
> 
>   V=  1.5.3
>   HOMEPAGE=   https://github.com/mcabber/loudmouth
>   MASTER_SITES=   https://mcabber.com/files/loudmouth/
> 
> 
> When I try to test this port, it fails just after retrieving the
> .tar.bz2 : 

You don't give the command you run.

>   ===>  Checking files for loudmouth-1.5.3p7  
>   >> Fetch
>   >> https://mcabber.com/files/loudmouth/loudmouth-1.5.3.tar.bz2  
>   loudmouth-1.5.3.tar.bz2 100%
> ||   367 KB
> 00:01
>   >> No size recorded for loudmouth-1.5.3.tar.bz2  
>   *** Error 1 in .
> (/usr/ports/infrastructure/mk/bsd.port.mk:2830
> '/usr/ports/distfiles/loudmouth-1.5.3.tar.bz2':
> @lock=loudmouth-1.5.3.tar.bz...) *** Error 1 in .
> (/usr/ports/infrastructure/mk/bsd.port.mk:2193 '_internal-fetch') ***
> Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2442
> '/usr/ports/pobj/loudmouth-1.5.3/.extract_done') *** Error 1
> in /usr/ports/net/loudmouth
> (/usr/ports/infrastructure/mk/bsd.port.mk:2344 'all')
> 
> 
> Any advice ?
> 
> Regards



Re: loudmouth 1.5.3 : questions

2017-05-27 Thread Stuart Henderson
On 2017/05/27 15:27, Thuban wrote:
> Hello,
> I try to understand how to properly update ports for loudmouth.
> loudmouth is currently 1.4.3p6 but an update fixing many bugs (for
> certificates as example) is avaiable : 1.5.3.
> 
> I modified the Makefile to fetch the new archive : 
> 
>   V=  1.5.3
>   HOMEPAGE=   https://github.com/mcabber/loudmouth
>   MASTER_SITES=   https://mcabber.com/files/loudmouth/
> 
> 
> When I try to test this port, it fails just after retrieving the
> .tar.bz2 : 
> 
>   ===>  Checking files for loudmouth-1.5.3p7
>   >> Fetch https://mcabber.com/files/loudmouth/loudmouth-1.5.3.tar.bz2
>   loudmouth-1.5.3.tar.bz2 100% 
> ||   367 KB00:01
>   >> No size recorded for loudmouth-1.5.3.tar.bz2
>   *** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2830 
> '/usr/ports/distfiles/loudmouth-1.5.3.tar.bz2': 
> @lock=loudmouth-1.5.3.tar.bz...)
>   *** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2193 
> '_internal-fetch')
>   *** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2442 
> '/usr/ports/pobj/loudmouth-1.5.3/.extract_done')
>   *** Error 1 in /usr/ports/net/loudmouth 
> (/usr/ports/infrastructure/mk/bsd.port.mk:2344 'all')
> 
> 
> Any advice ?
> 
> Regards
> -- 
>  

make makesum



Re: hidden dependency in games/eduke32

2017-05-27 Thread Stuart Henderson
On 2017/05/27 13:03, Marc Espie wrote:
> while checking eduke32 for clang, I ran into a weird compile error.
> 
> Turns out eduke32 includes an (old?) version of lz4 that doesn't look quite
> like the one in archivers/lz4.
> 
> The following patch makes eduke32 just use archivers/lz4 so it won't 
> miscompile
> if lz4 happens to be installed.

ok.



loudmouth 1.5.3 : questions

2017-05-27 Thread Thuban
Hello,
I try to understand how to properly update ports for loudmouth.
loudmouth is currently 1.4.3p6 but an update fixing many bugs (for
certificates as example) is avaiable : 1.5.3.

I modified the Makefile to fetch the new archive : 

V=  1.5.3
HOMEPAGE=   https://github.com/mcabber/loudmouth
MASTER_SITES=   https://mcabber.com/files/loudmouth/


When I try to test this port, it fails just after retrieving the
.tar.bz2 : 

===>  Checking files for loudmouth-1.5.3p7
>> Fetch https://mcabber.com/files/loudmouth/loudmouth-1.5.3.tar.bz2
loudmouth-1.5.3.tar.bz2 100% 
||   367 KB00:01
>> No size recorded for loudmouth-1.5.3.tar.bz2
*** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2830 
'/usr/ports/distfiles/loudmouth-1.5.3.tar.bz2': @lock=loudmouth-1.5.3.tar.bz...)
*** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2193 
'_internal-fetch')
*** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2442 
'/usr/ports/pobj/loudmouth-1.5.3/.extract_done')
*** Error 1 in /usr/ports/net/loudmouth 
(/usr/ports/infrastructure/mk/bsd.port.mk:2344 'all')


Any advice ?

Regards
-- 


hidden dependency in games/eduke32

2017-05-27 Thread Marc Espie
while checking eduke32 for clang, I ran into a weird compile error.

Turns out eduke32 includes an (old?) version of lz4 that doesn't look quite
like the one in archivers/lz4.

The following patch makes eduke32 just use archivers/lz4 so it won't miscompile
if lz4 happens to be installed.

Index: Makefile
===
RCS file: /cvs/ports/games/eduke32/Makefile,v
retrieving revision 1.9
diff -u -p -r1.9 Makefile
--- Makefile27 May 2017 10:54:47 -  1.9
+++ Makefile27 May 2017 10:59:43 -
@@ -7,6 +7,7 @@ DISTNAME =  eduke32_src_${RDATE}-${RTAG}
 PKGNAME =  eduke32-2.0.0.${RTAG}
 EXTRACT_SUFX = .tar.xz
 CATEGORIES =   games x11
+REVISION = 0
 
 HOMEPAGE = http://www.eduke32.com/
 
@@ -24,10 +25,11 @@ BUILD_DEPENDS = archivers/unzip \
 BUILD_DEPENDS += devel/nasm
 .endif
 
-WANTLIB += c m ogg png pthread vorbis vorbisfile vpx z
+WANTLIB += c m ogg png pthread vorbis vorbisfile vpx z lz4
 WANTLIB += SDL2 SDL2_mixer FLAC execinfo ${LIBECXX}
 
-LIB_DEPENDS =  audio/libvorbis \
+LIB_DEPENDS =  archivers/lz4 \
+   audio/libvorbis \
audio/flac \
devel/sdl2 \
devel/sdl2-mixer \
@@ -59,6 +61,7 @@ post-extract:
# check for data files in correct location
@sed -i "s,/usr/share/games/eduke32,${TRUEPREFIX}/share/duke3d," \
${WRKSRC}/source/common.c
+   rm ${WRKSRC}/build/include/lz4.h
 
 do-install:
${INSTALL_PROGRAM} ${WRKBUILD}/eduke32 ${PREFIX}/bin
Index: patches/patch-Makefile
===
RCS file: patches/patch-Makefile
diff -N patches/patch-Makefile
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-Makefile  27 May 2017 10:59:43 -
@@ -0,0 +1,22 @@
+$OpenBSD$
+
+Index: Makefile
+--- Makefile.orig
 Makefile
+@@ -50,7 +50,6 @@ ENGINE_OBJS = \
+ textfont \
+ smalltextfont \
+ kplib \
+-lz4 \
+ osd \
+ pragmas \
+ scriptfile \
+@@ -472,6 +471,8 @@ endif
+ ifeq ($(PLATFORM),BSD)
+ LIBS += -lFLAC -lvorbisfile -lvorbis -logg -lexecinfo
+ endif
++
++LIBS +=   -llz4
+ 
+ ifeq ($(PLATFORM),DARWIN)
+ # LIBDIRS += -L$(AUDIOLIB_ROOT)/third-party/Apple/lib
Index: patches/patch-Makefile_common
===
RCS file: /cvs/ports/games/eduke32/patches/patch-Makefile_common,v
retrieving revision 1.2
diff -u -p -r1.2 patch-Makefile_common
--- patches/patch-Makefile_common   20 Aug 2016 05:16:02 -  1.2
+++ patches/patch-Makefile_common   27 May 2017 10:59:43 -
@@ -1,7 +1,8 @@
 $OpenBSD: patch-Makefile_common,v 1.2 2016/08/20 05:16:02 bentley Exp $
 Makefile.common.orig   Sat Jun  4 22:46:28 2016
-+++ Makefile.commonFri Aug 19 22:49:13 2016
-@@ -28,14 +20,6 @@ PKG_CONFIG=pkg-config
+Index: Makefile.common
+--- Makefile.common.orig
 Makefile.common
+@@ -28,14 +28,6 @@ PKG_CONFIG=pkg-config
  DONT_PRINT = > /dev/null 2>&1
  DONT_FAIL = ; exit 0
  
@@ -16,7 +17,7 @@ $OpenBSD: patch-Makefile_common,v 1.2 20
  COBJC=$(CC) -x objective-c
  COBJCXX=$(CXX) -x objective-c++
  L_CC=$(CC)
-@@ -283,14 +267,9 @@ GUI_LIBS=
+@@ -283,14 +275,9 @@ GUI_LIBS=
  LIBDIRS=
  
  ifeq (1,$(strip $(shell expr $(GCC_MAJOR) \>= 4)))
@@ -31,7 +32,7 @@ $OpenBSD: patch-Makefile_common,v 1.2 20
  endif
  
  W_STRICT_OVERFLOW := -Wno-strict-overflow
-@@ -663,10 +642,6 @@ DLLSUFFIX=.so
+@@ -663,10 +650,6 @@ DLLSUFFIX=.so
  
  SDL_TARGET ?= 2
  SDL_FRAMEWORK ?= 0
Index: patches/patch-Makefile_deps
===
RCS file: patches/patch-Makefile_deps
diff -N patches/patch-Makefile_deps
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-Makefile_deps 27 May 2017 10:59:43 -
@@ -0,0 +1,13 @@
+$OpenBSD$
+
+Index: Makefile.deps
+--- Makefile.deps.orig
 Makefile.deps
+@@ -84,7 +84,6 @@ $(DUKE3D_OBJ)/astub.$o: $(DUKE3D_SRC)/astub.c \
+ $(ENGINE_INC)/cache1d.h \
+ $(ENGINE_INC)/crc32.h \
+ $(ENGINE_INC)/scriptfile.h \
+-$(ENGINE_INC)/lz4.h \
+ $(DUKE3D_SRC)/macros.h \
+ $(DUKE3D_SRC)/osdfuncs.h \
+ $(DUKE3D_SRC)/names.h \
Index: patches/patch-build_Makefile_deps
===
RCS file: patches/patch-build_Makefile_deps
diff -N patches/patch-build_Makefile_deps
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-build_Makefile_deps   27 May 2017 10:59:43 -
@@ -0,0 +1,22 @@
+$OpenBSD$
+
+Index: build/Makefile.deps
+--- build/Makefile.deps.orig
 build/Makefile.deps
+@@ -10,7 +10,7 @@ $(ENGINE_OBJ)/config.$o: $(ENGINE_SRC)/config.c $(ENGI
+ $(ENGINE_OBJ)/crc32.$o: $(ENGINE_SRC)/crc32.c $(ENGINE_INC)/crc32.h
+ $(ENGINE_OBJ)/defs.$o: $(ENGINE_SRC)/defs.c $(ENGINE_INC)/build.h 
$(ENGINE_INC)/buildtypes.h $(ENGINE_INC)/baselayer.h $(ENGINE_INC)/scriptfile.h 
$(ENGINE_INC)/compat.h
+ $(ENGINE_OBJ)/engine.$o: $(ENGINE_SRC)/engine.c 

Re: Handle --tag= in the middle of libtool options list

2017-05-27 Thread Marc Espie
On Sat, May 27, 2017 at 11:36:46AM +0300, Vadim Zhukov wrote:
> This allows to handle --tag=... args in the middle of options list.
> Unbreaks multimedia/lives with base Clang. I don't see any potential
> breakage because compilers and linkers do not accept --tag= anyway.
> 
> Okay?
> 
> --
> WBR,
>   Vadim Zhukov
> 
> P.S.: Our regress/usr.bin/libtool looks like a bit... outdated,
> but that's a separate issue.
> 
> 
> Index: LT/Getopt.pm
> ===
> RCS file: /cvs/src/usr.bin/libtool/LT/Getopt.pm,v
> retrieving revision 1.12
> diff -u -p -r1.12 Getopt.pm
> --- LT/Getopt.pm  19 Mar 2014 02:16:22 -  1.12
> +++ LT/Getopt.pm  27 May 2017 08:33:23 -
> @@ -228,6 +228,7 @@ sub create_options
>   my ($self, @l) = @_;
>   my @options = ();
>   # first pass creates accessors
> + push(@l, '-tag=', sub { $self->add_tag($_[2]); });
>   while (my $opt = shift @l) {
>   my $isarray = ($opt =~ s/\@$//);
>   # default code or not
okay



[PATCH] textproc/ispell segfaults immediately on being run

2017-05-27 Thread Bryan Linton
Hello ports@

I noticed that somehow, ispell now segfaults immediately upon
being run with an error such as:

ispell(67135) in free(): bogus pointer (double free?) 0x687361

I compiled it with debug symbols, and attemped to debug it with gdb.
However, I'm still in the process of learning how to debug things,
and couldn't fix it even after poking at a few things here and there.

I attemped to compile ispell with clang, since IMO clang sometimes
gives better error messages than GCC and surprisingly enough,
ispell Just Works(TM) when compiled with clang.

Yes, I know this is probably just painting over a real problem in
ispell that should be fixed, but it gets ispell working for me.

I also realized after making the attached patch, that ispell
3.4.00 has been released, whereas the current version in ports is
3.2.06.  It may be easier to just update the port.  I'll attempt
to do so myself if I can find some extra time soon.

-- 
Bryan

Index: Makefile
===
RCS file: /cvs/ports/textproc/ispell/Makefile,v
retrieving revision 1.64
diff -u -r1.64 Makefile
--- Makefile3 Dec 2015 21:24:32 -   1.64
+++ Makefile27 May 2017 09:01:10 -
@@ -14,6 +14,10 @@
 DISTNAME=  ispell-${VERSION}
 CATEGORIES=textproc
 
+MODULES=   lang/clang
+MODCLANG_ARCHS=*
+MODCLANG_LANGS= c c++
+
 HOMEPAGE=  http://fmg-www.cs.ucla.edu/geoff/ispell.html
 
 MASTER_SITES=  http://fmg-www.cs.ucla.edu/geoff/tars/ \
@@ -57,7 +61,7 @@
 SUBST_VARS+=   VERSION
 
 PKGNAME-main=  ${DISTNAME}
-REVISION-main= 9
+REVISION-main= 10
 MULTI_PACKAGES=-main -dutch -french -german -swedish -russian 
-portuguese \
-slovak -spanish
 .for i in ${MULTI_PACKAGES}


Handle --tag= in the middle of libtool options list

2017-05-27 Thread Vadim Zhukov
This allows to handle --tag=... args in the middle of options list.
Unbreaks multimedia/lives with base Clang. I don't see any potential
breakage because compilers and linkers do not accept --tag= anyway.

Okay?

--
WBR,
  Vadim Zhukov

P.S.: Our regress/usr.bin/libtool looks like a bit... outdated,
but that's a separate issue.


Index: LT/Getopt.pm
===
RCS file: /cvs/src/usr.bin/libtool/LT/Getopt.pm,v
retrieving revision 1.12
diff -u -p -r1.12 Getopt.pm
--- LT/Getopt.pm19 Mar 2014 02:16:22 -  1.12
+++ LT/Getopt.pm27 May 2017 08:33:23 -
@@ -228,6 +228,7 @@ sub create_options
my ($self, @l) = @_;
my @options = ();
# first pass creates accessors
+   push(@l, '-tag=', sub { $self->add_tag($_[2]); });
while (my $opt = shift @l) {
my $isarray = ($opt =~ s/\@$//);
# default code or not



new: net/bitlbee-facebook

2017-05-27 Thread Michal Mazurek
This port allows using facebook messenger from bitlbee. Requires the
following diff to bitlbee:

Index: Makefile
===
RCS file: /cvs/ports/net/bitlbee/Makefile,v
retrieving revision 1.59
diff -u -p -r1.59 Makefile
--- Makefile27 May 2017 08:01:33 -  1.59
+++ Makefile27 May 2017 08:22:21 -
@@ -40,7 +40,7 @@ CONFIGURE_ARGS+=  --bindir=${PREFIX}/libe
 USE_GMAKE= Yes
 MAKE_ENV=  "CC=${CC}" "CFLAGS=${CFLAGS}"
 FAKE_FLAGS=ETCDIR=${EXAMPLEDIR}
-FAKE_TARGET=   install install-etc
+FAKE_TARGET=   install install-etc install-dev
 SUBST_VARS=DB_DIR
 
 FLAVORS =  libpurple otr
Index: pkg/PLIST
===
RCS file: /cvs/ports/net/bitlbee/pkg/PLIST,v
retrieving revision 1.16
diff -u -p -r1.16 PLIST
--- pkg/PLIST   9 Apr 2012 15:37:52 -   1.16
+++ pkg/PLIST   27 May 2017 08:22:21 -
@@ -3,6 +3,45 @@
 @newgroup _bitlbee:509
 @newuser _bitlbee:509:_bitlbee:daemon:Bitlbee 
Account:/nonexistent:/sbin/nologin
 @extraunexec rm -rf ${DB_DIR}/*
+include/bitlbee/
+include/bitlbee/account.h
+include/bitlbee/arc.h
+include/bitlbee/auth.h
+include/bitlbee/base64.h
+include/bitlbee/bee.h
+include/bitlbee/bitlbee.h
+include/bitlbee/commands.h
+include/bitlbee/conf.h
+include/bitlbee/config.h
+include/bitlbee/dcc.h
+include/bitlbee/events.h
+include/bitlbee/ft.h
+include/bitlbee/ftutil.h
+include/bitlbee/help.h
+include/bitlbee/http_client.h
+include/bitlbee/ini.h
+include/bitlbee/ipc.h
+include/bitlbee/irc.h
+include/bitlbee/json.h
+include/bitlbee/json_util.h
+include/bitlbee/log.h
+include/bitlbee/md5.h
+include/bitlbee/misc.h
+include/bitlbee/nick.h
+include/bitlbee/nogaim.h
+include/bitlbee/oauth.h
+include/bitlbee/oauth2.h
+include/bitlbee/otr.h
+include/bitlbee/proxy.h
+include/bitlbee/query.h
+include/bitlbee/set.h
+include/bitlbee/sha1.h
+include/bitlbee/sock.h
+include/bitlbee/ssl_client.h
+include/bitlbee/storage.h
+include/bitlbee/url.h
+include/bitlbee/xmltree.h
+lib/pkgconfig/bitlbee.pc
 @man man/man5/bitlbee.conf.5
 @man man/man8/bitlbee.8
 @bin sbin/bitlbee

-- 
Michal Mazurek


bitlbee-facebook.tgz
Description: application/tar-gz


Re: [NEW] net/packetq

2017-05-27 Thread Frederic Cambus
On Fri, May 26, 2017 at 06:44:58PM +0200, Frederic Cambus wrote:

> Here is a new port: net/packetq

Here is an updated tarball, implementing these changes:

- Use WANT_CXX
- Package the html directory

Thanks to jca@ for the suggestions.


packetq.tar.gz
Description: application/tar-gz