Summary: | devel/glib20 fails to build | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | oz42 | ||||
Component: | Individual Port(s) | Assignee: | freebsd-gnome (Nobody) <gnome> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Only Me | ||||||
Priority: | Normal | ||||||
Version: | Latest | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Attachments: |
|
Description
oz42
2014-01-31 09:30:00 UTC
Responsible Changed From-To: freebsd-ports-bugs->gnome Over to maintainer (via the GNATS Auto Assign Tool) Here's a patch you can drop in /usr/ports/devel/glib20/files/ This patch works for me. Olaf, do you have libiconv currently installed? I'm just trying to understand what causes this problem before I try to patch it. Am 2014-02-02 22:20, schrieb Koop Mast:
> Olaf, do you have libiconv currently installed? I'm just trying to
> understand what causes this problem before I try to patch it.
Yes, I have: libiconv-1.14_1
Am 2014-02-01 13:57, schrieb Tijl Coosemans:
> Here's a patch you can drop in /usr/ports/devel/glib20/files/
That helped, thanks!
Author: kwm Date: Sat Feb 8 09:26:43 2014 New Revision: 343312 URL: http://svnweb.freebsd.org/changeset/ports/343312 QAT: https://qat.redports.org/buildarchive/r343312/ Log: Fix build if libiconv is installed. PR: ports/186295 Submitted by: Olaf Zaplinski <oz42@oz42.eu> (PR submitter) Tijl Coosemans <tijl@coosemans.org> (patch submitter) Added: head/devel/glib20/files/patch-glib_gconvert.c (contents, props changed) Added: head/devel/glib20/files/patch-glib_gconvert.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/glib20/files/patch-glib_gconvert.c Sat Feb 8 09:26:43 2014 (r343312) @@ -0,0 +1,14 @@ +Work around our situation of having both libiconv in libc and libiconv from +ports installed. + +--- glib/gconvert.c.orig 2014-02-08 10:15:50.000000000 +0100 ++++ glib/gconvert.c 2014-02-08 10:16:52.000000000 +0100 +@@ -62,7 +62,7 @@ + #error GNU libiconv in use but included iconv.h not from libiconv + #endif + #if !defined(USE_LIBICONV_GNU) && defined (_LIBICONV_H) \ +- && !defined (__APPLE_CC__) && !defined (__LP_64__) ++ && !defined (LIBICONV_PLUG) && !defined (__APPLE_CC__) && !defined (__LP_64__) + #error GNU libiconv not in use but included iconv.h is from libiconv + #endif + _______________________________________________ svn-ports-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-ports-all To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org" State Changed From-To: open->closed Fix committed, thanks. |