pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/graphics/pngcrush pngcrush: fix build on SunOS
details: https://anonhg.NetBSD.org/pkgsrc/rev/a02e62a78579
branches: trunk
changeset: 395338:a02e62a78579
user: wiedi <wiedi%pkgsrc.org@localhost>
date: Sun May 05 20:11:25 2019 +0000
description:
pngcrush: fix build on SunOS
diffstat:
graphics/pngcrush/Makefile | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (18 lines):
diff -r a2a2c26daf9f -r a02e62a78579 graphics/pngcrush/Makefile
--- a/graphics/pngcrush/Makefile Sun May 05 18:36:05 2019 +0000
+++ b/graphics/pngcrush/Makefile Sun May 05 20:11:25 2019 +0000
@@ -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 @@
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 \
Home |
Main Index |
Thread Index |
Old Index