[75399] trunk/dports/x11/gtk-chtheme

raimue at macports.org raimue at macports.org
Mon Jan 24 07:52:49 PST 2011


Revision: 75399
          http://trac.macports.org/changeset/75399
Author:   raimue at macports.org
Date:     2011-01-24 07:52:48 -0800 (Mon, 24 Jan 2011)
Log Message:
-----------
x11/gtk-chtheme:
 * Fix breakage after gtk @2.20, closes #28041
 * Ensure we are UsingTheRightCompiler

Modified Paths:
--------------
    trunk/dports/x11/gtk-chtheme/Portfile

Added Paths:
-----------
    trunk/dports/x11/gtk-chtheme/files/patch-gtk-2.20.diff

Modified: trunk/dports/x11/gtk-chtheme/Portfile
===================================================================
--- 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
===================================================================
--- 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;
+ }
+ 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110124/64954611/attachment.html>


More information about the macports-changes mailing list