pkgsrc-Changes archive

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

CVS commit: pkgsrc/graphics/pngcrush



Module Name:    pkgsrc
Committed By:   wiedi
Date:           Sun May  5 20:11:25 UTC 2019

Modified Files:
        pkgsrc/graphics/pngcrush: Makefile

Log Message:
pngcrush: fix build on SunOS


To generate a diff of this commit:
cvs rdiff -u -r1.89 -r1.90 pkgsrc/graphics/pngcrush/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/graphics/pngcrush/Makefile
diff -u pkgsrc/graphics/pngcrush/Makefile:1.89 pkgsrc/graphics/pngcrush/Makefile:1.90
--- pkgsrc/graphics/pngcrush/Makefile:1.89      Thu Aug  2 15:02:12 2018
+++ pkgsrc/graphics/pngcrush/Makefile   Sun May  5 20:11:25 2019
@@ -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 \



Home | Main Index | Thread Index | Old Index