Date: Sat, 21 Mar 2015 18:17:45 +0000 (UTC) From: Guido Falsi <madpilot@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r381811 - in head/devel/sdl12: . files Message-ID: <201503211817.t2LIHjQr044711@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: madpilot Date: Sat Mar 21 18:17:44 2015 New Revision: 381811 URL: https://svnweb.freebsd.org/changeset/ports/381811 QAT: https://qat.redports.org/buildarchive/r381811/ Log: Import upstream fix to stop sdl-config from unconditionally defining _GNU_SOURCE. PR: 198745 Submitted by: me Differential Revision: https://reviews.freebsd.org/D2066 Approved by: mva@ (maintainer) Reported by: Georg Kilzer (leper) Obtained from: http://hg.libsdl.org/SDL/rev/7b87c1773b3e Added: head/devel/sdl12/files/patch-configure (contents, props changed) Modified: head/devel/sdl12/Makefile Modified: head/devel/sdl12/Makefile ============================================================================== --- head/devel/sdl12/Makefile Sat Mar 21 17:43:37 2015 (r381810) +++ head/devel/sdl12/Makefile Sat Mar 21 18:17:44 2015 (r381811) @@ -3,7 +3,7 @@ PORTNAME= sdl PORTVERSION= 1.2.15 -PORTREVISION= 5 +PORTREVISION= 6 PORTEPOCH= 2 CATEGORIES= devel MASTER_SITES= http://www.libsdl.org/release/ Added: head/devel/sdl12/files/patch-configure ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/sdl12/files/patch-configure Sat Mar 21 18:17:44 2015 (r381811) @@ -0,0 +1,24 @@ +--- configure.orig 2012-01-19 06:30:12 UTC ++++ configure +@@ -2039,12 +2039,6 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu + + ac_config_headers="$ac_config_headers include/SDL_config.h" + +- +-cat >>confdefs.h <<\_ACEOF +-#define _GNU_SOURCE 1 +-_ACEOF +- +- + ac_aux_dir= + for ac_dir in $srcdir/build-scripts; do + if test -f "$ac_dir/install-sh"; then +@@ -15826,7 +15820,7 @@ case "$host" in + BASE_LDFLAGS="-mno-cygwin" + ;; + *) +- BASE_CFLAGS="-D_GNU_SOURCE=1" ++ BASE_CFLAGS="" + BASE_LDFLAGS="" + ;; + esac
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201503211817.t2LIHjQr044711>