summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuca Barbato <lu_zero@gentoo.org>2003-09-02 10:12:37 +0000
committerLuca Barbato <lu_zero@gentoo.org>2003-09-02 10:12:37 +0000
commitfd7fcd7190f7d1cd2e475bf291dcf957d077c650 (patch)
tree4f5e9c7a654e7920d26b254ca4129a43e701b127 /sys-apps
parentFix for missing description (diff)
downloadgentoo-2-fd7fcd7190f7d1cd2e475bf291dcf957d077c650.tar.gz
gentoo-2-fd7fcd7190f7d1cd2e475bf291dcf957d077c650.tar.bz2
gentoo-2-fd7fcd7190f7d1cd2e475bf291dcf957d077c650.zip
ppc fix
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/lm-sensors/ChangeLog6
-rw-r--r--sys-apps/lm-sensors/Manifest15
-rw-r--r--sys-apps/lm-sensors/files/no-isadump-ppc.patch25
-rw-r--r--sys-apps/lm-sensors/lm-sensors-2.6.5.ebuild9
4 files changed, 46 insertions, 9 deletions
diff --git a/sys-apps/lm-sensors/ChangeLog b/sys-apps/lm-sensors/ChangeLog
index 90f372ef90ef..bbc795daf8b3 100644
--- a/sys-apps/lm-sensors/ChangeLog
+++ b/sys-apps/lm-sensors/ChangeLog
@@ -1,7 +1,11 @@
# ChangeLog for sys-apps/lm-sensors
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/lm-sensors/ChangeLog,v 1.5 2003/08/13 20:33:18 lostlogic Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/lm-sensors/ChangeLog,v 1.6 2003/09/02 10:12:31 lu_zero Exp $
+ 02 Sep 2003; Luca Barbato <lu_zero@gentoo.org> lm-sensors-2.6.5.ebuild,
+ files/no-isadump-ppc.patch:
+ Fixes a ppc related bug
+
*lm-sensors-2.8.0 (13 Aug 2003)
13 Aug 2003; Brandon Low <lostlogic@gentoo.org> lm-sensors-2.8.0.ebuild,
diff --git a/sys-apps/lm-sensors/Manifest b/sys-apps/lm-sensors/Manifest
index f9d845399890..bc479cf4d948 100644
--- a/sys-apps/lm-sensors/Manifest
+++ b/sys-apps/lm-sensors/Manifest
@@ -1,12 +1,13 @@
-MD5 8a84c8b870cacd0d1b40d719b7bcae1c lm-sensors-2.7.0-r1.ebuild 2679
+MD5 e7cc22e5f48c5d2d3def82ee244cf5e6 ChangeLog 4061
+MD5 efdd071257ee7e4314b70e1903efab32 lm-sensors-2.6.5.ebuild 2036
MD5 3b1cad58ba4278bdaf67c553efa93b1f lm-sensors-2.7.0.ebuild 2334
+MD5 8a84c8b870cacd0d1b40d719b7bcae1c lm-sensors-2.7.0-r1.ebuild 2679
MD5 a5917cbc94196dcc01f62694eaf2cf8a lm-sensors-2.8.0.ebuild 4169
-MD5 023ece9fb7b4e676fd2f1c74401e8a46 ChangeLog 3930
-MD5 fe44ed8975bb07d397ae50096c8ce0a0 lm-sensors-2.6.5.ebuild 1955
-MD5 e4127305c75208284e8eaa26a77888c4 files/rc 1534
-MD5 265c3ccaffdf984cbd371aec994b3162 files/lm-sensors-2.8.0-sensors-detect-gentoo.diff 5173
-MD5 f07f401256b40cdec1c0518d28ee1aca files/digest-lm-sensors-2.7.0-r1 158
-MD5 d8c62d91275ce75f12c70d068db57a97 files/rc_lm_sensors 621
MD5 4e8f1427a529eb217c00370357991f73 files/digest-lm-sensors-2.6.5 68
MD5 cf55e040bb5a4609f79212a60fa0c1c3 files/digest-lm-sensors-2.7.0 68
+MD5 d8c62d91275ce75f12c70d068db57a97 files/rc_lm_sensors 621
+MD5 f07f401256b40cdec1c0518d28ee1aca files/digest-lm-sensors-2.7.0-r1 158
+MD5 e4127305c75208284e8eaa26a77888c4 files/rc 1534
MD5 7488e37411028858e2c430ea2354d610 files/digest-lm-sensors-2.8.0 68
+MD5 265c3ccaffdf984cbd371aec994b3162 files/lm-sensors-2.8.0-sensors-detect-gentoo.diff 5173
+MD5 f0520fc5631209ae9278e18d9b464d8e files/no-isadump-ppc.patch 1193
diff --git a/sys-apps/lm-sensors/files/no-isadump-ppc.patch b/sys-apps/lm-sensors/files/no-isadump-ppc.patch
new file mode 100644
index 000000000000..5c32e43aa97a
--- /dev/null
+++ b/sys-apps/lm-sensors/files/no-isadump-ppc.patch
@@ -0,0 +1,25 @@
+diff -ruN lm_sensors-2.6.5.orig/prog/dump/Module.mk lm_sensors-2.6.5/prog/dump/Module.mk
+--- lm_sensors-2.6.5.orig/prog/dump/Module.mk 2002-08-03 23:08:53.000000000 +0200
++++ lm_sensors-2.6.5/prog/dump/Module.mk 2003-09-02 11:57:31.000000000 +0200
+@@ -23,13 +23,14 @@
+
+ # Regrettably, even 'simply expanded variables' will not put their currently
+ # defined value verbatim into the command-list of rules...
+-PROGDUMPTARGETS := $(MODULE_DIR)/isadump $(MODULE_DIR)/i2cdump \
+- $(MODULE_DIR)/i2cset
+-PROGDUMPSOURCES := $(MODULE_DIR)/isadump.c $(MODULE_DIR)/i2cdump.c \
+- $(MODULE_DIR)/i2cset.c
+-PROGDUMPBININSTALL := $(MODULE_DIR)/isadump $(MODULE_DIR)/i2cdump \
+- $(MODULE_DIR)/i2cset
+-
++PROGDUMPTARGETS := $(MODULE_DIR)/i2cdump $(MODULE_DIR)/i2cset
++PROGDUMPSOURCES := $(MODULE_DIR)/i2cdump.c $(MODULE_DIR)/i2cset.c
++PROGDUMPBININSTALL := $(MODULE_DIR)/i2cdump $(MODULE_DIR)/i2cset
++ifneq ($(MACHINE),ppc)
++PROGDUMPTARGETS += $(MODULE_DIR)/isadump
++PROGDUMPSOURCES += $(MODULE_DIR)/isadump.c
++PROGDUMPBININSTALL += $(MODULE_DIR)/isadump
++endif
+ # Include all dependency files. We use '.rd' to indicate this will create
+ # executables.
+ INCLUDEFILES += $(PROGDUMPSOURCES:.c=.rd)
diff --git a/sys-apps/lm-sensors/lm-sensors-2.6.5.ebuild b/sys-apps/lm-sensors/lm-sensors-2.6.5.ebuild
index 14c2f13fdb5e..5a35322fbbb3 100644
--- a/sys-apps/lm-sensors/lm-sensors-2.6.5.ebuild
+++ b/sys-apps/lm-sensors/lm-sensors-2.6.5.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/lm-sensors/lm-sensors-2.6.5.ebuild,v 1.2 2003/06/21 21:19:40 drobbins Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/lm-sensors/lm-sensors-2.6.5.ebuild,v 1.3 2003/09/02 10:12:31 lu_zero Exp $
inherit flag-o-matic
@@ -17,6 +17,13 @@ KEYWORDS="x86 amd64 ppc sparc"
DEPEND="virtual/linux-sources"
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/no-isadump-ppc.patch
+
+}
+
src_compile() {
filter-flags -fPIC