diff options
author | Mike Frysinger <vapier@gentoo.org> | 2004-11-08 05:42:16 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2004-11-08 05:42:16 +0000 |
commit | 94309124c662a8e03bacea3402c8590a4088eca3 (patch) | |
tree | 76dbeb4ee6b84cb2018000080739c9bb186581f7 /media-libs/svgalib | |
parent | Version bump to add fix for compmgr #68057. (Manifest recommit) (diff) | |
download | gentoo-2-94309124c662a8e03bacea3402c8590a4088eca3.tar.gz gentoo-2-94309124c662a8e03bacea3402c8590a4088eca3.tar.bz2 gentoo-2-94309124c662a8e03bacea3402c8590a4088eca3.zip |
Add patch to handle renaming of some PCI functions in newer kernels #69580.
Diffstat (limited to 'media-libs/svgalib')
-rw-r--r-- | media-libs/svgalib/ChangeLog | 6 | ||||
-rw-r--r-- | media-libs/svgalib/files/svgalib-1.9.19-pci-get-class.patch | 12 | ||||
-rw-r--r-- | media-libs/svgalib/svgalib-1.9.19-r1.ebuild | 5 |
3 files changed, 21 insertions, 2 deletions
diff --git a/media-libs/svgalib/ChangeLog b/media-libs/svgalib/ChangeLog index 164d0facbc97..098004d1653a 100644 --- a/media-libs/svgalib/ChangeLog +++ b/media-libs/svgalib/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for media-libs/svgalib # Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/svgalib/ChangeLog,v 1.48 2004/09/24 01:06:20 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/svgalib/ChangeLog,v 1.49 2004/11/08 05:42:16 vapier Exp $ + + 08 Nov 2004; Mike Frysinger <vapier@gentoo.org> + +files/svgalib-1.9.19-pci-get-class.patch, svgalib-1.9.19-r1.ebuild: + Add patch to handle renaming of some PCI functions in newer kernels #69580. *svgalib-1.9.19-r1 (09 Sep 2004) diff --git a/media-libs/svgalib/files/svgalib-1.9.19-pci-get-class.patch b/media-libs/svgalib/files/svgalib-1.9.19-pci-get-class.patch new file mode 100644 index 000000000000..a8978add2b67 --- /dev/null +++ b/media-libs/svgalib/files/svgalib-1.9.19-pci-get-class.patch @@ -0,0 +1,12 @@ +--- kernel/svgalib_helper/main.c.orig 2004-11-08 00:32:55.451258208 -0500 ++++ kernel/svgalib_helper/main.c 2004-11-08 00:35:31.591521280 -0500 +@@ -589,6 +589,9 @@ + SLH_SYSFS_REGISTER; + SLH_SYSFS_ADD_CONTROL; + ++#if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,9) ++# define pci_find_class pci_get_class ++#endif + if(pci_present()) { + while((dev= all_devices ? + pci_find_device(PCI_ANY_ID, PCI_ANY_ID, dev) : diff --git a/media-libs/svgalib/svgalib-1.9.19-r1.ebuild b/media-libs/svgalib/svgalib-1.9.19-r1.ebuild index 72b5b9fc14c9..d4fa66eb5314 100644 --- a/media-libs/svgalib/svgalib-1.9.19-r1.ebuild +++ b/media-libs/svgalib/svgalib-1.9.19-r1.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/media-libs/svgalib/svgalib-1.9.19-r1.ebuild,v 1.4 2004/10/06 22:31:05 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/svgalib/svgalib-1.9.19-r1.ebuild,v 1.5 2004/11/08 05:42:16 vapier Exp $ inherit eutils flag-o-matic kernel-mod @@ -40,6 +40,9 @@ src_unpack() { # Don't let the ebuild screw around with ld.so.conf #64829 epatch ${FILESDIR}/${P}-dont-touch-ld.conf.patch + + # PCI functions have been renamed with newer kernels #69580 + epatch ${FILESDIR}/${P}-pci-get-class.patch } src_compile() { |