summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwiz <wiz>2012-09-15 08:25:25 +0000
committerwiz <wiz>2012-09-15 08:25:25 +0000
commit32b42e70ea43d9352babe9ee7fd8bafcd335a067 (patch)
tree0a5bc2fbeadd4a0e5e5c52a714dd354722e849b8
parent4ee41442f41cd20535dfe6292b9fcd6b2e432b3d (diff)
downloadpkgsrc-32b42e70ea43d9352babe9ee7fd8bafcd335a067.tar.gz
Remove patch that was removed from distinfo
-rw-r--r--lang/ruby18-base/patches/patch-numeric.c36
1 files changed, 0 insertions, 36 deletions
diff --git a/lang/ruby18-base/patches/patch-numeric.c b/lang/ruby18-base/patches/patch-numeric.c
deleted file mode 100644
index c46c9a2d417..00000000000
--- a/lang/ruby18-base/patches/patch-numeric.c
+++ /dev/null
@@ -1,36 +0,0 @@
-$NetBSD: patch-numeric.c,v 1.1 2012/09/14 15:56:23 taca Exp $
-
-Fix bignum problem on OS X 10.8, clang.
-
---- numeric.c.orig 2011-12-10 12:17:27.000000000 +0000
-+++ numeric.c
-@@ -2161,7 +2161,7 @@ fix_mul(x, y)
- VALUE x, y;
- {
- if (FIXNUM_P(y)) {
--#ifdef __HP_cc
-+#if defined(__HP_cc) || defined(__clang__)
- /* avoids an optimization bug of HP aC++/ANSI C B3910B A.06.05 [Jul 25 2005] */
- volatile
- #endif
-@@ -2319,9 +2319,9 @@ int_pow(x, y)
- y &= ~1;
- do {
- while (y % 2 == 0) {
-- long x2 = x * x;
-+ volatile long x2 = x * x;
- if (x2/x != x || !POSFIXABLE(x2)) {
-- VALUE v;
-+ volatile VALUE v;
- bignum:
- v = rb_big_pow(rb_int2big(x), LONG2NUM(y));
- if (z != 1) v = rb_big_mul(rb_int2big(neg ? -z : z), v);
-@@ -2331,7 +2331,7 @@ int_pow(x, y)
- y >>= 1;
- }
- {
-- long xz = x * z;
-+ volatile long xz = x * z;
- if (!POSFIXABLE(xz) || xz / x != z) {
- goto bignum;
- }