#41280: tiff @4.0.3_1: redefinition of uint64 ----------------------+-------------------------------- Reporter: mojca@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: tiff | ----------------------+-------------------------------- Description changed by mojca@…: Old description:
Compilation of `hugin-app` is broken because `libtiff` redefines `uint64`. The error is: {{{ /opt/local/include/tiff.h:78:23: error: typedef redefinition with different types ('unsigned long' vs 'uint64_t' (aka 'unsigned long long')) typedef TIFF_UINT64_T uint64; ^ //System/Library/Frameworks/Security.framework/Headers/cssmconfig.h:51:18: note: previous definition is here typedef uint64_t uint64; ^ 1 warning generated. 1 warning and 1 error generated. }}} Here's a complete log from the buildbot: https://build.macports.org/builders/buildports-mtln-x86_64/builds/9524
My temporary workaround was to put {{{ // typedef TIFF_UINT64_T uint64; typedef uint64_t uint64; }}} into `tiff.h` which made `hugin-app` compile successfully, but I'm aware that this is probably not a proper solution.
New description: Compilation of `hugin-app` is broken because `libtiff` redefines `uint64`. The error is: {{{ /opt/local/include/tiff.h:78:23: error: typedef redefinition with different types ('unsigned long' vs 'uint64_t' (aka 'unsigned long long')) typedef TIFF_UINT64_T uint64; ^ //System/Library/Frameworks/Security.framework/Headers/cssmconfig.h:51:18: note: previous definition is here typedef uint64_t uint64; ^ 1 warning generated. 1 warning and 1 error generated. }}} Here's a complete log from the buildbot: https://build.macports.org/builders/buildports-mtln-x86_64/builds/9524 My temporary workaround was to put {{{ // typedef TIFF_UINT64_T uint64; typedef uint64_t uint64; }}} into `tiff.h` which made `hugin-app` compile successfully, but I'm aware that this is probably not a proper solution. I submitted an upstream bug report here: * http://bugzilla.maptools.org/show_bug.cgi?id=2464 -- -- Ticket URL: <https://trac.macports.org/ticket/41280#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X