Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Feb 2002 23:39:58 +0100 (CET)
From:      Jochem Kossen <jochem@jochem.dyndns.org>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        nakai@freebsd.org
Subject:   ports/34715: x11-wm/xfce broken due to missing -liconv
Message-ID:  <200202072239.g17Mdwr88646@jochem.dyndns.org>

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

>Number:         34715
>Category:       ports
>Synopsis:       x11-wm/xfce broken due to missing -liconv
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Feb 07 14:50:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Jochem Kossen
>Release:        FreeBSD 4.5-STABLE i386
>Organization:
>Environment:
System: FreeBSD lisa.jochem.dyndns.org 4.5-STABLE FreeBSD 4.5-STABLE #0: Tue Jan 29 13:53:56 CET 2002 root@lisa.jochem.dyndns.org:/usr/obj/usr/src/sys/LISA i386


	
>Description:
	
	When building x11-wm/xfce, i get these errors:
xfmenu.c
xfmenu.c: In function `convert_code':
xfmenu.c:238: warning: passing arg 2 of `iconv' from incompatible pointer type
xfmenu.c: In function `get_dir_entries':
xfmenu.c:567: warning: passing arg 3 of `scandir' from incompatible pointer type
xfmenu.c:569: warning: passing arg 3 of `scandir' from incompatible pointer type
xfmenu.c:577: warning: passing arg 3 of `scandir' from incompatible pointer type
/bin/sh ../libtool --mode=link cc  -O -pipe -L/usr/X11R6/lib -L/usr/X11R6/lib -o xfmenu  xfmenu.o ../libs/libxfwmcore.la   -L/usr/local/lib -lglib12  -L/usr/X11R6/lib -lSM -lICE  -lXext -lX11 -lXpm -lXft -lXpm -L/usr/local/lib
mkdir .libs
cc -O -pipe -o xfmenu xfmenu.o  -L/usr/X11R6/lib ../libs/.libs/libxfwmcore.al -lXpm -L/usr/local/lib -lglib12 -lSM -lICE -lXext -lX11 -lXpm -lXft -lXpm
xfmenu.o: In function `convert_code':
xfmenu.o(.text+0x100): undefined reference to `iconv_open'
xfmenu.o(.text+0x123): undefined reference to `iconv'
xfmenu.o(.text+0x12f): undefined reference to `iconv_close'
*** Error code 1

Stop in /usr/ports/x11-wm/xfce/work/xfce-3.8.14/xfmenu.
*** Error code 1

Stop in /usr/ports/x11-wm/xfce/work/xfce-3.8.14.
*** Error code 1

	
>How-To-Repeat:
	cd /usr/ports/x11-wm/xfce
	make WITH_XFT=yes
	
>Fix:

	

--- patch-fix-xfce-3.8.14.diff begins here ---
diff -urN xfce.orig/Makefile xfce/Makefile
--- xfce.orig/Makefile	Thu Jan 24 12:22:08 2002
+++ xfce/Makefile	Thu Feb  7 23:14:26 2002
@@ -15,7 +15,8 @@
 MAINTAINER=	nakai@FreeBSD.org
 
 LIB_DEPENDS=	audiofile.0:${PORTSDIR}/audio/libaudiofile \
-		gdk_pixbuf.2:${PORTSDIR}/graphics/gdk-pixbuf
+		gdk_pixbuf.2:${PORTSDIR}/graphics/gdk-pixbuf \
+		iconv.2:${PORTSDIR}/converters/iconv
 
 USE_X_PREFIX=	yes
 USE_GTK=	yes
diff -urN xfce.orig/files/patch-xfmenu::Makefile.in xfce/files/patch-xfmenu::Makefile.in
--- xfce.orig/files/patch-xfmenu::Makefile.in	Thu Jan  1 01:00:00 1970
+++ xfce/files/patch-xfmenu::Makefile.in	Thu Feb  7 23:26:41 2002
@@ -0,0 +1,11 @@
+--- xfmenu/Makefile.in.orig	Thu Feb  7 23:25:40 2002
++++ xfmenu/Makefile.in	Thu Feb  7 23:26:08 2002
+@@ -141,7 +141,7 @@
+ 
+ xfmenu_LDADD = ../libs/libxfwmcore.la @DMALLOC_LIB@  @GLIB_LIBS@ \
+  ${X_LIBS} ${X_PRE_LIBS} \
+- -lXext -lX11 -lXpm @XFT_LIBS@
++ -lXext -lX11 -lXpm -liconv @XFT_LIBS@
+ 
+ 
+ xfmenu_DEPENDENCIES = ../libs/libxfwmcore.la
--- patch-fix-xfce-3.8.14.diff ends here ---


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

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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