pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc
Module Name: pkgsrc
Committed By: nia
Date: Mon May 27 08:56:30 UTC 2024
Added Files:
pkgsrc/chat/znc: hacks.mk
pkgsrc/lang/nodejs: hacks.mk
pkgsrc/misc/indi: hacks.mk
Log Message:
*: Sprinkle some workarounds for libstdc++ in NetBSD 9.x.
It needs _NETBSD_SOURCE to make some ISO C++ functions visible.
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/chat/znc/hacks.mk
cvs rdiff -u -r0 -r1.1 pkgsrc/lang/nodejs/hacks.mk
cvs rdiff -u -r0 -r1.1 pkgsrc/misc/indi/hacks.mk
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Added files:
Index: pkgsrc/chat/znc/hacks.mk
diff -u /dev/null pkgsrc/chat/znc/hacks.mk:1.1
--- /dev/null Mon May 27 08:56:30 2024
+++ pkgsrc/chat/znc/hacks.mk Mon May 27 08:56:30 2024
@@ -0,0 +1,15 @@
+# $NetBSD: hacks.mk,v 1.1 2024/05/27 08:56:30 nia Exp $
+
+.if !defined(ZNC_HACKS_MK)
+ZNC_HACKS_MK= # defined
+
+### [Mon May 27 10:49:39 CEST 2024 : nia]
+### NetBSD 9.x does not expose all standard C++ functions with default
+### source visibility.
+###
+.if ${OPSYS} == "NetBSD" && ${OPSYS_VERSION} < 100000
+PKG_HACKS+= netbsd-source
+CXXFLAGS+= -D_NETBSD_SOURCE
+.endif
+
+.endif
Index: pkgsrc/lang/nodejs/hacks.mk
diff -u /dev/null pkgsrc/lang/nodejs/hacks.mk:1.1
--- /dev/null Mon May 27 08:56:30 2024
+++ pkgsrc/lang/nodejs/hacks.mk Mon May 27 08:56:30 2024
@@ -0,0 +1,15 @@
+# $NetBSD: hacks.mk,v 1.1 2024/05/27 08:56:30 nia Exp $
+
+.if !defined(NODEJS_HACKS_MK)
+NODEJS_HACKS_MK= # defined
+
+### [Mon May 27 10:49:39 CEST 2024 : nia]
+### NetBSD 9.x does not expose all standard C++ functions with default
+### source visibility.
+###
+.if ${OPSYS} == "NetBSD" && ${OPSYS_VERSION} < 100000
+PKG_HACKS+= netbsd-source
+CXXFLAGS+= -D_NETBSD_SOURCE
+.endif
+
+.endif
Index: pkgsrc/misc/indi/hacks.mk
diff -u /dev/null pkgsrc/misc/indi/hacks.mk:1.1
--- /dev/null Mon May 27 08:56:30 2024
+++ pkgsrc/misc/indi/hacks.mk Mon May 27 08:56:30 2024
@@ -0,0 +1,15 @@
+# $NetBSD: hacks.mk,v 1.1 2024/05/27 08:56:30 nia Exp $
+
+.if !defined(INDI_HACKS_MK)
+INDI_HACKS_MK= # defined
+
+### [Mon May 27 10:49:39 CEST 2024 : nia]
+### NetBSD 9.x does not expose all standard C++ functions with default
+### source visibility.
+###
+.if ${OPSYS} == "NetBSD" && ${OPSYS_VERSION} < 100000
+PKG_HACKS+= netbsd-source
+CXXFLAGS+= -D_NETBSD_SOURCE
+.endif
+
+.endif
Home |
Main Index |
Thread Index |
Old Index