[MacPorts] #65905: pango @1.50.7: error: use of undeclared identifier 'FC_VARIABLE'
MacPorts
noreply at macports.org
Wed Jan 18 23:42:32 UTC 2023
#65905: pango @1.50.7: error: use of undeclared identifier 'FC_VARIABLE'
---------------------------------+------------------------
Reporter: jamesstuartgunning | Owner: ryandesign
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.7.2
Resolution: | Keywords: bigsur
Port: pango |
---------------------------------+------------------------
Comment (by jamesstuartgunning):
After some fiddling, it seems that
-I/opt/local/include/
brings in <fontconfig/fontconfig.h>
and it needs to come ''earlier'' in the compiler include list. If you can
rejig the config so this happens, this might solve things? I'm unsure how
to do this. But manually...
%cd
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_x11_pango/pango/work/build
/usr/bin/clang -I/opt/local/include -Ipango/libpangoft2-1.0.0.dylib.p
-Ipango -I../pango-1.50.7/pango -I. -I../pango-1.50.7
-I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include
-I/opt/local/include/fribidi -I/opt/local/include/harfbuzz
-I/opt/local/include/freetype2 -I/opt/local/include/libpng16
-I/opt/X11/include -I/opt/X11/include/cairo -I/opt/local/include/pixman-1
-fcolor-diagnostics -Wall -Winvalid-pch -std=gnu99 -O2 -g
-D_POSIX_C_SOURCE=200809L -D_POSIX_THREAD_SAFE_FUNCTIONS -D_GNU_SOURCE
-pipe -Os -Wno-error,-Wimplicit-fallthrough
-isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk -arch
x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk
-DPANGO_ENABLE_DEBUG '-DG_LOG_DOMAIN="Pango"' -DG_LOG_USE_STRUCTURED=1
-DPANGO_COMPILATION '-DSYSCONFDIR="/opt/local/etc"'
'-DLIBDIR="/opt/local/lib"' -DPANGO_DISABLE_DEPRECATION_WARNINGS -MD -MQ
pango/libpangoft2-1.0.0.dylib.p/pangofc-fontmap.c.o -MF
pango/libpangoft2-1.0.0.dylib.p/pangofc-fontmap.c.o.d -o
pango/libpangoft2-1.0.0.dylib.p/pangofc-fontmap.c.o -c
../pango-1.50.7/pango/pangofc-fontmap.c
--
Ticket URL: <https://trac.macports.org/ticket/65905#comment:7>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list