From ac70ca8e4c3fab546878cadea24e3e4bab394347 Mon Sep 17 00:00:00 2001 From: Jakub Bogusz Date: Sun, 18 Apr 2004 15:25:04 +0000 Subject: [PATCH] - iconv() is in glibc, don't use -liconv Changed files: lm_sensors-iconv-in-libc.patch -> 1.1 --- lm_sensors-iconv-in-libc.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 lm_sensors-iconv-in-libc.patch diff --git a/lm_sensors-iconv-in-libc.patch b/lm_sensors-iconv-in-libc.patch new file mode 100644 index 0000000..a5d7a14 --- /dev/null +++ b/lm_sensors-iconv-in-libc.patch @@ -0,0 +1,11 @@ +--- lm_sensors-2.8.6/prog/sensors/Module.mk.orig 2004-03-27 11:30:04.000000000 +0100 ++++ lm_sensors-2.8.6/prog/sensors/Module.mk 2004-04-18 17:29:14.681584112 +0200 +@@ -33,7 +33,7 @@ + # executables. + INCLUDEFILES += $(PROGSENSORSSOURCES:.c=.rd) + +-LIBICONV := $(shell if /sbin/ldconfig -p | grep -q libiconv\\.so ; then echo \-liconv; else echo; fi) ++LIBICONV := + + $(PROGSENSORSTARGETS): $(PROGSENSORSSOURCES:.c=.ro) lib/$(LIBSHBASENAME) + $(CC) $(EXLDFLAGS) -o $@ $(PROGSENSORSSOURCES:.c=.ro) $(LIBICONV) -Llib -lsensors -- 2.44.0