Date: Thu, 5 Jun 2008 14:54:16 -0700 (PDT) From: Yen-Ming Lee <leeym@FreeBSD.org> To: FreeBSD-gnats-submit@FreeBSD.org Cc: amistry@am-productions.biz Subject: ports/124325: [PATCH] sysutils/fusefs-libs: fix undefined reference Message-ID: <200806052154.m55LsGYb085505@cn1.leeym.com> Resent-Message-ID: <200806052200.m55M0IvL097221@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 124325 >Category: ports >Synopsis: [PATCH] sysutils/fusefs-libs: fix undefined reference >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: Thu Jun 05 22:00:18 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Yen-Ming Lee >Release: FreeBSD 7.0-RELEASE i386 >Organization: >Environment: System: FreeBSD cn1.leeym.com 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008 >Description: - fix undefined reference in libfuse Added file(s): - files/patch-configure Port maintainer (amistry@am-productions.biz) is cc'd. Generated with FreeBSD Port Tools 0.77 >How-To-Repeat: Simply link against /usr/local/lib/libfuse.so.2, and you will get something like this: /usr/local/lib/libfuse.so.2: undefined reference to `libiconv_open' /usr/local/lib/libfuse.so.2: undefined reference to `libiconv_close' /usr/local/lib/libfuse.so.2: undefined reference to `libiconv' It affects all FUSE system and force maintainers to do something about iconv for libfuse. >Fix: Just a workaround. If you have better way to fix it, please ignore my dirty-hack patch. --- fusefs-libs-2.7.2_2.patch begins here --- Index: Makefile =================================================================== RCS file: /home/pcvs/ports/sysutils/fusefs-libs/Makefile,v retrieving revision 1.16 diff -u -d -b -w -u -r1.16 Makefile --- Makefile 6 Feb 2008 01:41:33 -0000 1.16 +++ Makefile 5 Jun 2008 21:50:42 -0000 @@ -6,7 +6,7 @@ PORTNAME= fusefs PORTVERSION= 2.7.2 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= sysutils MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= fuse Index: files/patch-configure =================================================================== RCS file: files/patch-configure diff -N files/patch-configure --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ files/patch-configure 5 Jun 2008 21:50:42 -0000 @@ -0,0 +1,10 @@ +--- configure.orig 2008-06-05 13:58:44.000000000 -0700 ++++ configure 2008-06-05 14:00:32.000000000 -0700 +@@ -12201,6 +12201,7 @@ + _ACEOF + + fi ++ LIBICONV=$LTLIBICONV + if test "$am_cv_lib_iconv" = yes; then + { echo "$as_me:$LINENO: checking how to link with libiconv" >&5 + echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6; } --- fusefs-libs-2.7.2_2.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200806052154.m55LsGYb085505>