freebsd-ports/sysutils/pmt/files/extra-patch-config.mak
Greg Larkin ad1a7eacfc - Fixed the build on 8.0. POSIX namespace changes in sys/time.h caused
an implicit function declaration for gettimeofday.

Patched by:	till plewe <till.plewe@gmail.com>
2010-01-06 18:46:09 +00:00

10 lines
356 B
Makefile

--- ./config.mak.orig 2010-01-06 08:21:36.000000000 -0500
+++ ./config.mak 2010-01-06 08:21:54.000000000 -0500
@@ -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__XSI_VISIBLE \
-D_POSIX_SOURCE -DVERSION='$(VERSION)' \
-I. -Ilibowfat