Ticket #27059: Portfile.diff

File Portfile.diff, 738 bytes (added by staffan@…, 14 years ago)
  • Portfile

    old new  
    2727        port:gtkmm
    2828
    2929configure.args --x-include=${prefix}/include --x-lib=${prefix}/lib
     30
     31# Fix build issue where build fails due to GDK_DISABLE_DEPRECATED being enabled.
     32# The order in which files are included matters here. gtkmm does some funky
     33# stuff to undefine GDK_DISABLE_DEPRECATED, if defined, before including gdk.h
     34# as it needs some deprecated functionality. Including gtkglwidget.h before
     35# widget.h causes gdk.h to be included without GDK_DISABLE_DEPRECATED being
     36# undefined, and gtkmm never gets the chance to work its undefine magic.
     37patchfiles              patch-gtkglext_gtkmm_gl-widget.cc.diff