aboutsummaryrefslogtreecommitdiff
path: root/japanese/jvim
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2007-11-21 14:50:45 +0000
committerMartin Wilke <miwi@FreeBSD.org>2007-11-21 14:50:45 +0000
commitf995aa7cbf430a9fea1802a77200ac3d181c7f1d (patch)
treeed4da32b85428de7396aa4dcf918f21d7ca219c5 /japanese/jvim
parent714ba596606e66f426f2b6bd5996c65c14f93007 (diff)
downloadports-f995aa7cbf430a9fea1802a77200ac3d181c7f1d.tar.gz
ports-f995aa7cbf430a9fea1802a77200ac3d181c7f1d.zip
Notes
Diffstat (limited to 'japanese/jvim')
-rw-r--r--japanese/jvim/Makefile5
-rw-r--r--japanese/jvim/files/patch-src_jp.c28
2 files changed, 28 insertions, 5 deletions
diff --git a/japanese/jvim/Makefile b/japanese/jvim/Makefile
index bc141ec2c7a6..2cb1097854cc 100644
--- a/japanese/jvim/Makefile
+++ b/japanese/jvim/Makefile
@@ -51,11 +51,6 @@ JPLIB+= -ljd -lcrypt
.endif
.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} >= 700042
-BROKEN= Broken with gcc 4.2
-.endif
-
#
# Make a value of INPUT_METHOD
.if defined(INPUT_METHOD)
diff --git a/japanese/jvim/files/patch-src_jp.c b/japanese/jvim/files/patch-src_jp.c
new file mode 100644
index 000000000000..76774cfc0984
--- /dev/null
+++ b/japanese/jvim/files/patch-src_jp.c
@@ -0,0 +1,28 @@
+--- src/jp.c.orig 2007-11-05 07:53:44.000000000 -0500
++++ src/jp.c 2007-11-05 07:54:18.000000000 -0500
+@@ -27,6 +27,7 @@
+ #if defined(UNIX) && !defined(GENERAL)
+ #include "signal.h"
+
++ static void abend_handler();
+ /*
+ * handle core dump by some bugs.
+ */
+@@ -34,7 +35,6 @@
+ core_handler(dummy)
+ int dummy;
+ {
+- static void abend_handler();
+ abend_handler(TRUE);
+ }
+
+@@ -42,7 +42,6 @@
+ hup_handler(dummy)
+ int dummy;
+ {
+- static void abend_handler();
+ abend_handler(FALSE);
+ }
+
+
+