diff options
-rw-r--r-- | japanese/mh/Makefile | 4 | ||||
-rw-r--r-- | japanese/mh/files/patch-sbr:concat.c | 14 |
2 files changed, 7 insertions, 11 deletions
diff --git a/japanese/mh/Makefile b/japanese/mh/Makefile index 5a64e4f407b7..98a623ebdd42 100644 --- a/japanese/mh/Makefile +++ b/japanese/mh/Makefile @@ -46,10 +46,6 @@ CONFLICTS= nmh-[0-9]* .include <bsd.port.pre.mk> -.if ${OSVERSION} >= 700042 -BROKEN= Does not compile with GCC 4.2 -.endif - post-install: .if !defined(NOPORTDOCS) ${MKDIR} ${DOCDIR} diff --git a/japanese/mh/files/patch-sbr:concat.c b/japanese/mh/files/patch-sbr:concat.c index 6a436f0f6618..7569dffaf5d1 100644 --- a/japanese/mh/files/patch-sbr:concat.c +++ b/japanese/mh/files/patch-sbr:concat.c @@ -1,8 +1,6 @@ -Index: sbr/concat.c -diff -u sbr/concat.c.orig sbr/concat.c ---- sbr/concat.c.orig Wed Dec 1 13:01:21 1993 -+++ sbr/concat.c Fri Jul 18 14:42:47 2003 -@@ -2,13 +2,12 @@ +--- sbr/concat.c.orig 1993-12-01 13:01:21.000000000 +0900 ++++ sbr/concat.c 2008-04-27 00:14:56.000000000 +0900 +@@ -2,34 +2,40 @@ #include "../h/mh.h" #include <stdio.h> @@ -18,8 +16,10 @@ diff -u sbr/concat.c.orig sbr/concat.c { register char *cp, *dp, -@@ -17,19 +16,26 @@ - register va_list list; + *sp; + register unsigned len; +- register va_list list; ++ va_list list; len = 1; - va_start (list); |