pkgsrc-Changes archive

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

CVS commit: pkgsrc/graphics/png



Module Name:    pkgsrc
Committed By:   nia
Date:           Mon Apr  7 15:27:27 UTC 2025

Modified Files:
        pkgsrc/graphics/png: Makefile

Log Message:
png: Fix build on UnixWare 7.


To generate a diff of this commit:
cvs rdiff -u -r1.209 -r1.210 pkgsrc/graphics/png/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/png/Makefile
diff -u pkgsrc/graphics/png/Makefile:1.209 pkgsrc/graphics/png/Makefile:1.210
--- pkgsrc/graphics/png/Makefile:1.209  Wed Feb 19 00:04:02 2025
+++ pkgsrc/graphics/png/Makefile        Mon Apr  7 15:27:27 2025
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.209 2025/02/19 00:04:02 wiz Exp $
+# $NetBSD: Makefile,v 1.210 2025/04/07 15:27:27 nia Exp $
 
 DISTNAME=      libpng-1.6.47
 PKGNAME=       ${DISTNAME:S/lib//}
@@ -24,6 +24,8 @@ TEST_TARGET=          check
 
 CPPFLAGS+=     -DPNG_USER_CHUNK_CACHE_MAX=128 -DPNG_USER_CHUNK_MALLOC_MAX=8000000
 
+CPPFLAGS.UnixWare+=    -D_XOPEN_SOURCE=500 -D_POSIX_C_SOURCE=199506
+
 .include "../../mk/bsd.prefs.mk"
 # keep this in sync with the same code in buildlink3.mk
 .if ${MACHINE_ARCH} != "i386" && ${MACHINE_ARCH} != "x86_64"



Home | Main Index | Thread Index | Old Index