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 | b382f91215758dac8cfa2ee6245d5cd46156c043 (patch) | |
tree | 44d42e0bfb5ad362071d614247f510d6e5aa7456 /media-libs/svgalib | |
parent | Version bump to add fix for compmgr #68057. (diff) | |
download | historical-b382f91215758dac8cfa2ee6245d5cd46156c043.tar.gz historical-b382f91215758dac8cfa2ee6245d5cd46156c043.tar.bz2 historical-b382f91215758dac8cfa2ee6245d5cd46156c043.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/Manifest | 15 | ||||
-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 |
4 files changed, 24 insertions, 14 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/Manifest b/media-libs/svgalib/Manifest index 4593bc489c55..22c0519122bd 100644 --- a/media-libs/svgalib/Manifest +++ b/media-libs/svgalib/Manifest @@ -1,20 +1,11 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - -MD5 a3ae0b86fb61856fed062a639cc186a1 ChangeLog 8680 +MD5 968de0d0c447a130e8d320d8180b2f61 ChangeLog 8880 MD5 1652522405f5936eb29776ef8d5ffa5b metadata.xml 310 -MD5 318878e1a1aa965aa41282ba1f4810f2 svgalib-1.9.19-r1.ebuild 4528 +MD5 0f75a46e7935302f847b06dee7162214 svgalib-1.9.19-r1.ebuild 4635 MD5 c136e25a99e0681344511eef09d410e6 files/svgalib-1.9.19-dont-touch-ld.conf.patch 350 +MD5 1c4684bfc1f4a5ff9daf7cbf5da699b1 files/svgalib-1.9.19-pci-get-class.patch 458 MD5 0877788ea40d3673a0c50d82d4560e0a files/svgalib-1.9.18-lrmi-gentoo-cflags.patch 269 MD5 627fcf9d82cd93cddcdef96a00248260 files/svgalib-1.9.18-utils-include.patch 413 MD5 8a336e556b73e4107cb5403bc07e7dc3 files/svgalib-1.9.19-gentoo.patch 4107 MD5 431e1212290d169ae8f928e63c793009 files/svgalib-1.9.19-linux2.6.patch 7834 MD5 71fa9630e100dc3a6ce8672b4b4b2cff files/digest-svgalib-1.9.19-r1 66 MD5 91fa4baff3dfb211bcb57a068ed7495f files/svgalib-1.9.19-pic.patch 422 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.9.10 (GNU/Linux) - -iD8DBQFBZHI2HTu7gpaalycRAsmhAJ9d+THFz1upj4lkwebn42zvNJJ2EQCdE6Np -lPKrX9bP3pX/gpVPLMHm1Kw= -=EsDQ ------END PGP SIGNATURE----- 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() { |