From owner-svn-ports-head@FreeBSD.ORG Mon Feb 2 19:05:12 2015 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 41F10CA3; Mon, 2 Feb 2015 19:05:12 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2DAFD326; Mon, 2 Feb 2015 19:05:12 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t12J5CwK031356; Mon, 2 Feb 2015 19:05:12 GMT (envelope-from marino@FreeBSD.org) Received: (from marino@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t12J5Cmf031355; Mon, 2 Feb 2015 19:05:12 GMT (envelope-from marino@FreeBSD.org) Message-Id: <201502021905.t12J5Cmf031355@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: marino set sender to marino@FreeBSD.org using -f From: John Marino Date: Mon, 2 Feb 2015 19:05:12 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r378318 - head/sysutils/pmt/files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Feb 2015 19:05:12 -0000 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