[gnome-applet-sensors] re-add dso patch

Huzaifa Sidhpurwala huzaifas at fedoraproject.org
Thu Aug 12 07:05:45 UTC 2010


commit 5f66ff17a388e4889a5be020be3a53b942467fa8
Author: Huzaifa Sidhpurwala <huzaifas at redhat.com>
Date:   Thu Aug 12 12:35:40 2010 +0530

    re-add dso patch

 gnome-applet-sensors.spec   |    7 +++++--
 sensors-applet-fixDSO.patch |   12 ++++++++++++
 2 files changed, 17 insertions(+), 2 deletions(-)
---
diff --git a/gnome-applet-sensors.spec b/gnome-applet-sensors.spec
index 85840ec..4ebfb82 100644
--- a/gnome-applet-sensors.spec
+++ b/gnome-applet-sensors.spec
@@ -1,11 +1,12 @@
 Name:           gnome-applet-sensors
 Version:        2.2.7
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Gnome panel applet for hardware sensors
 Group:          User Interface/Desktops
 License:        GPLv2+ and CC-BY-SA
 URL:            http://sensors-applet.sourceforge.net/
 Source0:        http://downloads.sourceforge.net/sensors-applet/sensors-applet-%{version}.tar.gz
+Patch0:		sensors-applet-fixDSO.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires:  gnome-panel-devel >= 2.8
 BuildRequires:  gettext gnome-doc-utils lm_sensors-devel libnotify-devel
@@ -39,6 +40,7 @@ developing applications that use %{name}.
 
 %prep
 %setup -q -n sensors-applet-%{version}
+%patch0 -p1 -b .fixdso 
 chmod -x %{_builddir}/sensors-applet-%{version}/AUTHORS
 chmod -x %{_builddir}/sensors-applet-%{version}/NEWS
 chmod -x %{_builddir}/sensors-applet-%{version}/TODO
@@ -97,8 +99,9 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
-* Thu Aug 12 2010 Huzaifa Sidhpurwala <huzaifas at redhat.com> - 2.2.7-1
+* Thu Aug 12 2010 Huzaifa Sidhpurwala <huzaifas at redhat.com> - 2.2.7-2
 - New upstream
+- Refix DSO 
 
 * Thu Feb 18 2010 Huzaifa Sidhpurwala <huzaifas at redhat.com> - 2.2.5-3
 - Fix DSO linkage issues
diff --git a/sensors-applet-fixDSO.patch b/sensors-applet-fixDSO.patch
new file mode 100644
index 0000000..57eacf4
--- /dev/null
+++ b/sensors-applet-fixDSO.patch
@@ -0,0 +1,12 @@
+diff -Naur sensors-applet-2.2.7/sensors-applet/Makefile.in sensors-applet-2.2.7.fixdso/sensors-applet/Makefile.in
+--- sensors-applet-2.2.7/sensors-applet/Makefile.in	2010-06-24 18:19:59.000000000 +0530
++++ sensors-applet-2.2.7.fixdso/sensors-applet/Makefile.in	2010-08-12 12:32:55.822688244 +0530
+@@ -75,7 +75,7 @@
+ 	$(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+ CCLD = $(CC)
+ LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
+-	--mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
++	--mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) -ldl \
+ 	$(LDFLAGS) -o $@
+ SOURCES = $(sensors_applet_SOURCES)
+ DIST_SOURCES = $(am__sensors_applet_SOURCES_DIST)


More information about the scm-commits mailing list