pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/log4shib



Module Name:    pkgsrc
Committed By:   maya
Date:           Sat Dec  6 23:43:36 UTC 2025

Modified Files:
        pkgsrc/devel/log4shib: Makefile

Log Message:
log4shib: Build fix (seen in NetBSD 11 build results)

If GCC defaults to C++17, it errors out as that's when dynamic exceptions
were removed. Force us to use C++11.


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 pkgsrc/devel/log4shib/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/log4shib/Makefile
diff -u pkgsrc/devel/log4shib/Makefile:1.12 pkgsrc/devel/log4shib/Makefile:1.13
--- pkgsrc/devel/log4shib/Makefile:1.12 Mon Mar  3 20:29:26 2025
+++ pkgsrc/devel/log4shib/Makefile      Sat Dec  6 23:43:36 2025
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2025/03/03 20:29:26 wiz Exp $
+# $NetBSD: Makefile,v 1.13 2025/12/06 23:43:36 maya Exp $
 
 DISTNAME=      log4shib-1.0.9
 CATEGORIES=    devel
@@ -20,6 +20,9 @@ USE_TOOLS+=   pkg-config
 USE_LIBTOOL=   yes
 USE_LANGUAGES= c c++
 
+# Uses dynamic exceptions which are removed in C++17.
+FORCE_CXX_STD= c++11
+
 PKGCONFIG_OVERRIDE+=   log4shib.pc.in
 
 .include "../../mk/pthread.buildlink3.mk"



Home | Main Index | Thread Index | Old Index