Date: Thu, 8 Nov 2007 01:49:24 GMT From: Yoshihiro Ota <ota@j.email.ne.jp> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/117906: japanese/jvim is BROKEN with gcc 4.2 Message-ID: <200711080149.lA81nO3e032499@www.freebsd.org> Resent-Message-ID: <200711080150.lA81o1Tt083190@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 117906 >Category: ports >Synopsis: japanese/jvim is BROKEN with gcc 4.2 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Nov 08 01:50:00 UTC 2007 >Closed-Date: >Last-Modified: >Originator: Yoshihiro Ota >Release: 7.0-BETA[1,2] >Organization: >Environment: %uname -a FreeBSD xxx 7.0-BETA2 FreeBSD 7.0-BETA2 #342: Wed Nov 7 07:45:28 EST 2007 xxx:/usr/obj/usr/src/sys/GENERIC i386 >Description: >How-To-Repeat: cd /usr/ports/japanese/jvim make >Fix: The following change to the Makefile with the patch. # diff -u Makefile.orig Makefile --- Makefile.orig 2007-11-07 20:47:10.000000000 -0500 +++ Makefile 2007-11-07 20:47:19.000000000 -0500 @@ -7,6 +7,7 @@ PORTNAME= jvim PORTVERSION= 2.0r +PORTREVISION= 1 PKGNAMESUFFIX= ${INPUT_METHOD} CATEGORIES= japanese editors MASTER_SITES= ftp://ftp.lab.kdd.co.jp/Japan/onew/ \ @@ -52,10 +53,6 @@ .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) Patch attached with submission follows: --- 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); } >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200711080149.lA81nO3e032499>