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:   jperkin
Date:           Tue Jul  8 14:06:36 UTC 2025

Modified Files:
        pkgsrc/graphics/jasper: Makefile

Log Message:
jasper: Remove FORCE_C_STD and _POSIX_C_SOURCE.

Previously used as hacks, these are now actively harmful as the source itself
uses newer standards.  Fixes GCC 14 build.  While here fix the test target so
it actually works.


To generate a diff of this commit:
cvs rdiff -u -r1.85 -r1.86 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.85 pkgsrc/graphics/jasper/Makefile:1.86
--- pkgsrc/graphics/jasper/Makefile:1.85        Thu Apr 24 14:14:24 2025
+++ pkgsrc/graphics/jasper/Makefile     Tue Jul  8 14:06:36 2025
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.85 2025/04/24 14:14:24 wiz Exp $
+# $NetBSD: Makefile,v 1.86 2025/07/08 14:06:36 jperkin Exp $
 
 DISTNAME=      jasper-4.2.5
 PKGREVISION=   1
@@ -12,7 +12,6 @@ COMMENT=      Software-based reference implem
 LICENSE=       modified-bsd
 
 USE_LANGUAGES=         c c++
-FORCE_C_STD=           c99
 USE_TOOLS+=            bash:test
 CMAKE_CONFIGURE_ARGS+= -DALLOW_IN_SOURCE_BUILD=ON
 CMAKE_CONFIGURE_ARGS+= -DJAS_ENABLE_DOC=OFF
@@ -20,9 +19,9 @@ CMAKE_CONFIGURE_ARGS+=        -DJAS_ENABLE_DOC=
 PKGCONFIG_OVERRIDE=    build/pkgconfig/jasper.pc.in
 REPLACE_BASH=          test/bin/*
 TEST_ENV+=             DYLD_LIBRARY_PATH=${WRKSRC}/${CMAKE_BUILD_DIR}/src/libjasper
+TEST_ENV+=             LD_LIBRARY_PATH=${WRKSRC}/${CMAKE_BUILD_DIR}/src/libjasper
 TEST_TARGET=           test
 
-CFLAGS+=       -D_POSIX_C_SOURCE=200112L       # nanosleep(2)
 CFLAGS.Darwin+=        -D_DARWIN_C_SOURCE=1
 
 .include "../../mk/bsd.prefs.mk"



Home | Main Index | Thread Index | Old Index