#52248: inkscape fails to build due to glibmm inlining, regression caused by glib2 changes ------------------------------------+---------------------- Reporter: jeremyhu@… | Owner: devans@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: glib2 glibmm inkscape | ------------------------------------+---------------------- Comment (by devans@…): This code in glibmm/threads.h (also glibmm/thread.h) looks like a possible culprint: {{{ // We use the (now deprecated) GThread definition in the API, // and we cannot stop that without breaking ABI. // (see the comment below), // so we must temporarily undef G_DISABLE_DEPRECATED when // including glib.h. // Temporarily undef G_DISABLE_DEPRECATED, redefining it later if appropriate. #if defined(G_DISABLE_DEPRECATED) && !defined(GLIBMM_G_DISABLE_DEPRECATED_UNDEFED) //Stop the deprecation ifdef guards around the API declarations: #undef G_DISABLE_DEPRECATED //Stop the compiler warnings about using the deprecated API; #define GLIB_DISABLE_DEPRECATION_WARNINGS 1 #define GLIBMM_G_DISABLE_DEPRECATED_UNDEFED 1 #endif #include <glib.h> // Redefine G_DISABLE_DEPRECATED if it was defined before we temporarily undefed it: #if defined(GLIBMM_G_DISABLE_DEPRECATED_UNDEFED) #define G_DISABLE_DEPRECATED 1 #undef GLIB_DISABLE_DEPRECATION_WARNINGS #undef GLIBMM_G_DISABLE_DEPRECATED_UNDEFED #endif }}} -- Ticket URL: <https://trac.macports.org/ticket/52248#comment:6> MacPorts <https://www.macports.org/> Ports system for macOS