[PATCH] devel/gconf2 does not build on 4.11

Nicolas Rachinsky nr at rachinsky.de
Sun Nov 6 02:18:57 PST 2005


>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 at 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]);
 




More information about the freebsd-gnome mailing list