--- /dev/null
+--- dhcpcd-ui-0.5.1/src/dhcpcd-gtk/main.c~ 2010-06-09 15:55:38.000000000 +0200
++++ dhcpcd-ui-0.5.1/src/dhcpcd-gtk/main.c 2011-04-07 11:30:09.459298809 +0200
+@@ -198,7 +198,11 @@
+ nn = notify_notification_new_with_status_icon(title,
+ msg, icon, status_icon);
+ else
+- nn = notify_notification_new(title, msg, icon, NULL);
++ nn = notify_notification_new(title, msg, icon
++#if !defined(NOTIFY_VERSION_MINOR) || (NOTIFY_VERSION_MAJOR == 0 && NOTIFY_VERSION_MINOR < 7)
++ , NULL
++#endif
++ );
+ notify_notification_set_timeout(nn, 5000);
+ g_signal_connect(nn, "closed", G_CALLBACK(notify_closed), NULL);
+ notify_notification_show(nn, NULL);
Group: Libraries
Source0: http://roy.marples.name/downloads/dhcpcd/%{name}-%{version}.tar.bz2
# Source0-md5: a42b15650de093bcd3dd60fb94a483f7
+Patch0: %{name}-libnotify.patch
URL: http://roy.marples.name/projects/dhcpcd-ui/wiki
BuildRequires: dbus-devel
BuildRequires: gtk+2-devel
%prep
%setup -q
+%patch0 -p1
%build
%configure