[MacPorts] #64228: pangox-compat @0.0.2: error: implicit declaration of function 'pango_config_key_get' is invalid in C99 (was: pangox-compat build issue)

MacPorts noreply at macports.org
Thu Dec 16 21:40:24 UTC 2021


#64228: pangox-compat @0.0.2: error: implicit declaration of function
'pango_config_key_get' is invalid in C99
----------------------------+----------------------
  Reporter:  evan814378     |      Owner:  (none)
      Type:  defect         |     Status:  new
  Priority:  Normal         |  Milestone:
 Component:  ports          |    Version:
Resolution:                 |   Keywords:  monterey
      Port:  pangox-compat  |
----------------------------+----------------------
Changes (by ryandesign):

 * keywords:   => monterey


Comment:

 I see we have build failures on our Monterey build machine too:

 {{{
 pangox-fontmap.c:944:21: error: implicit declaration of function
 'pango_config_key_get' is invalid in C99 [-Werror,-Wimplicit-function-
 declaration]
   char *files_str = pango_config_key_get ("PangoX/AliasFiles");
                     ^
 }}}
 {{{
 pangox.c:282:15: error: no member named 'find_shaper' in 'struct
 _PangoFontClass'
   font_class->find_shaper = pango_x_font_find_shaper;
   ~~~~~~~~~~  ^
 }}}
 {{{
 /opt/local/include/glib-2.0/glib/gmacros.h:990:38:: error: implicit
 declaration of function 'pango_font_metrics_new' is invalid in C99
 [-Werror,-Wimplicit-function-declaration]
  note      metrics = pango_font_metrics_new ();
                 ^
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/64228#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list