summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-lang/rubinius/files/gcc-stdc-defines.patch')
-rw-r--r--dev-lang/rubinius/files/gcc-stdc-defines.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/dev-lang/rubinius/files/gcc-stdc-defines.patch b/dev-lang/rubinius/files/gcc-stdc-defines.patch
new file mode 100644
index 000000000..29d2168f5
--- /dev/null
+++ b/dev-lang/rubinius/files/gcc-stdc-defines.patch
@@ -0,0 +1,11 @@
+--- orig-work/evanphx-rubinius-aee1b9b/config.rb 2010-09-28 22:30:51.000000000 -0700
++++ new-work/evanphx-rubinius-aee1b9b/config.rb 2010-09-28 23:13:18.000000000 -0700
+@@ -5,7 +5,7 @@
+ :llvm => :no,
+ :llvm_configure => "",
+ :compiler => "gcc",
+- :defines => ["HAS_EXECINFO"],
++ :defines => ["HAS_EXECINFO", "__STDC_LIMIT_MACROS", "__STDC_CONSTANT_MACROS"],
+ :host => "i686-pc-linux-gnu",
+ :cpu => "i686",
+ :vendor => "pc",