Skip site navigation (1)Skip section navigation (2)
Date:      Sun,  6 Nov 2005 11:18:53 +0100 (CET)
From:      Nicolas Rachinsky <nr@rachinsky.de>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        gnome@FreeBSD.org
Subject:   ports/88545: [PATCH] devel/gconf2 does not build on 4.11
Message-ID:  <20051106101853.8B2BA81D23@pc5.i.0x5.de>
Resent-Message-ID: <200511061020.jA6AKG7u040856@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         88545
>Category:       ports
>Synopsis:       [PATCH] devel/gconf2 does not build on 4.11
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Nov 06 10:20:16 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Nicolas Rachinsky
>Release:        FreeBSD 4.11-RELEASE-p11 i386
>Organization:
>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]);
 


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051106101853.8B2BA81D23>