svn commit: r378318 - head/sysutils/pmt/files

John Marino marino at FreeBSD.org
Mon Feb 2 19:05:12 UTC 2015


Author: marino
Date: Mon Feb  2 19:05:11 2015
New Revision: 378318
URL: https://svnweb.freebsd.org/changeset/ports/378318
QAT: https://qat.redports.org/buildarchive/r378318/

Log:
  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.

Modified:
  head/sysutils/pmt/files/patch-config.mak

Modified: head/sysutils/pmt/files/patch-config.mak
==============================================================================
--- head/sysutils/pmt/files/patch-config.mak	Mon Feb  2 18:50:52 2015	(r378317)
+++ head/sysutils/pmt/files/patch-config.mak	Mon Feb  2 19:05:11 2015	(r378318)
@@ -1,10 +1,10 @@
---- ./config.mak.orig	2010-01-06 08:21:36.000000000 -0500
-+++ ./config.mak	2010-01-06 08:21:54.000000000 -0500
+--- 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__XSI_VISIBLE \
++PMT_CFLAGS = -std=c99 -Wall -Werror -pedantic -D_XOPEN_SOURCE=500 \
  			 -D_POSIX_SOURCE -DVERSION='$(VERSION)' \
  			 -I. -Ilibowfat
  


More information about the svn-ports-all mailing list