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:           Mon Aug  5 12:05:50 UTC 2024

Modified Files:
        pkgsrc/graphics/jasper: Makefile

Log Message:
jasper: needs _POSIX_C_SOURCE


To generate a diff of this commit:
cvs rdiff -u -r1.78 -r1.79 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.78 pkgsrc/graphics/jasper/Makefile:1.79
--- pkgsrc/graphics/jasper/Makefile:1.78        Sun Apr 28 08:44:48 2024
+++ pkgsrc/graphics/jasper/Makefile     Mon Aug  5 12:05:50 2024
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.78 2024/04/28 08:44:48 adam Exp $
+# $NetBSD: Makefile,v 1.79 2024/08/05 12:05:50 tnn Exp $
 
 DISTNAME=      jasper-4.2.4
 CATEGORIES=    graphics
@@ -21,6 +21,8 @@ REPLACE_BASH=         test/bin/*
 TEST_ENV+=             DYLD_LIBRARY_PATH=${WRKSRC}/${CMAKE_BUILD_DIR}/src/libjasper
 TEST_TARGET=           test
 
+CFLAGS+=       -D_POSIX_C_SOURCE=200112L       # nanosleep(2)
+
 .include "options.mk"
 .include "../../devel/cmake/build.mk"
 .include "../../mk/jpeg.buildlink3.mk"



Home | Main Index | Thread Index | Old Index