aboutsummaryrefslogtreecommitdiffstats
path: root/lang/ruby20
diff options
context:
space:
mode:
authorswills <swills@FreeBSD.org>2014-02-25 12:18:07 +0800
committerswills <swills@FreeBSD.org>2014-02-25 12:18:07 +0800
commit33df36793c24063ca0f374ce3ef36f642f3ddd5f (patch)
tree702131052bd341c4a93ef09faf5dd53e03b4e4f0 /lang/ruby20
parentb7c07b6f683f88973fa1a3a8709d1a855f3d62c5 (diff)
downloadfreebsd-ports-gnome-33df36793c24063ca0f374ce3ef36f642f3ddd5f.tar.gz
freebsd-ports-gnome-33df36793c24063ca0f374ce3ef36f642f3ddd5f.tar.zst
freebsd-ports-gnome-33df36793c24063ca0f374ce3ef36f642f3ddd5f.zip
- 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)
Diffstat (limited to 'lang/ruby20')
-rw-r--r--lang/ruby20/files/patch-ext__dl__extconf.rb11
1 files changed, 11 insertions, 0 deletions
diff --git a/lang/ruby20/files/patch-ext__dl__extconf.rb b/lang/ruby20/files/patch-ext__dl__extconf.rb
new file mode 100644
index 000000000000..bddc2036ae85
--- /dev/null
+++ b/lang/ruby20/files/patch-ext__dl__extconf.rb
@@ -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
+