From owner-freebsd-gnome@FreeBSD.ORG Sun Nov 6 10:18:57 2005 Return-Path: X-Original-To: gnome@FreeBSD.org Delivered-To: freebsd-gnome@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 892FB16A41F; Sun, 6 Nov 2005 10:18:57 +0000 (GMT) (envelope-from nicolas@i.0x5.de) Received: from narr.dauerreden.de (n.0x5.de [217.197.85.142]) by mx1.FreeBSD.org (Postfix) with ESMTP id C197443D45; Sun, 6 Nov 2005 10:18:55 +0000 (GMT) (envelope-from nicolas@i.0x5.de) Received: by pc5.i.0x5.de (Postfix, from userid 1003) id 8B2BA81D23; Sun, 6 Nov 2005 11:18:53 +0100 (CET) To: FreeBSD-gnats-submit@freebsd.org From: Nicolas Rachinsky X-send-pr-version: 3.113 X-GNATS-Notify: Message-Id: <20051106101853.8B2BA81D23@pc5.i.0x5.de> Date: Sun, 6 Nov 2005 11:18:53 +0100 (CET) Cc: gnome@FreeBSD.org Subject: [PATCH] devel/gconf2 does not build on 4.11 X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Nicolas Rachinsky List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Nov 2005 10:18:57 -0000 >Submitter-Id: current-users >Originator: Nicolas Rachinsky >Organization: >Confidential: no >Synopsis: [PATCH] devel/gconf2 does not build on 4.11 >Severity: serious >Priority: high >Category: ports >Class: sw-bug >Release: FreeBSD 4.11-RELEASE-p11 i386 >Environment: System: FreeBSD pc5.i.0x5.de 4.11-RELEASE-p11 FreeBSD 4.11-RELEASE-p11 #4: Sat Jul 23 21:22:37 CEST 2005 nicolas@pc5.i.0x5.de:/scratch/obj/usr/exported/src/sys/PC5 i386 >Description: devel/gconf2 does not build under FBSD 4.11 cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -DORBIT2=1 -D_THREAD_SAFE -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/orbit-2.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/cairo -I/usr/local/include/libxml2 -I/usr/local/include -I/usr/X11R6/include/gtk-2.0 -I/usr/X11R6/lib/gtk-2.0/include -I/usr/X11R6/include/pango-1.0 -I/usr/X11R6/include -I/usr/local/include/freetype2 -DG_LOG_DOMAIN=\"GConf\" -DPREFIX=\"/usr/X11R6\" -DGCONF_LOCALE_DIR=\"/usr/X11R6/share/locale\" -DGCONF_SRCDIR=\"/scratch/ports/usr/exported/ports/devel/gconf2/work/GConf-2.12.1\" -DGCONF_CONFDIR=\"/usr/X11R6/etc/gconf/2\" -DGCONF_ETCDIR=\"/usr/X11R6/etc/gconf\" -DGCONF_BINDIR=\"/usr/X11R6/bin\" -DGCONF_SERVERDIR=\"/usr/X11R6/libexec\" -DGCONF_BUILDDIR=\"..\" -DGCONF_BACKEND_DIR=\"/usr/X11R6/lib/GConf/2\" -DVERSION=\"2.12.1\" -DGCONF_ENABLE_INTERNALS=1 -DGCONFD=\"gconfd-2\" -I/usr/local/include -O -pipe -Wall -c gconf-listeners.c -Wp,-MD,.deps/gconf-listeners.TPlo -fP IC -DPIC -o .libs/gconf-listeners.o gconf-listeners.c: In function `ltable_insert': gconf-listeners.c:370: syntax error before `int' gconf-listeners.c:372: `cmp' undeclared (first use in this function) gconf-listeners.c:372: (Each undeclared identifier is reported only once gconf-listeners.c:372: for each function it appears in.) gmake[3]: *** [gconf-listeners.lo] Error 1 gmake[3]: Leaving directory `/scratch/ports/usr/exported/ports/devel/gconf2/work/GConf-2.12.1/gconf' gmake[2]: *** [all] Error 2 gmake[2]: Leaving directory `/scratch/ports/usr/exported/ports/devel/gconf2/work/GConf-2.12.1/gconf' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/scratch/ports/usr/exported/ports/devel/gconf2/work/GConf-2.12.1' gmake: *** [all] Error 2 *** Error code 2 >How-To-Repeat: Try make build of devel/gconf2 under FBSD 4.11 >Fix: Put this patch in devel/gconf2/files/patch-bb --- gconf/gconf-listeners.c.orig Sun Nov 6 11:08:58 2005 +++ gconf/gconf-listeners.c Sun Nov 6 11:09:05 2005 @@ -366,8 +366,8 @@ while (across != NULL) { - lte = across->data; int cmp; + lte = across->data; cmp = strcmp(lte->name, dirnames[i]);