Subject: pkg/32723: gettext duplicate symbol locale_charset with native iconv
To: None <,,>
From: None <>
List: pkgsrc-bugs
Date: 02/04/2006 00:25:00
>Number:         32723
>Category:       pkg
>Synopsis:       gettext duplicate symbol locale_charset with native iconv
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Feb 04 00:25:00 +0000 2006
>Originator:     Juha-Matti Liukkonen
>Release:        Mac OS X 10.4.4
Ascia Oy
Darwin 8.4.0 Darwin Kernel Version 8.4.0: Tue Jan  3 18:22:10 PST 2006; root:xnu-792.6.56.obj~1/RELEASE_PPC Power Macintosh powerpc

libgettextsrc from gettext and libintl from gettext-lib both declare symbol locale_charset() even if native libiconv is being used (which already declares the said symbol). See discussion in <>. Not fatal, but has side effects; one of which is making prebinding on darwin impossible.

Patch to add patch-xx to patch the ...patchy thing, here: <>. Apply to both gettext and gettext-lib. Does not include sha1 for distinfos as the patch name is likely to change when officially added to repo. 

Also is not enough to enable prebinding on darwin as gettext configure still adds "-unresolved suppress" linker flag.