[MacPorts] #32564: Provide port for libpng is too old for Lion and causes conflicts because of confusion with headers of 1.5.4 distributed with the Lion SDK
MacPorts
noreply at macports.org
Thu Dec 15 21:00:23 PST 2011
#32564: Provide port for libpng is too old for Lion and causes conflicts because of
confusion with headers of 1.5.4 distributed with the Lion SDK
--------------------------------------+-------------------------------------
Reporter: nelson.ferreira@… | Owner: macports-tickets@…
Type: enhancement | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.0.3
Keywords: | Port:
--------------------------------------+-------------------------------------
When compiling some software less pedantic about the order of -I (and
which include /usr/X11/include before /opt/local/include) libpng will fail
because the one include at
/Developer/SDKs/MacOSX10.7.sdk/usr/X11/include/png.h:364:#define
PNG_LIBPNG_VER_STRING "1.5.4"
and libpng does hard verify of caller passing that define against actual
encoded lib value, which when dyld links the mac ports libpng 1.4.8
fails...
--
Ticket URL: <https://trac.macports.org/ticket/32564>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list