aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoralepulver <alepulver@FreeBSD.org>2006-10-21 02:04:55 +0800
committeralepulver <alepulver@FreeBSD.org>2006-10-21 02:04:55 +0800
commit520a0b45bf7c67975c9757c767de6aff21a29950 (patch)
treeca70dea9d33095dfac5b4e1162686fc187c2027f
parente11bee42bcfcbf7b9494b41f74e1e695357dd57e (diff)
downloadfreebsd-ports-gnome-520a0b45bf7c67975c9757c767de6aff21a29950.tar.gz
freebsd-ports-gnome-520a0b45bf7c67975c9757c767de6aff21a29950.tar.zst
freebsd-ports-gnome-520a0b45bf7c67975c9757c767de6aff21a29950.zip
- Fix building on ia64.
Reported by: pointyhat Approved by: portmgr (erwin)
-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)