[MacPorts] #62199: mathgl @2.4.4_4: /export.cpp:187:30: error: use of undeclared identifier 'TRUE'
MacPorts
noreply at macports.org
Mon Feb 1 18:49:28 UTC 2021
#62199: mathgl @2.4.4_4: /export.cpp:187:30: error: use of undeclared identifier
'TRUE'
--------------------+-------------------------
Reporter: kencu | Owner: Schamschula
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Keywords: | Port: mathgl
--------------------+-------------------------
mathgl is not rebuilding after the recent change to libjpeg-turbo:
{{{
:info:build cd
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_mathgl/mathgl/work/mathgl-2.4.4/src
&& /opt/local/bin/clang++-mp-9.0 -DMGL_HAVE_GSL2 -DMGL_SRC
-DNO_COLOR_ARRAY -Dmgl_EXPORTS
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_mathgl/mathgl/work/mathgl-2.4.4/include
-I/opt/local/include -F//System/Library/Frameworks
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_mathgl/mathgl/work/mathgl-2.4.4/src/prc
-pipe -Os -stdlib=libc++ -DNDEBUG -arch x86_64 -mmacosx-version-min=10.6
-fPIC -fvisibility=hidden -fvisibility-inlines-hidden -o
CMakeFiles/mgl.dir/fit.cpp.o -c
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_mathgl/mathgl/work/mathgl-2.4.4/src/fit.cpp
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_mathgl/mathgl/work/mathgl-2.4.4/src/export.cpp:187:30:
error: use of undeclared identifier 'TRUE'
:info:build jpeg_start_compress(&cinfo, TRUE);
:info:build ^
}}}
this is on 10.6.8, building with clang-5.0 or clang-9.0, which may or may
not be relevant.
--
Ticket URL: <https://trac.macports.org/ticket/62199>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list