pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/zzuf zzuf: fix build on SunOS



details:   https://anonhg.NetBSD.org/pkgsrc/rev/48d4bbf9891f
branches:  trunk
changeset: 369615:48d4bbf9891f
user:      wiedi <wiedi%pkgsrc.org@localhost>
date:      Mon Oct 02 13:36:32 2017 +0000

description:
zzuf: fix build on SunOS

Uses c99 and needs correct feature test macros

diffstat:

 devel/zzuf/Makefile |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (26 lines):

diff -r 582e0412c5e4 -r 48d4bbf9891f devel/zzuf/Makefile
--- a/devel/zzuf/Makefile       Mon Oct 02 13:21:00 2017 +0000
+++ b/devel/zzuf/Makefile       Mon Oct 02 13:36:32 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2017/04/16 21:46:12 khorben Exp $
+# $NetBSD: Makefile,v 1.6 2017/10/02 13:36:32 wiedi Exp $
 #
 
 DISTNAME=      zzuf-0.15
@@ -9,6 +9,7 @@
 HOMEPAGE=      http://caca.zoy.org/wiki/zzuf/
 COMMENT=       Transparent application input fuzzer
 
+USE_LANGUAGES= c99
 GNU_CONFIGURE= yes
 USE_LIBTOOL=   yes
 
@@ -39,6 +40,8 @@
        echo "$$lib"
 .endif
 
+CPPFLAGS.SunOS+=       -D_XOPEN_SOURCE=600 -D__EXTENSIONS__
+
 TEST_TARGET=   check
 
 .include "options.mk"



Home | Main Index | Thread Index | Old Index