summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Yamin <plasmaroo@gentoo.org>2004-07-12 15:27:53 +0000
committerTim Yamin <plasmaroo@gentoo.org>2004-07-12 15:27:53 +0000
commitd67703d898e59c999b23899ab0f1cc76a871f5a5 (patch)
treef83e9dd179cc867c35ed65023495db8d41615914 /sys-apps/lm-sensors
parentnew release, mark 2.10.2 x86 (diff)
downloadhistorical-d67703d898e59c999b23899ab0f1cc76a871f5a5.tar.gz
historical-d67703d898e59c999b23899ab0f1cc76a871f5a5.tar.bz2
historical-d67703d898e59c999b23899ab0f1cc76a871f5a5.zip
Added a compile fix for lm-sensors-2.6.5 on newer GCCs. Closes bug #50635.
Diffstat (limited to 'sys-apps/lm-sensors')
-rw-r--r--sys-apps/lm-sensors/ChangeLog6
-rw-r--r--sys-apps/lm-sensors/Manifest5
-rw-r--r--sys-apps/lm-sensors/files/lm-sensors-2.6.5-hk-longstring.patch31
-rw-r--r--sys-apps/lm-sensors/lm-sensors-2.6.5.ebuild3
4 files changed, 41 insertions, 4 deletions
diff --git a/sys-apps/lm-sensors/ChangeLog b/sys-apps/lm-sensors/ChangeLog
index 0039dbfe0619..bc0a73dc38a1 100644
--- a/sys-apps/lm-sensors/ChangeLog
+++ b/sys-apps/lm-sensors/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sys-apps/lm-sensors
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/lm-sensors/ChangeLog,v 1.31 2004/07/12 15:07:34 plasmaroo Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/lm-sensors/ChangeLog,v 1.32 2004/07/12 15:27:53 plasmaroo Exp $
+
+ 12 Jul 2004; <plasmaroo@gentoo.org> lm-sensors-2.6.5.ebuild,
+ +files/lm-sensors-2.6.5-hk-longstring.patch:
+ Added a compile fix for lm-sensors-2.6.5 on newer GCCs. Closes bug #50635.
*lm-sensors-2.8.7 (12 Jul 2004)
diff --git a/sys-apps/lm-sensors/Manifest b/sys-apps/lm-sensors/Manifest
index c2dacf1b374e..786f9fc0714b 100644
--- a/sys-apps/lm-sensors/Manifest
+++ b/sys-apps/lm-sensors/Manifest
@@ -1,5 +1,5 @@
-MD5 fac59634e986d655aed662f9138fe0df ChangeLog 8553
-MD5 d2496b260ece1ab61026ca321b82c25c lm-sensors-2.6.5.ebuild 2036
+MD5 0f5355771a2add1f1ec5dc77a64462ca ChangeLog 8741
+MD5 9acdfaa4153bc29f15206b6c1ffba965 lm-sensors-2.6.5.ebuild 2134
MD5 674a8ac3695e57f3a9b0035be7340ab4 lm-sensors-2.8.3.ebuild 4732
MD5 37443e54165d5bcdaa8550d52edafa98 metadata.xml 228
MD5 6c99d1c6ce41471442f4113241ca2a73 lm-sensors-2.8.4.ebuild 4679
@@ -23,5 +23,6 @@ MD5 2008fdc749bfa5f92bc90711e9d0d34d files/digest-lm-sensors-2.8.4 68
MD5 311fc2ac49c876ff12c485cb2a53d9ac files/digest-lm-sensors-2.8.7 68
MD5 2634b37f6b5e364df64f34d79506ca51 files/lm-sensors-2.8.2-sensors-detect-gentoo.diff 5006
MD5 d8c62d91275ce75f12c70d068db57a97 files/rc_lm_sensors 621
+MD5 4c60dc8246e548fab5b56c66f6d6a020 files/lm-sensors-2.6.5-hk-longstring.patch 1475
MD5 456d41bfdda2f5df2208f6c4a232a6c4 files/digest-lm-sensors-2.8.5 68
MD5 2217cbce56dd9da8bbe4188a24c9412f files/rc 2006
diff --git a/sys-apps/lm-sensors/files/lm-sensors-2.6.5-hk-longstring.patch b/sys-apps/lm-sensors/files/lm-sensors-2.6.5-hk-longstring.patch
new file mode 100644
index 000000000000..6aa4e07cf87f
--- /dev/null
+++ b/sys-apps/lm-sensors/files/lm-sensors-2.6.5-hk-longstring.patch
@@ -0,0 +1,31 @@
+diff -ruN lm_sensors-2.6.5.orig/kernel/busses/i2c-ali1535.c lm_sensors-2.6.5/kernel/busses/i2c-ali1535.c
+--- lm_sensors-2.6.5.orig/kernel/busses/i2c-ali1535.c 2002-06-08 21:49:06.000000000 +0200
++++ lm_sensors-2.6.5/kernel/busses/i2c-ali1535.c 2004-05-08 20:13:32.000000000 +0200
+@@ -672,8 +672,7 @@
+ #ifdef MODULE
+
+ MODULE_AUTHOR
+- ("Frodo Looijaard <frodol@dds.nl>, Philip Edelbrock <phil@netroedge.com>,
+- Mark D. Studebaker <mdsxyz123@yahoo.com> and Dan Eaton <dan.eaton@rocketlogix.com>");
++ ("Frodo Looijaard <frodol@dds.nl>, Philip Edelbrock <phil@netroedge.com>, Mark D. Studebaker <mdsxyz123@yahoo.com> and Dan Eaton <dan.eaton@rocketlogix.com>");
+ MODULE_DESCRIPTION("ALI1535 SMBus driver");
+
+ int init_module(void)
+diff -ruN lm_sensors-2.6.5.orig/kernel/chips/lm87.c lm_sensors-2.6.5/kernel/chips/lm87.c
+--- lm_sensors-2.6.5.orig/kernel/chips/lm87.c 2002-02-09 23:36:26.000000000 +0100
++++ lm_sensors-2.6.5/kernel/chips/lm87.c 2004-05-08 20:20:14.000000000 +0200
+@@ -1060,10 +1060,10 @@
+ #endif
+
+ MODULE_AUTHOR
+- ("Frodo Looijaard <frodol@dds.nl>,
+- Philip Edelbrock <phil@netroedge.com>,
+- Mark Studebaker <mdsxyz123@yahoo.com>,
+- and Stephen Rousset <stephen.rousset@rocketlogix.com>");
++ ("Frodo Looijaard <frodol@dds.nl>, "
++ "Philip Edelbrock <phil@netroedge.com>, "
++ "Mark Studebaker <mdsxyz123@yahoo.com>, "
++ "and Stephen Rousset <stephen.rousset@rocketlogix.com>");
+
+ MODULE_DESCRIPTION("LM87 driver");
+
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 9d65c5c71cf4..8204c40adc7d 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-2004 Gentoo Foundation
# 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.10 2004/06/30 17:36:56 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/lm-sensors/lm-sensors-2.6.5.ebuild,v 1.11 2004/07/12 15:27:53 plasmaroo Exp $
inherit flag-o-matic eutils
@@ -22,6 +22,7 @@ src_unpack() {
unpack ${A}
cd ${S}
epatch ${FILESDIR}/no-isadump-ppc.patch
+ epatch ${FILESDIR}/${P}-hk-longstring.patch || die "Failed to apply GCC 3.3 compilation patch!"
}
src_compile() {