Date: Tue, 25 Feb 2014 04:18:08 +0000 (UTC) From: Steve Wills <swills@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r345917 - in head/lang: ruby19/files ruby20/files ruby21/files Message-ID: <201402250418.s1P4I8ZA094139@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: swills Date: Tue Feb 25 04:18:07 2014 New Revision: 345917 URL: http://svnweb.freebsd.org/changeset/ports/345917 QAT: https://qat.redports.org/buildarchive/r345917/ Log: - Add patch to fix build on 11-CURRENT after Clang 3.4 import. No need to conditionalize this on OSVER because the patch is safe everywhere. No bump because package doesn't change. Submitted by: antoine (1.9, 2.0 and 2.1 based on) Added: head/lang/ruby19/files/patch-ext__dl__extconf.rb (contents, props changed) head/lang/ruby20/files/patch-ext__dl__extconf.rb (contents, props changed) head/lang/ruby21/files/patch-ext__dl__extconf.rb (contents, props changed) Added: head/lang/ruby19/files/patch-ext__dl__extconf.rb ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/lang/ruby19/files/patch-ext__dl__extconf.rb Tue Feb 25 04:18:07 2014 (r345917) @@ -0,0 +1,12 @@ +--- ./ext/dl/extconf.rb.orig 2010-02-25 22:49:20.000000000 +0000 ++++ ./ext/dl/extconf.rb 2014-02-18 22:06:44.000000000 +0000 +@@ -1,7 +1,8 @@ + require 'mkmf' + + if RbConfig::CONFIG['GCC'] == 'yes' +- $CFLAGS << " -fno-defer-pop -fno-omit-frame-pointer" ++ $CFLAGS << " -fno-defer-pop" unless have_macro("__clang__") ++ $CFLAGS << " -fno-omit-frame-pointer" + end + + $INSTALLFILES = [ Added: head/lang/ruby20/files/patch-ext__dl__extconf.rb ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/lang/ruby20/files/patch-ext__dl__extconf.rb Tue Feb 25 04:18:07 2014 (r345917) @@ -0,0 +1,11 @@ +--- ext/dl/extconf.rb.orig 2014-02-24 15:49:13.436431209 +0000 ++++ ext/dl/extconf.rb 2014-02-24 15:50:21.287476923 +0000 +@@ -1,7 +1,7 @@ + require 'mkmf' + + if RbConfig::CONFIG['GCC'] == 'yes' +- (have_macro("__clang__") ? $LDFLAGS : $CFLAGS) << " -fno-defer-pop" ++ $CFLAGS << " -fno-defer-pop" unless have_macro("__clang__") + $CFLAGS << " -fno-omit-frame-pointer" + end + Added: head/lang/ruby21/files/patch-ext__dl__extconf.rb ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/lang/ruby21/files/patch-ext__dl__extconf.rb Tue Feb 25 04:18:07 2014 (r345917) @@ -0,0 +1,11 @@ +--- ext/dl/extconf.rb.orig 2014-02-24 15:49:13.436431209 +0000 ++++ ext/dl/extconf.rb 2014-02-24 15:50:21.287476923 +0000 +@@ -1,7 +1,7 @@ + require 'mkmf' + + if RbConfig::CONFIG['GCC'] == 'yes' +- (have_macro("__clang__") ? $LDFLAGS : $CFLAGS) << " -fno-defer-pop" ++ $CFLAGS << " -fno-defer-pop" unless have_macro("__clang__") + $CFLAGS << " -fno-omit-frame-pointer" + end +
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402250418.s1P4I8ZA094139>