aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authorbarner <barner@FreeBSD.org>2005-09-15 18:18:11 +0800
committerbarner <barner@FreeBSD.org>2005-09-15 18:18:11 +0800
commit1bf99f99b4bc0f6ab24fd29695b8cd3da31735ca (patch)
treeaecdd9ecc4d45598be417e97d589a6528ab708b4 /lang
parent5bc577b825668907bbb61d39aefd89f3dd95bb72 (diff)
downloadfreebsd-ports-graphics-1bf99f99b4bc0f6ab24fd29695b8cd3da31735ca.tar.gz
freebsd-ports-graphics-1bf99f99b4bc0f6ab24fd29695b8cd3da31735ca.tar.zst
freebsd-ports-graphics-1bf99f99b4bc0f6ab24fd29695b8cd3da31735ca.zip
- Builds and runs on !i386
Tested by: Johan van Selst <johans@stack.nl> (amd64), barner (sparc64, ia64) Submitted by: Johan van Selst <johans@stack.nl> PR: ports/86081
Diffstat (limited to 'lang')
-rw-r--r--lang/yap/Makefile4
-rw-r--r--lang/yap/files/patch-C_load_aout.c11
2 files changed, 11 insertions, 4 deletions
diff --git a/lang/yap/Makefile b/lang/yap/Makefile
index 487cb1953a6..0dd5269a35a 100644
--- a/lang/yap/Makefile
+++ b/lang/yap/Makefile
@@ -28,10 +28,6 @@ INFO= yap
.include <bsd.port.pre.mk>
-.if ${ARCH} != "i386"
-BROKEN= "Does not compile on !i386"
-.endif
-
post-extract:
@${RM} -f ${WRKSRC}/docs/*.info*
diff --git a/lang/yap/files/patch-C_load_aout.c b/lang/yap/files/patch-C_load_aout.c
new file mode 100644
index 00000000000..c5b1d85fba2
--- /dev/null
+++ b/lang/yap/files/patch-C_load_aout.c
@@ -0,0 +1,11 @@
+--- C/load_aout.c.orig Thu Sep 15 09:59:51 2005
++++ C/load_aout.c Thu Sep 15 10:04:05 2005
+@@ -43,6 +43,8 @@
+ #endif
+ #include <a.out.h>
+
++#define YAP_FILE_MAX PATH_MAX
++
+ static char YapExecutable[YAP_FILE_MAX];
+
+ #define oktox(n) \