pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/cad/ng-spice
Module Name: pkgsrc
Committed By: tnn
Date: Mon Aug 5 13:11:06 UTC 2024
Modified Files:
pkgsrc/cad/ng-spice: Makefile.common
Log Message:
ng-spice: sprinkle feature test macros
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 pkgsrc/cad/ng-spice/Makefile.common
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/cad/ng-spice/Makefile.common
diff -u pkgsrc/cad/ng-spice/Makefile.common:1.3 pkgsrc/cad/ng-spice/Makefile.common:1.4
--- pkgsrc/cad/ng-spice/Makefile.common:1.3 Wed Aug 2 16:17:15 2023
+++ pkgsrc/cad/ng-spice/Makefile.common Mon Aug 5 13:11:06 2024
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.3 2023/08/02 16:17:15 nia Exp $
+# $NetBSD: Makefile.common,v 1.4 2024/08/05 13:11:06 tnn Exp $
#
# used by can/ng-spice
# used by can/ng-spice-shared
@@ -23,3 +23,7 @@ CONFIGURE_ARGS+= --disable-debug
# error: 'for' loop initial declarations are only allowed in C99 mode
FORCE_C_STD= c99
+
+CFLAGS.Linux+= -D_POSIX_C_SOURCE=200809L # fileno(3)
+# should be _XOPEN_SOURCE, but glibc hides usleep with _POSIX_C_SOURCE.
+CFLAGS.Linux+= -D_DEFAULT_SOURCE=1 # usleep(3)
Home |
Main Index |
Thread Index |
Old Index