summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenrik Brix Andersen <brix@gentoo.org>2005-08-29 16:12:08 +0000
committerHenrik Brix Andersen <brix@gentoo.org>2005-08-29 16:12:08 +0000
commit0e9f1662c09d968e5f26b31953577f192a3a51a1 (patch)
treee8921e1849e33d0d5e2099bde79acbd90efd188b /app-laptop
parentbug 104006, bug 101842, bug 101637 (diff)
downloadhistorical-0e9f1662c09d968e5f26b31953577f192a3a51a1.tar.gz
historical-0e9f1662c09d968e5f26b31953577f192a3a51a1.tar.bz2
historical-0e9f1662c09d968e5f26b31953577f192a3a51a1.zip
Fix compilation with linux-2.6.13.
Package-Manager: portage-2.0.51.22-r2
Diffstat (limited to 'app-laptop')
-rw-r--r--app-laptop/ibm-acpi/ChangeLog6
-rw-r--r--app-laptop/ibm-acpi/Manifest5
-rw-r--r--app-laptop/ibm-acpi/files/ibm-acpi-0.11-device_add.patch21
-rw-r--r--app-laptop/ibm-acpi/ibm-acpi-0.11-r1.ebuild7
4 files changed, 34 insertions, 5 deletions
diff --git a/app-laptop/ibm-acpi/ChangeLog b/app-laptop/ibm-acpi/ChangeLog
index 5fc9c40a76fc..3d1654cb0a3f 100644
--- a/app-laptop/ibm-acpi/ChangeLog
+++ b/app-laptop/ibm-acpi/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-laptop/ibm-acpi
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-laptop/ibm-acpi/ChangeLog,v 1.27 2005/08/08 17:14:03 brix Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-laptop/ibm-acpi/ChangeLog,v 1.28 2005/08/29 16:12:07 brix Exp $
+
+ 29 Aug 2005; Henrik Brix Andersen <brix@gentoo.org>
+ +files/ibm-acpi-0.11-device_add.patch, ibm-acpi-0.11-r1.ebuild:
+ Fix compilation with linux-2.6.13.
08 Aug 2005; Henrik Brix Andersen <brix@gentoo.org>
ibm-acpi-0.11-r1.ebuild:
diff --git a/app-laptop/ibm-acpi/Manifest b/app-laptop/ibm-acpi/Manifest
index c285f76690a3..15aceb4c5bf4 100644
--- a/app-laptop/ibm-acpi/Manifest
+++ b/app-laptop/ibm-acpi/Manifest
@@ -1,4 +1,5 @@
-MD5 b5d627d20b5b207032744c062b04589c ibm-acpi-0.11-r1.ebuild 1590
-MD5 c6aca0713523f176b5ccb923def9d293 ChangeLog 3530
+MD5 e5bc2e4eccabde8fe3b1fb8431b4e857 ibm-acpi-0.11-r1.ebuild 1649
+MD5 0492faf168cd0fbaf1642b755333514e ChangeLog 3688
MD5 b280eebc74d70d85e664debf1adce2c3 metadata.xml 255
+MD5 d7d44a5c4f28c78dbe62bfbceeb8754a files/ibm-acpi-0.11-device_add.patch 778
MD5 d070ee489dc550a69fcd3af725513d81 files/digest-ibm-acpi-0.11-r1 64
diff --git a/app-laptop/ibm-acpi/files/ibm-acpi-0.11-device_add.patch b/app-laptop/ibm-acpi/files/ibm-acpi-0.11-device_add.patch
new file mode 100644
index 000000000000..54089463a6e4
--- /dev/null
+++ b/app-laptop/ibm-acpi/files/ibm-acpi-0.11-device_add.patch
@@ -0,0 +1,21 @@
+diff -rup ibm-acpi-0.11/ibm_acpi.c ibm-acpi-0.11-device_add/ibm_acpi.c
+--- ibm-acpi-0.11/ibm_acpi.c 2005-03-17 11:06:16.000000000 +0100
++++ ibm-acpi-0.11-device_add/ibm_acpi.c 2005-08-29 18:08:11.000000000 +0200
+@@ -1752,7 +1752,7 @@ static int __init setup_notify(struct ib
+ return 0;
+ }
+
+-static int device_add(struct acpi_device *device)
++static int ibmacpi_device_add(struct acpi_device *device)
+ {
+ return 0;
+ }
+@@ -1770,7 +1770,7 @@ static int __init register_driver(struct
+ memset(ibm->driver, 0, sizeof(struct acpi_driver));
+ sprintf(ibm->driver->name, "%s/%s", IBM_NAME, ibm->name);
+ ibm->driver->ids = ibm->hid;
+- ibm->driver->ops.add = &device_add;
++ ibm->driver->ops.add = &ibmacpi_device_add;
+
+ ret = acpi_bus_register_driver(ibm->driver);
+ if (ret < 0) {
diff --git a/app-laptop/ibm-acpi/ibm-acpi-0.11-r1.ebuild b/app-laptop/ibm-acpi/ibm-acpi-0.11-r1.ebuild
index 70dd989579be..e3520fde6de8 100644
--- a/app-laptop/ibm-acpi/ibm-acpi-0.11-r1.ebuild
+++ b/app-laptop/ibm-acpi/ibm-acpi-0.11-r1.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-laptop/ibm-acpi/ibm-acpi-0.11-r1.ebuild,v 1.3 2005/08/08 17:14:03 brix Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-laptop/ibm-acpi/ibm-acpi-0.11-r1.ebuild,v 1.4 2005/08/29 16:12:07 brix Exp $
-inherit linux-mod
+inherit eutils linux-mod
DESCRIPTION="IBM ThinkPad ACPI extras"
@@ -35,6 +35,9 @@ pkg_setup() {
src_unpack() {
unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/${P}-device_add.patch
+
convert_to_m ${S}/Makefile
}