aboutsummaryrefslogtreecommitdiff
path: root/lang/ruby18
diff options
context:
space:
mode:
authorMarcel Moolenaar <marcel@FreeBSD.org>2003-11-27 07:39:33 +0000
committerMarcel Moolenaar <marcel@FreeBSD.org>2003-11-27 07:39:33 +0000
commitb2958437a1a17540d0a8ef59d8d73aac3737e332 (patch)
tree455ba3791d31aceec58f203df8d4d0b5c63261ba /lang/ruby18
parent6dfdeb6fc0e6f30cfe9e271ed399427201d042c3 (diff)
downloadports-b2958437a1a17540d0a8ef59d8d73aac3737e332.tar.gz
ports-b2958437a1a17540d0a8ef59d8d73aac3737e332.zip
Notes
Diffstat (limited to 'lang/ruby18')
-rw-r--r--lang/ruby18/files/patch-eval.c12
-rw-r--r--lang/ruby18/files/patch-gc.c12
2 files changed, 24 insertions, 0 deletions
diff --git a/lang/ruby18/files/patch-eval.c b/lang/ruby18/files/patch-eval.c
new file mode 100644
index 000000000000..37762f730b9e
--- /dev/null
+++ b/lang/ruby18/files/patch-eval.c
@@ -0,0 +1,12 @@
+--- eval.c.orig Wed Nov 26 22:41:47 2003
++++ eval.c Wed Nov 26 22:40:38 2003
+@@ -7788,8 +7788,7 @@
+
+ #ifdef __ia64__
+ #include <ucontext.h>
+-#pragma weak __libc_ia64_register_backing_store_base
+-extern unsigned long __libc_ia64_register_backing_store_base;
++#define __libc_ia64_register_backing_store_base (4ULL<<61)
+ #endif
+
+ /* Windows SEH refers data on the stack. */
diff --git a/lang/ruby18/files/patch-gc.c b/lang/ruby18/files/patch-gc.c
new file mode 100644
index 000000000000..51aa70da715c
--- /dev/null
+++ b/lang/ruby18/files/patch-gc.c
@@ -0,0 +1,12 @@
+--- gc.c.orig Wed Nov 26 22:42:01 2003
++++ gc.c Wed Nov 26 22:40:43 2003
+@@ -32,8 +32,7 @@
+
+ #ifdef __ia64__
+ #include <ucontext.h>
+-#pragma weak __libc_ia64_register_backing_store_base
+-extern unsigned long __libc_ia64_register_backing_store_base;
++#define __libc_ia64_register_backing_store_base (4ULL<<61)
+ #endif
+
+ void re_free_registers _((struct re_registers*));