summaryrefslogtreecommitdiff
path: root/packages/lm_sensors/files
diff options
context:
space:
mode:
Diffstat (limited to 'packages/lm_sensors/files')
-rw-r--r--packages/lm_sensors/files/add-sysfs-ldflags.patch20
-rw-r--r--packages/lm_sensors/files/iconv.patch13
-rw-r--r--packages/lm_sensors/files/prefix-fix.patch14
3 files changed, 0 insertions, 47 deletions
diff --git a/packages/lm_sensors/files/add-sysfs-ldflags.patch b/packages/lm_sensors/files/add-sysfs-ldflags.patch
deleted file mode 100644
index 25f13d8d4c..0000000000
--- a/packages/lm_sensors/files/add-sysfs-ldflags.patch
+++ /dev/null
@@ -1,20 +0,0 @@
-
-#
-# Patch managed by http://www.holgerschurig.de/patcher.html
-#
-
---- lm_sensors-2.10.0/lib/Module.mk~add-sysfs-ldflags
-+++ lm_sensors-2.10.0/lib/Module.mk
-@@ -66,10 +66,10 @@
- # How to create the shared library
- ifdef SYSFS_SUPPORT
- $(MODULE_DIR)/$(LIBSHLIBNAME): $(LIBSHOBJECTS)
-- $(CC) -shared -Wl,-soname,$(LIBSHSONAME) -o $@ $^ -lc -lm -lsysfs
-+ $(CC) $(LDFLAGS) -shared -Wl,-soname,$(LIBSHSONAME) -o $@ $^ -lc -lm -lsysfs
- else
- $(MODULE_DIR)/$(LIBSHLIBNAME): $(LIBSHOBJECTS)
-- $(CC) -shared -Wl,-soname,$(LIBSHSONAME) -o $@ $^ -lc -lm
-+ $(CC) $(LDFLAGS) -shared -Wl,-soname,$(LIBSHSONAME) -o $@ $^ -lc -lm
- endif
-
- $(MODULE_DIR)/$(LIBSHSONAME): $(MODULE_DIR)/$(LIBSHLIBNAME)
diff --git a/packages/lm_sensors/files/iconv.patch b/packages/lm_sensors/files/iconv.patch
deleted file mode 100644
index 4aecafafb1..0000000000
--- a/packages/lm_sensors/files/iconv.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-Index: lm_sensors-2.10.1/prog/sensors/Module.mk
-===================================================================
---- lm_sensors-2.10.1.orig/prog/sensors/Module.mk 2006-09-24 22:30:10.000000000 +0000
-+++ lm_sensors-2.10.1/prog/sensors/Module.mk 2007-04-14 22:11:47.000000000 +0000
-@@ -36,7 +36,7 @@
- REMOVESENSORSBIN := $(patsubst $(MODULE_DIR)/%,$(DESTDIR)$(BINDIR)/%,$(PROGSENSORSTARGETS))
- REMOVESENSORSMAN := $(patsubst $(MODULE_DIR)/%,$(DESTDIR)$(PROGSENSORSMAN1DIR)/%,$(PROGSENSORSMAN1FILES))
-
--LIBICONV := $(shell if /sbin/ldconfig -p | grep -q libiconv\\.so ; then echo \-liconv; else echo; fi)
-+LIBICONV := -liconv
-
- $(PROGSENSORSTARGETS): $(PROGSENSORSSOURCES:.c=.ro) lib/$(LIBSHBASENAME)
- $(CC) $(EXLDFLAGS) -o $@ $(PROGSENSORSSOURCES:.c=.ro) $(LIBICONV) -Llib -lsensors
diff --git a/packages/lm_sensors/files/prefix-fix.patch b/packages/lm_sensors/files/prefix-fix.patch
deleted file mode 100644
index 66ec55c150..0000000000
--- a/packages/lm_sensors/files/prefix-fix.patch
+++ /dev/null
@@ -1,14 +0,0 @@
-Index: lm_sensors-2.10.1/Makefile
-===================================================================
---- lm_sensors-2.10.1.orig/Makefile 2007-10-07 19:22:51.000000000 +0200
-+++ lm_sensors-2.10.1/Makefile 2007-10-07 19:23:13.000000000 +0200
-@@ -74,9 +74,6 @@
- # everything, set DESTDIR to the extra prefix.
- DESTDIR :=
-
--# This is the prefix that will be used for almost all directories below.
--PREFIX := /usr/local
--
- # Your C compiler
- CC := gcc
-