[MacPorts] #52248: inkscape fails to build due to glibmm inlining, regression caused by glib2 changes

MacPorts noreply at macports.org
Wed Sep 14 19:05:32 CEST 2016


#52248: inkscape fails to build due to glibmm inlining, regression caused by glib2
changes
------------------------------------+----------------------
  Reporter:  jeremyhu@…             |      Owner:  devans@…
      Type:  defect                 |     Status:  new
  Priority:  Normal                 |  Milestone:
 Component:  ports                  |    Version:  2.3.4
Resolution:                         |   Keywords:
      Port:  glib2 glibmm inkscape  |
------------------------------------+----------------------

Comment (by jeremyhu@…):

 I suspect that is happening is boiling down to:

 {{{
 #define G_DISABLE_DEPRECATED
 #include <glib.h>

 #undef G_DISABLE_DEPRECATED
 #include <glib.h>
 }}}

 glibmm's thread.h unsets `G_DISABLE_DEPRECATED` if it is set and then
 includes `<glib.h>`, but the `__G_LIB_H__` header guard prevents that from
 working if something before thread.h included it.

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


More information about the macports-tickets mailing list