#17042: glib2: incorrect glibconfig.h with +universal (i386 x86_64) ---------------------------------+------------------------------------------ Reporter: pguyot@… | Owner: ryandesign@… Type: defect | Status: assigned Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Keywords: | Port: glib2, glib2-devel ---------------------------------+------------------------------------------ Comment(by mcalhoun@…): Attached is an update of glib2-Portfile.diff. '''Changes:''' The version is updated (fixes #18054). [http://trac.macports.org/browser/trunk/dports/devel/glib2/files/patch- gutils.c.diff patch-gutils.c.diff] was added in r14022.[[BR]] config.h (which is included by glib/gutils.c) now defines #define HAVE!__NSGETENVIRON 1. [http://trac.macports.org/browser/trunk/dports/devel/glib2/files/patch- which.diff patch-which.diff] was added because of #17418.[[BR]] The patch is wrapped in an if statement to signify the change of which in Leopard. -bind_at_load was added in r7825 with no explanation.[[BR]] -bind_at_load is already set for some systems in ltmain.sh. -funroll-loops and -fstrict-aliasing have always been in the Portfile (r1322).[[BR]] #18384 already requests that -funroll-loops be removed (as it was in r47055). When the compiler has a -arch option, the configure script looks to "#include <endian.h>" for more information.[[BR]] It can not find it because file is located at /usr/include/machine/endian.h. [http://trac.macports.org/browser/trunk/dports/devel/glib2/files/patch- configure.diff patch-configure.diff] was added because of #15816.[[BR]] The glib bug tracker [http://bugzilla.gnome.org/show_bug.cgi?id=542919 says it is fixed]. The platform powerpc code was added because of #13973.[[BR]] Using the muniversal PortGroup, the problem should be fixed. [http://trac.macports.org/browser/trunk/dports/devel/glib2/files/patch- glib_gutils.h.diff patch-glib_gutils.h.diff] was added because of #13006.[[BR]] The glib bug tracker [http://bugzilla.gnome.org/show_bug.cgi?id=315437 says it is fixed]. The universal code is based on r47055, except that * --config-cache is used only when needed * GLIB_GENMARSHAL is used instead of setting the PATH variable and creating a glib-genmarshal file NM is set because, for some unknown reason, cross-compiling doesn't try to use it.[[BR]] This should fix #18575. -- Ticket URL: <http://trac.macports.org/ticket/17042#comment:13> MacPorts <http://www.macports.org/> Ports system for Mac OS