Date: Sat, 26 May 2007 05:38:23 +0300 (EEST) From: Giorgos Keramidas <keramida@FreeBSD.org> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/113019: [PATCH] fix the build of x11-fonts/xmbdfed with gcc42 Message-ID: <200705260238.l4Q2cNUA005758@kobe.laptop> Resent-Message-ID: <200705260250.l4Q2o4Hk052304@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 113019 >Category: ports >Synopsis: [PATCH] fix the build of x11-fonts/xmbdfed with gcc42 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat May 26 02:50:04 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Giorgos Keramidas >Release: FreeBSD 7.0-CURRENT i386 >Organization: >Environment: System: FreeBSD kobe 7.0-CURRENT FreeBSD 7.0-CURRENT #1: \ Mon May 21 03:46:20 EEST 2007 build@kobe:/home/build/obj/home/build/src/sys/KOBE i386 >Description: After the import of gcc 4.2.X the x11-fonts/xmbdfed port fails to build, because now GCC is more strict about clashes between mismatches between multiple declarations of 'static' vs. 'non-static' objects. The attached patch adds a FreeBSD-local change to xmbdfed, which fixes the build of xmbdfed on CURRENT. The gbdfed program replaces xmbdfed, so I haven't posted the patch to the author of xmbdfed yet, but that can be done too if the Ports team thinks it's a good idea. >How-To-Repeat: >Fix: --- xmbdfed-gcc42.patch begins here --- diff -r cffe92fbd842 -r 61f757598830 files/patch-ac --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/files/patch-ac Sat May 26 05:30:41 2007 +0300 @@ -0,0 +1,10 @@ +--- xmbdfed.h.orig Sat May 26 05:29:27 2007 ++++ xmbdfed.h Sat May 26 05:29:38 2007 +@@ -280,7 +280,6 @@ + extern XtAppContext app; + extern Boolean yes_no_answer; + extern Boolean yes_no_done; +-extern unsigned long active_editor; + extern String app_name; + extern String app_class; + extern char title[]; --- xmbdfed-gcc42.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200705260238.l4Q2cNUA005758>