Modified: trunk/dports/x11/gtk-chtheme/Portfile (75398 => 75399)
--- trunk/dports/x11/gtk-chtheme/Portfile 2011-01-24 15:24:37 UTC (rev 75398)
+++ trunk/dports/x11/gtk-chtheme/Portfile 2011-01-24 15:52:48 UTC (rev 75399)
@@ -15,7 +15,9 @@
use_bzip2 yes
checksums md5 f688053bf26dd6c4f1cd0bf2ee33de2a
depends_lib lib:libgtk.2:gtk2
-patchfiles Metadata.diff
+patchfiles Metadata.diff \
+ patch-gtk-2.20.diff
+build.args CC=${configure.cc}
destroot.destdir DESTDIR=${destroot}${prefix}
use_configure no
livecheck.distname gtk+ 2.0 Change Theme
Added: trunk/dports/x11/gtk-chtheme/files/patch-gtk-2.20.diff (0 => 75399)
--- trunk/dports/x11/gtk-chtheme/files/patch-gtk-2.20.diff (rev 0)
+++ trunk/dports/x11/gtk-chtheme/files/patch-gtk-2.20.diff 2011-01-24 15:52:48 UTC (rev 75399)
@@ -0,0 +1,11 @@
+--- util.c.orig 2011-01-24 16:46:56.000000000 +0100
++++ util.c 2011-01-24 16:47:32.000000000 +0100
+@@ -19,7 +19,7 @@
+
+ GtkWidget* unfocussable(GtkWidget *w)
+ {
+- GTK_WIDGET_UNSET_FLAGS(w, GTK_CAN_FOCUS);
++ gtk_widget_set_can_focus(w, TRUE);
+ return w;
+ }
+