pkgsrc-Changes archive

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

CVS commit: pkgsrc/graphics/jasper



Module Name:    pkgsrc
Committed By:   tnn
Date:           Fri Sep 20 07:04:56 UTC 2024

Modified Files:
        pkgsrc/graphics/jasper: Makefile

Log Message:
jasper: need _DARWIN_C_SOURCE with _POSIX_C_SOURCE

Else u_char won't be defined which breaks sysctl.h.
Might be a bug in macOS 15.


To generate a diff of this commit:
cvs rdiff -u -r1.80 -r1.81 pkgsrc/graphics/jasper/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/jasper/Makefile
diff -u pkgsrc/graphics/jasper/Makefile:1.80 pkgsrc/graphics/jasper/Makefile:1.81
--- pkgsrc/graphics/jasper/Makefile:1.80        Sun Aug 25 06:18:51 2024
+++ pkgsrc/graphics/jasper/Makefile     Fri Sep 20 07:04:56 2024
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.80 2024/08/25 06:18:51 wiz Exp $
+# $NetBSD: Makefile,v 1.81 2024/09/20 07:04:56 tnn Exp $
 
 DISTNAME=      jasper-4.2.4
 CATEGORIES=    graphics
@@ -22,6 +22,7 @@ TEST_ENV+=            DYLD_LIBRARY_PATH=${WRKSRC}/
 TEST_TARGET=           test
 
 CFLAGS+=       -D_POSIX_C_SOURCE=200112L       # nanosleep(2)
+CFLAGS.Darwin+=        -D_DARWIN_C_SOURCE=1
 
 .include "options.mk"
 .include "../../devel/cmake/build.mk"



Home | Main Index | Thread Index | Old Index