summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNed Ludd <solar@gentoo.org>2004-07-26 14:57:27 +0000
committerNed Ludd <solar@gentoo.org>2004-07-26 14:57:27 +0000
commit1085c00fa9f3d730cdde9d17becb2f173d2eb602 (patch)
treed3ee4da0e690eb97d90ee443a4e37b512cb5dd97 /sys-apps
parentVersion bump to 18.4 (Manifest recommit) (diff)
downloadgentoo-2-1085c00fa9f3d730cdde9d17becb2f173d2eb602.tar.gz
gentoo-2-1085c00fa9f3d730cdde9d17becb2f173d2eb602.tar.bz2
gentoo-2-1085c00fa9f3d730cdde9d17becb2f173d2eb602.zip
fix command line overflow which did not allow for null terminator when using lspci -vvv (AGPx1 and AGPx2 and AGPx4) bug #41422
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/pciutils/ChangeLog6
-rw-r--r--sys-apps/pciutils/Manifest6
-rw-r--r--sys-apps/pciutils/pciutils-2.1.11-r1.ebuild7
3 files changed, 14 insertions, 5 deletions
diff --git a/sys-apps/pciutils/ChangeLog b/sys-apps/pciutils/ChangeLog
index 5e490cf02f96..f8837a13e99d 100644
--- a/sys-apps/pciutils/ChangeLog
+++ b/sys-apps/pciutils/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sys-apps/pciutils
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/pciutils/ChangeLog,v 1.32 2004/07/17 06:04:48 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/pciutils/ChangeLog,v 1.33 2004/07/26 14:57:27 solar Exp $
+
+ 26 Jul 2004; <solar@gentoo.org> pciutils-2.1.11-r1.ebuild:
+ fix command line overflow which did not allow for null terminator when using
+ lspci -vvv (AGPx1 and AGPx2 and AGPx4) bug #41422
16 Jul 2004; Michael Sterrett <mr_bones_@gentoo.org>
pciutils-2.1.11-r1.ebuild:
diff --git a/sys-apps/pciutils/Manifest b/sys-apps/pciutils/Manifest
index 6afcba35a7f3..f30101f4dc85 100644
--- a/sys-apps/pciutils/Manifest
+++ b/sys-apps/pciutils/Manifest
@@ -1,8 +1,8 @@
-MD5 819c1647383f92e7ddbb481f861e1943 ChangeLog 4200
+MD5 63b75f99485ee3b115bbab7a45640f90 pciutils-2.1.11-r1.ebuild 1666
MD5 a715840d9c61913486ef33b98fdf654c pciutils-2.1.11.ebuild 1248
+MD5 819c1647383f92e7ddbb481f861e1943 ChangeLog 4200
MD5 9a09f8d531c582e78977dbfd96edc1f2 metadata.xml 164
-MD5 5be00ac012ec2a3c586953ef41ebb22e pciutils-2.1.11-r1.ebuild 1449
-MD5 be96d45f9e9ed5a1580bc6583f8c0023 files/digest-pciutils-2.1.11 67
MD5 c6135ce795940ebf3777592d4e6f8049 files/pcimodules-pciutils-2.1.11.diff 11026
MD5 1532c4c74daf454495048467b2a8b04b files/2.1.11-sysfs.patch 10425
+MD5 be96d45f9e9ed5a1580bc6583f8c0023 files/digest-pciutils-2.1.11 67
MD5 be96d45f9e9ed5a1580bc6583f8c0023 files/digest-pciutils-2.1.11-r1 67
diff --git a/sys-apps/pciutils/pciutils-2.1.11-r1.ebuild b/sys-apps/pciutils/pciutils-2.1.11-r1.ebuild
index 0abaf965e656..36c9bfc21385 100644
--- a/sys-apps/pciutils/pciutils-2.1.11-r1.ebuild
+++ b/sys-apps/pciutils/pciutils-2.1.11-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/sys-apps/pciutils/pciutils-2.1.11-r1.ebuild,v 1.16 2004/07/17 06:04:48 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/pciutils/pciutils-2.1.11-r1.ebuild,v 1.17 2004/07/26 14:57:27 solar Exp $
inherit eutils flag-o-matic
@@ -28,6 +28,11 @@ src_unpack() {
-e "s:-O2:${CFLAGS}:" Makefile \
|| die "sed Makefile failed"
+ # fix command line overflow which did not allow for null terminator
+ # when using lspci -vvv (AGPx1 and AGPx2 and AGPx4) bug #41422
+ sed -i -e s/'rate\[8\]'/'rate\[9\]'/g lspci.c \
+ || die "sed failed on lspci.c"
+
./update-pciids.sh
}