aboutsummaryrefslogtreecommitdiff
path: root/package/pciutils
diff options
context:
space:
mode:
authorGravatar Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-08-21 16:51:46 +0000
committerGravatar Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-08-21 16:51:46 +0000
commit02430b3be0eac524f5e8ebc999e92f21ed15d5c0 (patch)
treea39f420aaa9d78e6fbfffa8f616b7aa1c05cec8c /package/pciutils
parentacfde78a855d8c9f9afcd786891be42686168332 (diff)
downloadbuildroot-02430b3be0eac524f5e8ebc999e92f21ed15d5c0.tar.gz
buildroot-02430b3be0eac524f5e8ebc999e92f21ed15d5c0.tar.bz2
- bump version to 2.2.6
Diffstat (limited to 'package/pciutils')
-rw-r--r--package/pciutils/pciutils.mk2
-rw-r--r--package/pciutils/pciutils.patch70
2 files changed, 4 insertions, 68 deletions
diff --git a/package/pciutils/pciutils.mk b/package/pciutils/pciutils.mk
index eb5cf80e55..00bc61b409 100644
--- a/package/pciutils/pciutils.mk
+++ b/package/pciutils/pciutils.mk
@@ -3,7 +3,7 @@
# pciutils
#
#############################################################
-PCIUTILS_VERSION:=2.1.11
+PCIUTILS_VERSION:=2.2.6
PCIUTILS_SOURCE:=pciutils-$(PCIUTILS_VERSION).tar.gz
PCIUTILS_CAT:=$(ZCAT)
PCIUTILS_SITE:=ftp://atrey.karlin.mff.cuni.cz/pub/linux/pci
diff --git a/package/pciutils/pciutils.patch b/package/pciutils/pciutils.patch
index 5f93805575..f2d773cc36 100644
--- a/package/pciutils/pciutils.patch
+++ b/package/pciutils/pciutils.patch
@@ -1,5 +1,5 @@
---- pciutils-2.1.11/lib/configure
-+++ pciutils-2.1.11/lib/configure
+--- pciutils-2.2.6/lib/configure
++++ pciutils-2.2.6/lib/configure
@@ -12,7 +12,7 @@
echo_n "Configuring libpci for your system..."
sharedir=${1:-/usr/share}
@@ -9,68 +9,4 @@
rel=`uname -r`
if [ "$sys" = "AIX" -a -x /usr/bin/oslevel -a -x /usr/sbin/lsattr ]
then
-@@ -25,7 +25,6 @@
- echo " $sys/$cpu $rel"
-
- c=config.h
--echo >$c "#define ARCH_`echo $cpu | tr 'a-z' 'A-Z'`"
- echo >>$c "#define OS_`echo $sys | tr 'a-z' 'A-Z'`"
-
- echo_n "Looking for access methods..."
-@@ -40,17 +39,6 @@
- ok=1
- ;;
- esac
-- case $cpu in
-- i386) echo_n " i386-ports"
-- echo >>$c '#define HAVE_PM_INTEL_CONF'
-- ok=1
-- ;;
-- alpha|ia64) echo >>$c '#define HAVE_64BIT_ADDRESS'
-- ;;
-- sparc|sparc64) echo >>$c '#define HAVE_64BIT_ADDRESS'
-- echo >>$c '#define HAVE_LONG_ADDRESS'
-- ;;
-- esac
- ;;
- FreeBSD)
- echo_n " fbsd-device"
---- pciutils-2.1.11/Makefile
-+++ pciutils-2.1.11/Makefile
-@@ -18,16 +18,6 @@
- DIRINSTALL=install -d
- PCILIB=libpci.a
-
--ifeq ($(shell uname),NetBSD)
--PCILIB=libpciutils.a
--LDFLAGS+=-lpci
--else
--ifeq ($(shell uname),AIX)
--CFLAGS=-g
--INSTALL=installbsd
--DIRINSTALL=mkdir -p
--endif
--endif
-
- export
-
---- pciutils-2.1.11/lspci.c
-+++ pciutils-2.1.11/lspci.c
-@@ -51,7 +51,7 @@
-
- /* Format strings used for IRQ numbers and memory addresses */
-
--#ifdef ARCH_SPARC64
-+#ifdef __sparc64__
- #define IRQ_FORMAT "%08x"
- #else
- #define IRQ_FORMAT "%d"
-@@ -67,7 +67,7 @@
- #define ADDR_FORMAT "%08lx"
- #endif
-
--#ifdef ARCH_SPARC64
-+#ifdef __sparc64__
- #define IO_FORMAT "%016Lx"
- #elif defined(HAVE_LONG_ADDRESS)
- #define IO_FORMAT "%04Lx"
+