ports/sysutils/pmt/files/patch-config.mak
John Marino 5bd2bd281e sysutils/pmt: Rework patch handle POSIX issues on both fbsd and dfly
A few years ago, _XSI_VISIBLE was defined to re-expose gettimeofday on
FreeBSD.  Recent changes to DragonFly's signal.h headers resulted in the
failure of the building of pmt.  By defining _XOPEN_SOURCE=500 instead,
pmt on both platforms.
2015-02-02 19:05:11 +00:00

10 lines
308 B
Makefile

--- config.mak.orig 2005-06-14 19:50:57 UTC
+++ config.mak
@@ -1,6 +1,6 @@
VERSION = 0.2
MAKEFLAGS += --print-directory
-PMT_CFLAGS = -std=c99 -Wall -Werror -pedantic \
+PMT_CFLAGS = -std=c99 -Wall -Werror -pedantic -D_XOPEN_SOURCE=500 \
-D_POSIX_SOURCE -DVERSION='$(VERSION)' \
-I. -Ilibowfat