[MacPorts] #50329: gimp2: build fails on 10.6 (error: redefinition of typedef 'boolean' is invalid in C)
#50329: gimp2: build fails on 10.6 (error: redefinition of typedef 'boolean' is invalid in C) -------------------------+--------------------------- Reporter: mojca@… | Owner: devans@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: snowleopard | Port: gimp2, libmng -------------------------+--------------------------- The [https://build.macports.org/builders/buildports-snowleopard- x86_64/builds/39762 buildbot] fails with: {{{ In file included from file-mng.c:87: In file included from /opt/local/include/libmng.h:385: /opt/local/include/libmng_types.h:208:13: error: redefinition of typedef 'boolean' is invalid in C [-Wtypedef-redefinition] typedef int boolean; ^ }}} (Ticket #38063 with the same subject seems to be unrelated.) -- Ticket URL: <https://trac.macports.org/ticket/50329> MacPorts <https://www.macports.org/> Ports system for OS X
#50329: gimp2: build fails on 10.6 (error: redefinition of typedef 'boolean' is invalid in C) ---------------------------+------------------------- Reporter: mojca@… | Owner: devans@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: snowleopard Port: gimp2 libmng | ---------------------------+------------------------- Changes (by devans@…): * status: new => assigned * port: gimp2, libmng => gimp2 libmng Comment: This error seems to have been introduced by the upgrade of libmng to version 2.0.3. -- Ticket URL: <https://trac.macports.org/ticket/50329#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#50329: gimp2: build fails on 10.6 (error: redefinition of typedef 'boolean' is invalid in C) --------------------------------------------+------------------------- Reporter: mojca@… | Owner: devans@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: snowleopard Port: gimp2 gimp2-devel gimp3-devel | --------------------------------------------+------------------------- Changes (by devans@…): * port: gimp2 libmng => gimp2 gimp2-devel gimp3-devel Comment: Issue also seen with gimp2-devel and gimp3-devel on 10.6. This typedef redefinition is innocuous and is allowed by newer compilers that support the C11 standard. Fixed for gimp2 by extending the existing blacklisting to include the offending compilers in r144645. Testing gimp2-devel gimp3-devel now. -- Ticket URL: <https://trac.macports.org/ticket/50329#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
#50329: gimp2: build fails on 10.6 (error: redefinition of typedef 'boolean' is invalid in C) --------------------------------------------+------------------------- Reporter: mojca@… | Owner: devans@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: snowleopard Port: gimp2 gimp2-devel gimp3-devel | --------------------------------------------+------------------------- Changes (by devans@…): * status: assigned => closed * resolution: => fixed Comment: Similar fix for gimp2-devel gimp3-devel committed in r144646. Builds correctly on buildbot. -- Ticket URL: <https://trac.macports.org/ticket/50329#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts