Ticket #34023: patch-libnotify.diff
File patch-libnotify.diff, 1.9 KB (added by nerdling (Jeremy Lavergne), 11 years ago) |
---|
-
Portfile
4 4 PortSystem 1.0 5 5 6 6 name libnotify 7 version 0.5.2 8 revision 4 7 version 0.7.6 9 8 set branch [join [lrange [split ${version} .] 0 1] .] 10 9 categories devel gnome 11 10 maintainers nomaintainer … … 20 19 homepage http://library.gnome.org/devel/libnotify/ 21 20 master_sites gnome:sources/${name}/${branch} 22 21 23 use_ bzip2yes22 use_xz yes 24 23 25 checksums sha1 bb088a318cfccb4261674065838860fa940fc04a\26 rmd160 97c7d295683d6a093e46611d354fe8bfd799fb7d24 checksums sha1 956ce02a9f2c9fb74a81a765358131efdb7bf536 \ 25 rmd160 7f2ae9f2e75396607e79c2a5781bbe81b3efc9fd 27 26 28 depends_build port: pkgconfig27 depends_build port:gtk3 port:pkgconfig 29 28 30 29 depends_lib port:dbus-glib \ 31 port:g tk2\32 port: libpng30 port:gettext \ 31 port:gdk-pixbuf2 33 32 34 variant quartz {35 patchfiles-append patch-libnotify-notification-c.diff36 }37 38 33 pre-activate { 39 34 if {${os.major} == 11 && [lindex [split ${os.version} .] 1] < 2 && ${os.platform} == "darwin"} { 40 35 ui_error "You must first update to OS X 10.7.2." -
files/patch-libnotify-notification-c.diff
1 --- libnotify/notification.c.old 2010-09-15 20:26:52.000000000 +02002 +++ libnotify/notification.c 2010-09-15 20:31:25.000000000 +02003 @@ -26,7 +26,6 @@4 #include <dbus/dbus-glib.h>5 6 #include <gtk/gtk.h>7 -#include <gdk/gdkx.h>8 9 #include "notify.h"10 #include "internal.h"