Ticket #28969: gtk-chtheme.patch

File gtk-chtheme.patch, 1.1 KB (added by norox@…, 13 years ago)
  • gtk-chtheme

    diff -Nur gtk-chtheme.orig/Portfile gtk-chtheme/Portfile
    old new  
    1616checksums                       md5 f688053bf26dd6c4f1cd0bf2ee33de2a
    1717depends_lib                     lib:libgtk.2:gtk2
    1818patchfiles                      Metadata.diff \
    19                                 patch-gtk-2.20.diff
     19                                patch-gtk-2.20.diff \
     20                                patch-gtk-2.24.diff
    2021build.args                      CC=${configure.cc}
    2122destroot.destdir                DESTDIR=${destroot}${prefix}
    2223use_configure                   no
  • files/patch-gtk-2.24.diff

    diff -Nur gtk-chtheme.orig/files/patch-gtk-2.24.diff gtk-chtheme/files/patch-gtk-2.24.diff
    old new  
     1--- theme_sel.c.orig    2011-03-30 11:03:41.000000000 +0200
     2+++ theme_sel.c 2011-03-30 11:02:50.000000000 +0200
     3@@ -110,7 +110,7 @@
     4                GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);
     5        gtk_container_add(GTK_CONTAINER(sw), theme_list);
     6 
     7-       gtk_timeout_add(0, (GtkFunction)theme_list_focus, theme_list);
     8+       gtk_timeout_add(0, (GSourceFunc)theme_list_focus, theme_list);
     9 
     10        return sw;
     11 }