diff options
author | kwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059> | 2011-03-07 18:17:58 +0800 |
---|---|---|
committer | kwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059> | 2011-03-07 18:17:58 +0800 |
commit | d1a4a51740ef93b4d2cdf4f2a70ee9195a58ed56 (patch) | |
tree | 24f93e11d18884b8ad49f31bee8570a002ea65ae /net | |
parent | c90d78a143854d2dafb574fbe0d7302505544ebe (diff) | |
download | marcuscom-ports-d1a4a51740ef93b4d2cdf4f2a70ee9195a58ed56.tar.gz marcuscom-ports-d1a4a51740ef93b4d2cdf4f2a70ee9195a58ed56.tar.zst marcuscom-ports-d1a4a51740ef93b4d2cdf4f2a70ee9195a58ed56.zip |
Chase libnotify and fix build.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@15380 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'net')
-rw-r--r-- | net/liferea/Makefile | 2 | ||||
-rw-r--r-- | net/liferea/files/patch-src_notification_libnotify.c | 20 |
2 files changed, 21 insertions, 1 deletions
diff --git a/net/liferea/Makefile b/net/liferea/Makefile index 27e8fea68..423b93096 100644 --- a/net/liferea/Makefile +++ b/net/liferea/Makefile @@ -38,7 +38,7 @@ OPTIONS= LIBNOTIFY "Enable libnotify support" on CONFIGURE_ARGS+=--disable-libnotify PLIST_SUB+= NOTIFY="@comment " .else -LIB_DEPENDS+= notify.1:${PORTSDIR}/devel/libnotify +LIB_DEPENDS+= notify.4:${PORTSDIR}/devel/libnotify PLIST_SUB+= NOTIFY="" .endif diff --git a/net/liferea/files/patch-src_notification_libnotify.c b/net/liferea/files/patch-src_notification_libnotify.c new file mode 100644 index 000000000..081768a42 --- /dev/null +++ b/net/liferea/files/patch-src_notification_libnotify.c @@ -0,0 +1,20 @@ +--- src/notification/libnotify.c.orig 2011-03-07 11:14:15.000000000 +0100 ++++ src/notification/libnotify.c 2011-03-07 11:14:29.000000000 +0100 +@@ -150,7 +150,7 @@ static void notif_libnotify_callback_sho + // notify_notification_update ( n, node_get_title(node_p), labelText_now_p, NULL); + // notify_notification_clear_actions(n); + +- n = notify_notification_new (node_get_title(node_p), labelText_now_p, NULL, NULL); ++ n = notify_notification_new (node_get_title(node_p), labelText_now_p, NULL); + + notify_notification_set_icon_from_pixbuf (n,node_get_icon(node_p)); + +@@ -244,7 +244,7 @@ notif_libnotify_node_has_new_items (node + + labelSummary_p = g_strdup_printf (ngettext ("%s has %d new / updated headline\n", "%s has %d new / updated headlines\n", item_count), + node_get_title (node), item_count); +- n = notify_notification_new ( _("Feed Update"), labelSummary_p, NULL, NULL); ++ n = notify_notification_new ( _("Feed Update"), labelSummary_p, NULL); + g_free(labelSummary_p); + + notify_notification_set_icon_from_pixbuf (n, node_get_icon (node)); |