summaryrefslogtreecommitdiff
path: root/lang/yap
diff options
context:
space:
mode:
authorSimon Barner <barner@FreeBSD.org>2005-09-15 10:18:11 +0000
committerSimon Barner <barner@FreeBSD.org>2005-09-15 10:18:11 +0000
commit58723eac88dd0158876a90cf0a87d294f35ad0aa (patch)
tree8cb5a86191a311a3f94f6b032da2ba250fe912d0 /lang/yap
parentUpdate to 0.1801 (diff)
- 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
Notes
Notes: svn path=/head/; revision=142800
Diffstat (limited to 'lang/yap')
-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 487cb1953a69..0dd5269a35ae 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 000000000000..c5b1d85fba23
--- /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) \