[MacPorts] #27059: gtkglextmm fails to build
MacPorts
noreply at macports.org
Fri Jan 28 15:59:40 PST 2011
#27059: gtkglextmm fails to build
-------------------------------------+--------------------------------------
Reporter: n.a.hawes@… | Owner: billitch@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.9.1
Keywords: | Port: gtkglextmm
-------------------------------------+--------------------------------------
Comment(by staffan@…):
Although the symptoms are the same, this is in fact not a problem caused
by mismatching versions of GTK and gtkmm. It's an issue with gtkglextmm
not being compatible with later versions of GTK/gtkmm. Quoting from the
comment in the applied patch:
{{{
# Fix build issue where build fails due to GDK_DISABLE_DEPRECATED being
enabled.
# The order in which files are included matters here. gtkmm does some
funky
# stuff to undefine GDK_DISABLE_DEPRECATED, if defined, before including
gdk.h
# as it needs some deprecated functionality. Including gtkglwidget.h
before
# widget.h causes gdk.h to be included without GDK_DISABLE_DEPRECATED
being
# undefined, and gtkmm never gets the chance to work its undefine magic.
}}}
Fortunately, the fix is simple!
To the maintainer (or someone with commit rights): please apply the
attached Portfile patch (Portfile.diff), add a files directory and put the
attached file patch-gtkglext_gtkmm_gl-widget.cc.diff into the files
directory.
I'll see if I can file a bug upstream as well, if it hasn't already been
reported.
--
Ticket URL: <https://trac.macports.org/ticket/27059#comment:3>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list