summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2010-03-29 16:55:51 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2010-03-29 16:55:51 +0000
commit59b3c8d0d793f954a327ba23b20fe25bbf0b8285 (patch)
tree9f0c2471519e961e8e6d7aa49ac1a4c34094ec61 /xfce-extra/xfce4-sensors-plugin/files
parentx86 stable wrt bug #296166 (diff)
downloadgentoo-2-59b3c8d0d793f954a327ba23b20fe25bbf0b8285.tar.gz
gentoo-2-59b3c8d0d793f954a327ba23b20fe25bbf0b8285.tar.bz2
gentoo-2-59b3c8d0d793f954a327ba23b20fe25bbf0b8285.zip
Fix building with --disable-notification.
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'xfce-extra/xfce4-sensors-plugin/files')
-rw-r--r--xfce-extra/xfce4-sensors-plugin/files/xfce4-sensors-plugin-1.0.0-without_libnotify.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/xfce-extra/xfce4-sensors-plugin/files/xfce4-sensors-plugin-1.0.0-without_libnotify.patch b/xfce-extra/xfce4-sensors-plugin/files/xfce4-sensors-plugin-1.0.0-without_libnotify.patch
new file mode 100644
index 000000000000..06b0b81e7ca5
--- /dev/null
+++ b/xfce-extra/xfce4-sensors-plugin/files/xfce4-sensors-plugin-1.0.0-without_libnotify.patch
@@ -0,0 +1,12 @@
+--- lib/hddtemp.c
++++ lib/hddtemp.c
+@@ -72,7 +72,9 @@
+
+ /* forward declaration for GCC 4.3 -Wall */
+
++#ifdef HAVE_LIBNOTIFY
+ void notification_suppress_messages (NotifyNotification *n, gchar *action, gpointer *data);
++#endif
+ void quick_message_notify (gchar *message);
+ void quick_message (gchar *message);
+ void read_disks_netcat (t_chip *chip);