summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--graphics/pngcrush/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/graphics/pngcrush/Makefile b/graphics/pngcrush/Makefile
index 9bfdffe673b..51b533a751c 100644
--- a/graphics/pngcrush/Makefile
+++ b/graphics/pngcrush/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.89 2018/08/02 15:02:12 adam Exp $
+# $NetBSD: Makefile,v 1.90 2019/05/05 20:11:25 wiedi Exp $
DISTNAME= pngcrush-1.8.13-nolib
PKGNAME= ${DISTNAME:S/-nolib//}
@@ -14,6 +14,8 @@ LICENSE= zlib
NO_CONFIGURE= yes
INSTALLATION_DIRS= bin
+CFLAGS.SunOS+= -D_XOPEN_SOURCE=600
+
do-build:
cd ${WRKSRC} && ${CC} -DPNG_USE_LOCAL_ARRAYS \
${CFLAGS} `libpng-config --cflags` -o pngcrush pngcrush.c \