pkgsrc-WIP-changes archive

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

Set _DARWIN_C_SOURCE on Darwin to fix build.



Module Name:	pkgsrc-wip
Committed By:	Amitai Schleier <schmonz-web-git%schmonz.com@localhost>
Pushed By:	schmonz
Date:		Sun Jan 27 21:49:32 2019 -0500
Changeset:	82c2eb695c75bf8657be0f4bdf0f899ab222e52f

Modified Files:
	abduco/Makefile

Log Message:
Set _DARWIN_C_SOURCE on Darwin to fix build.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=82c2eb695c75bf8657be0f4bdf0f899ab222e52f

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

diffstat:
 abduco/Makefile | 1 +
 1 file changed, 1 insertion(+)

diffs:
diff --git a/abduco/Makefile b/abduco/Makefile
index 6e66025431..8aaef9050c 100644
--- a/abduco/Makefile
+++ b/abduco/Makefile
@@ -23,6 +23,7 @@ SUBST_SED.config+=	-e 's,^LDFLAGS =,LDFLAGS +=,'
 SUBST_SED.config+=	-e 's/cc/${CC:Q}/'
 
 CFLAGS.NetBSD+=	-D_NETBSD_SOURCE	# needed for VLNEXT in <sys/termios.h>
+CFLAGS.Darwin+=	-D_DARWIN_C_SOURCE
 
 INSTALLATION_DIRS=	bin ${PKGMANDIR}/man1
 


Home | Main Index | Thread Index | Old Index