pkgsrc-Changes archive

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

CVS commit: pkgsrc/math/amath



Module Name:    pkgsrc
Committed By:   wiz
Date:           Sun Jan  4 11:29:40 UTC 2026

Modified Files:
        pkgsrc/math/amath: Makefile

Log Message:
amath: force build with C++11

since it doesn't build with C++17 default of gcc 14


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 pkgsrc/math/amath/Makefile

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

Modified files:

Index: pkgsrc/math/amath/Makefile
diff -u pkgsrc/math/amath/Makefile:1.6 pkgsrc/math/amath/Makefile:1.7
--- pkgsrc/math/amath/Makefile:1.6      Fri Dec 22 19:27:21 2023
+++ pkgsrc/math/amath/Makefile  Sun Jan  4 11:29:40 2026
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2023/12/22 19:27:21 zafer Exp $
+# $NetBSD: Makefile,v 1.7 2026/01/04 11:29:40 wiz Exp $
 
 DISTNAME=      amath-1.8.3
 CATEGORIES=    math
@@ -18,6 +18,8 @@ CONFIGURE_ARGS+=      --with-libm
 CONFIGURE_ARGS+=       CFLAGS=${CFLAGS:Q}
 CONFIGURE_ARGS+=       CXXFLAGS=${CXXFLAGS:Q}
 CONFIGURE_ARGS+=       LDFLAGS=${LDFLAGS:Q}
+# src/main.cpp:61:34: error: ISO C++17 does not allow dynamic exception specifications
+FORCE_CXX_STD=         c++11
 
 BUILD_TARGET=          static
 INSTALLATION_DIRS=     bin ${PKGMANDIR}/man1



Home | Main Index | Thread Index | Old Index