File xfce4-sensors-plugin-1.0.0-fix-build-with-4.7.patch of Package xfce4-panel-plugins

diff -ur xfce4-sensors-plugin-1.0.0.orig/include/sensors-interface-common.h xfce4-sensors-plugin-1.0.0/include/sensors-interface-common.h
--- xfce4-sensors-plugin-1.0.0.orig/include/sensors-interface-common.h	2010-03-28 20:11:33.000000000 +0200
+++ xfce4-sensors-plugin-1.0.0/include/sensors-interface-common.h	2011-01-01 01:46:24.000000000 +0100
@@ -31,7 +31,7 @@
 /* #include <glib/gprintf.h>  */
 
 /* Xfce includes */
-#include <libxfce4panel/xfce-panel-plugin.h>
+#include <libxfce4panel/libxfce4panel.h>
 
 /* Package includes */
 #include <types.h>
diff -ur xfce4-sensors-plugin-1.0.0.orig/panel-plugin/Makefile.am xfce4-sensors-plugin-1.0.0/panel-plugin/Makefile.am
--- xfce4-sensors-plugin-1.0.0.orig/panel-plugin/Makefile.am	2009-11-06 12:02:11.000000000 +0100
+++ xfce4-sensors-plugin-1.0.0/panel-plugin/Makefile.am	2011-01-01 01:48:53.000000000 +0100
@@ -20,6 +20,7 @@
 
 xfce4_sensors_plugin_CFLAGS = \
 	@LIBXFCE4PANEL_CFLAGS@										   \
+	@LIBXFCEGUI4_CFLAGS@										   \
 	@PLATFORM_CFLAGS@												\
 	-DPACKAGE_LOCALE_DIR=\"$(localedir)\"							\
 	@LIBSENSORS_CFLAGS@
@@ -27,9 +28,10 @@
 #	@GTK_CFLAGS@ \
 # @GLIB_CFLAGS@
 
-xfce4_sensors_plugin_LDFLAGS = 								\
+xfce4_sensors_plugin_LDADD = 							\
 	$(top_builddir)/lib/libxfce4sensors.la
 	@LIBXFCE4PANEL_LIBS@											 \
+	@LIBXFCEGUI4_LIBS@												\
 	@SOLLIBS@														\
 	@LIBSENSORS_LDFLAGS@
 
diff -ur xfce4-sensors-plugin-1.0.0.orig/src/Makefile.am xfce4-sensors-plugin-1.0.0/src/Makefile.am
--- xfce4-sensors-plugin-1.0.0.orig/src/Makefile.am	2009-11-06 12:02:11.000000000 +0100
+++ xfce4-sensors-plugin-1.0.0/src/Makefile.am	2011-01-01 10:39:52.000000000 +0100
@@ -27,7 +27,8 @@
 	-DPACKAGE_LOCALE_DIR=\"$(localedir)\" \
 	@LIBSENSORS_CFLAGS@	\
 	@LIBXFCE4UTIL_CFLAGS@ \
-	@LIBXFCEGUI4_CFLAGS@
+	@LIBXFCEGUI4_CFLAGS@ \
+	@LIBXFCE4PANEL_CFLAGS@
 
 # @GTK_CFLAGS@ 	\
 # @GLIB_CFLAGS@ \
openSUSE Build Service is sponsored by