summaryrefslogtreecommitdiff
path: root/lang/yarv
diff options
context:
space:
mode:
authorAlejandro Pulver <alepulver@FreeBSD.org>2006-10-20 18:04:55 +0000
committerAlejandro Pulver <alepulver@FreeBSD.org>2006-10-20 18:04:55 +0000
commitbe9e08387e6ad7c5dcc92037dcc8686b8fff642a (patch)
treeb0570835a80a58d6b93cd8249c219f4f4d2ab075 /lang/yarv
parent- Mark as forbidden (diff)
- Fix building on ia64.
Reported by: pointyhat Approved by: portmgr (erwin)
Notes
Notes: svn path=/head/; revision=175436
Diffstat (limited to 'lang/yarv')
-rw-r--r--lang/yarv/files/patch-gc.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/lang/yarv/files/patch-gc.c b/lang/yarv/files/patch-gc.c
new file mode 100644
index 000000000000..bbd94a880004
--- /dev/null
+++ b/lang/yarv/files/patch-gc.c
@@ -0,0 +1,13 @@
+--- ./gc.c.orig Thu Apr 13 05:18:48 2006
++++ ./gc.c Thu Oct 19 13:56:46 2006
+@@ -34,6 +34,10 @@
+ #include <windows.h>
+ #endif
+
++#ifdef __ia64__
++#include <ucontext.h>
++#endif
++
+ int rb_io_fptr_finalize(struct OpenFile*);
+
+ #if !defined(setjmp) && defined(HAVE__SETJMP)