[MacPorts] #37982: lcms, lcms2: fails to compile against jpeg 9
MacPorts
noreply at macports.org
Fri Feb 8 22:27:55 PST 2013
#37982: lcms, lcms2: fails to compile against jpeg 9
--------------------------+-------------------
Reporter: blair@… | Owner: jmr@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.1.3
Resolution: | Keywords:
Port: lcms, lcms2 |
--------------------------+-------------------
Comment (by pingemi@…):
I thought it odd that JPEG 9 assumes if there's no boolean type, then TRUE
and FALSE aren't defined. So in /opt/local/include/jmorecfg.h I replaced:
{{{
typedef enum { FALSE = 0, TRUE = 1 } boolean;
}}}
with:
{{{
#ifndef TRUE
#ifndef FALSE
typedef enum { FALSE = 0, TRUE = 1 } boolean;
#else
typedef int boolean;
#endif
#else
typedef int boolean;
#endif
}}}
seems to work fine.
--
Ticket URL: <https://trac.macports.org/ticket/37982#comment:10>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list