From owner-freebsd-ports-bugs@FreeBSD.ORG Sat May 26 02:50:05 2007 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 092D716A469 for ; Sat, 26 May 2007 02:50:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id D776913C465 for ; Sat, 26 May 2007 02:50:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l4Q2o4pv052305 for ; Sat, 26 May 2007 02:50:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l4Q2o4Hk052304; Sat, 26 May 2007 02:50:04 GMT (envelope-from gnats) Resent-Date: Sat, 26 May 2007 02:50:04 GMT Resent-Message-Id: <200705260250.l4Q2o4Hk052304@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Giorgos Keramidas Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4970316A41F for ; Sat, 26 May 2007 02:40:18 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from igloo.linux.gr (igloo.linux.gr [62.1.205.36]) by mx1.freebsd.org (Postfix) with ESMTP id BAD2D13C458 for ; Sat, 26 May 2007 02:40:17 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from kobe.laptop (dialup105.ach.sch.gr [81.186.70.105]) (authenticated bits=128) by igloo.linux.gr (8.13.8/8.13.8/Debian-3) with ESMTP id l4Q2cTuV028009 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Sat, 26 May 2007 05:38:37 +0300 Received: from kobe.laptop (kobe.laptop [127.0.0.1]) by kobe.laptop (8.14.1/8.14.1) with ESMTP id l4Q2cN0c005759 for ; Sat, 26 May 2007 05:38:24 +0300 (EEST) (envelope-from keramida@kobe.laptop) Received: (from keramida@localhost) by kobe.laptop (8.14.1/8.14.1/Submit) id l4Q2cNUA005758; Sat, 26 May 2007 05:38:23 +0300 (EEST) (envelope-from keramida) Message-Id: <200705260238.l4Q2cNUA005758@kobe.laptop> Date: Sat, 26 May 2007 05:38:23 +0300 (EEST) From: Giorgos Keramidas To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/113019: [PATCH] fix the build of x11-fonts/xmbdfed with gcc42 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Giorgos Keramidas List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 May 2007 02:50:05 -0000 >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: