[MacPorts] #63585: py27-pygtk: error: implicit declaration of function 'pango_font_metrics_new' is invalid in C99
MacPorts
noreply at macports.org
Sat Oct 9 15:29:23 UTC 2021
#63585: py27-pygtk: error: implicit declaration of function
'pango_font_metrics_new' is invalid in C99
------------------------+-----------------------------
Reporter: rhstanton | Owner: mascguy
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords: catalina bigsur
Port: py-pygtk |
------------------------+-----------------------------
Comment (by mascguy):
Replying to [comment:7 evanmiller]:
> @mascguy Might have some other side effects, but try removing {{{#define
PANGO_ENABLE_BACKEND}}} from {{{pango.override}}}. Would try myself but my
local vim is broken and it's time to retire for the evening!
Great idea Evan, I'll give that a try.
In terms of where I'm currently at: Based on the compilation errors
related to C99, my first thought was to patch the build to specify C11.
But that alone didn't make a difference, which suggests that there's more
to it.
Simply specify the C11 standard to `configure` didn't cut it either,
perhaps due to the AutoConf script. But this patch - as ugly as it is -
does take care of that. But again, it didn't make a difference, so I could
use some guidance from any of you folks with more familiarity with Clang
intricacies:
https://github.com/macports/macports-ports/compare/master...mascguy
:mascguy-pygtk
--
Ticket URL: <https://trac.macports.org/ticket/63585#comment:9>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list