[MacPorts] #46833: glpng fails to build due to macro conflict with libpng
MacPorts
noreply at macports.org
Wed Feb 11 13:36:45 PST 2015
#46833: glpng fails to build due to macro conflict with libpng
------------------------+--------------------------
Reporter: jeremyhu@… | Owner: ryandesign@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.3.3
Keywords: | Port: glpng
------------------------+--------------------------
{{{
/usr/bin/clang -O0 -g3 -arch x86_64 -I../include -I/opt/local/include -c
-o libglpng.o glpng.c
In file included from glpng.c:32:
/opt/local/include/png.h:915:9: error: expected identifier or '('
typedef PNG_CALLBACK(void, *png_error_ptr, (png_structp,
png_const_charp));
^
../include/GL/glpng.h:60:23: note: expanded from macro 'PNG_CALLBACK'
#define PNG_CALLBACK -3 /* Call the callback function to generate alpha
*/
^
In file included from glpng.c:32:
}}}
--
Ticket URL: <https://trac.macports.org/ticket/46833>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list