summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Kursawe <phosphan@gentoo.org>2003-06-16 14:30:16 +0000
committerPatrick Kursawe <phosphan@gentoo.org>2003-06-16 14:30:16 +0000
commit76e714f4ae3975b6df168e4c513a372b9ecaa3dd (patch)
tree1ed5dc11ff992c3aef79854eca572293d8b3aefa /sys-apps/lm-sensors
parentFixing bug 22698 (diff)
downloadhistorical-76e714f4ae3975b6df168e4c513a372b9ecaa3dd.tar.gz
historical-76e714f4ae3975b6df168e4c513a372b9ecaa3dd.tar.bz2
historical-76e714f4ae3975b6df168e4c513a372b9ecaa3dd.zip
Fixing bug 22698
Diffstat (limited to 'sys-apps/lm-sensors')
-rw-r--r--sys-apps/lm-sensors/Manifest4
-rw-r--r--sys-apps/lm-sensors/files/2.7.0-wrong-headers.patch11
-rw-r--r--sys-apps/lm-sensors/lm-sensors-2.7.0-r1.ebuild3
3 files changed, 15 insertions, 3 deletions
diff --git a/sys-apps/lm-sensors/Manifest b/sys-apps/lm-sensors/Manifest
index d5133ab784ec..60f2f7dfca23 100644
--- a/sys-apps/lm-sensors/Manifest
+++ b/sys-apps/lm-sensors/Manifest
@@ -1,6 +1,6 @@
-MD5 35ee415aa868ce97e93f4b5689c9f01e lm-sensors-2.7.0-r1.ebuild 2545
+MD5 e096487c1f3075ea06bd142f88523cda lm-sensors-2.7.0-r1.ebuild 2544
MD5 1c57fd1c27d231d1c4b7fe36b791cc64 lm-sensors-2.7.0.ebuild 2328
-MD5 2f804cbc12a6962f756e99c5f88d678c ChangeLog 3309
+MD5 43a2c07b6fb180528ac78474575efa3a ChangeLog 3341
MD5 9d17dd07a14aaff18ea1282c70856fe8 lm-sensors-2.6.5.ebuild 1948
MD5 e4127305c75208284e8eaa26a77888c4 files/rc 1534
MD5 cd17df75782a1058aca0d20762528370 files/2.7.0-wrong-headers.patch 561
diff --git a/sys-apps/lm-sensors/files/2.7.0-wrong-headers.patch b/sys-apps/lm-sensors/files/2.7.0-wrong-headers.patch
new file mode 100644
index 000000000000..28dce0bd01f3
--- /dev/null
+++ b/sys-apps/lm-sensors/files/2.7.0-wrong-headers.patch
@@ -0,0 +1,11 @@
+--- Makefile 2002-12-04 16:44:32.000000000 +0100
++++ Makefile.new 2003-06-16 16:20:04.000000000 +0200
+@@ -178,7 +178,7 @@
+ # PROGCPPFLAGS/PROGCFLAGS is to create non-kernel object files (which are linked into executables).
+ # ARCPPFLAGS/ARCFLAGS are used to create archive object files (static libraries).
+ # LIBCPPFLAGS/LIBCFLAGS are for shared library objects.
+-ALL_CPPFLAGS := -I. -Ikernel/include -I$(I2C_HEADERS) -I$(LINUX_HEADERS)
++ALL_CPPFLAGS := -I. -Ikernel/include -I$(I2C_HEADERS) -idirafter $(LINUX_HEADERS)
+ ALL_CFLAGS := -O2
+
+ ifeq ($(DEBUG),1)
diff --git a/sys-apps/lm-sensors/lm-sensors-2.7.0-r1.ebuild b/sys-apps/lm-sensors/lm-sensors-2.7.0-r1.ebuild
index b138cf24fb73..e052fd83a1b0 100644
--- a/sys-apps/lm-sensors/lm-sensors-2.7.0-r1.ebuild
+++ b/sys-apps/lm-sensors/lm-sensors-2.7.0-r1.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.7.0-r1.ebuild,v 1.1 2003/06/08 20:19:20 lostlogic Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/lm-sensors/lm-sensors-2.7.0-r1.ebuild,v 1.2 2003/06/16 14:30:06 phosphan Exp $
inherit flag-o-matic
@@ -30,6 +30,7 @@ src_unpack() {
unpack ${A} || die
cd ${S} || die
patch -p 1 <../${P}-sensors-detect-gentoo.diff || die
+ patch -p 0 < ${FILESDIR}/${PV}-wrong-headers.patch || die
}
src_compile() {