diff options
author | 2010-03-29 16:55:51 +0000 | |
---|---|---|
committer | 2010-03-29 16:55:51 +0000 | |
commit | 59b3c8d0d793f954a327ba23b20fe25bbf0b8285 (patch) | |
tree | 9f0c2471519e961e8e6d7aa49ac1a4c34094ec61 /xfce-extra/xfce4-sensors-plugin | |
parent | x86 stable wrt bug #296166 (diff) | |
download | gentoo-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')
3 files changed, 18 insertions, 3 deletions
diff --git a/xfce-extra/xfce4-sensors-plugin/ChangeLog b/xfce-extra/xfce4-sensors-plugin/ChangeLog index 3b96672cca58..41945e3156e5 100644 --- a/xfce-extra/xfce4-sensors-plugin/ChangeLog +++ b/xfce-extra/xfce4-sensors-plugin/ChangeLog @@ -1,11 +1,13 @@ # ChangeLog for xfce-extra/xfce4-sensors-plugin # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/xfce-extra/xfce4-sensors-plugin/ChangeLog,v 1.6 2010/03/29 16:21:06 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/xfce-extra/xfce4-sensors-plugin/ChangeLog,v 1.7 2010/03/29 16:55:51 ssuominen Exp $ 29 Mar 2010; Samuli Suominen <ssuominen@gentoo.org> xfce4-sensors-plugin-1.0.0.ebuild, + +files/xfce4-sensors-plugin-1.0.0-without_libnotify.patch, +files/xfce4-sensors-plugin-1.0.0-missing_includedir.patch: Fix missing -I flag for libxfce4panel headers. + Fix building with --disable-notification. 29 Mar 2010; Jeremy Olexa <darkside@gentoo.org> xfce4-sensors-plugin-1.0.0.ebuild: 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); diff --git a/xfce-extra/xfce4-sensors-plugin/xfce4-sensors-plugin-1.0.0.ebuild b/xfce-extra/xfce4-sensors-plugin/xfce4-sensors-plugin-1.0.0.ebuild index d04e0ee74d02..a37226577425 100644 --- a/xfce-extra/xfce4-sensors-plugin/xfce4-sensors-plugin-1.0.0.ebuild +++ b/xfce-extra/xfce4-sensors-plugin/xfce4-sensors-plugin-1.0.0.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/xfce-extra/xfce4-sensors-plugin/xfce4-sensors-plugin-1.0.0.ebuild,v 1.4 2010/03/29 16:21:06 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/xfce-extra/xfce4-sensors-plugin/xfce4-sensors-plugin-1.0.0.ebuild,v 1.5 2010/03/29 16:55:51 ssuominen Exp $ EAUTORECONF=yes EAPI=2 @@ -43,7 +43,8 @@ pkg_setup() { DOCS="AUTHORS ChangeLog NEWS NOTES README TODO" - PATCHES=( "${FILESDIR}/${P}-missing_includedir.patch" ) + PATCHES=( "${FILESDIR}/${P}-missing_includedir.patch" + "${FILESDIR}/${P}-without_libnotify.patch" ) } src_prepare() { |