summaryrefslogtreecommitdiff
path: root/package/ruby/patches/patch-missing_isnan_c
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-10-24 16:36:52 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2013-10-24 16:36:52 +0200
commit82cce6038c7fc05bf1107613fc4b5d3ba8aceb83 (patch)
tree3ed19c48bfe55c1a95e7e34ec7798fb13a23922f /package/ruby/patches/patch-missing_isnan_c
parent24092f8e8b58464e33d163d8dee9e864895b50a5 (diff)
parentba1dbc96f36abce072ac39a33bb0bd85e12a4e97 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/ruby/patches/patch-missing_isnan_c')
-rw-r--r--package/ruby/patches/patch-missing_isnan_c11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/ruby/patches/patch-missing_isnan_c b/package/ruby/patches/patch-missing_isnan_c
new file mode 100644
index 000000000..f85fef4ec
--- /dev/null
+++ b/package/ruby/patches/patch-missing_isnan_c
@@ -0,0 +1,11 @@
+--- ruby-2.0.0-p247.orig/missing/isnan.c 2010-07-28 10:12:01.000000000 +0200
++++ ruby-2.0.0-p247/missing/isnan.c 2013-10-24 09:02:41.000000000 +0200
+@@ -4,6 +4,8 @@
+
+ static int double_ne(double n1, double n2);
+
++#undef isnan
++
+ int
+ isnan(double n)
+ {