diff options
-rw-r--r-- | japanese/jvim/Makefile | 5 | ||||
-rw-r--r-- | japanese/jvim/files/patch-src_jp.c | 28 |
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); + } + + + |