pkgsrc-Changes archive

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

CVS commit: pkgsrc/graphics/libexif



Module Name:    pkgsrc
Committed By:   tnn
Date:           Mon Aug  5 08:07:00 UTC 2024

Modified Files:
        pkgsrc/graphics/libexif: Makefile

Log Message:
libexif: needs _POSIX_C_SOURCE for localtime_r(3)


To generate a diff of this commit:
cvs rdiff -u -r1.52 -r1.53 pkgsrc/graphics/libexif/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/libexif/Makefile
diff -u pkgsrc/graphics/libexif/Makefile:1.52 pkgsrc/graphics/libexif/Makefile:1.53
--- pkgsrc/graphics/libexif/Makefile:1.52       Wed Aug  2 16:17:17 2023
+++ pkgsrc/graphics/libexif/Makefile    Mon Aug  5 08:07:00 2024
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.52 2023/08/02 16:17:17 nia Exp $
+# $NetBSD: Makefile,v 1.53 2024/08/05 08:07:00 tnn Exp $
 
 DISTNAME=      libexif-0.6.24
 CATEGORIES=    graphics
@@ -22,5 +22,8 @@ PKGCONFIG_OVERRIDE=   libexif.pc.in
 # "error: 'for' loop initial declarations are only allowed in C99 mode"
 FORCE_C_STD=           c99
 
+# 199506L for localtime_r, but has to be at least 200112L with C99
+CPPFLAGS+=     -D_POSIX_C_SOURCE=200112L
+
 .include "../../devel/gettext-lib/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index