pciutils: update to v3.4.0
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
This commit is contained in:
parent
2bb9f6b9c7
commit
a4a2963af8
2 changed files with 14 additions and 3 deletions
|
@ -8,12 +8,12 @@
|
||||||
include $(TOPDIR)/rules.mk
|
include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=pciutils
|
PKG_NAME:=pciutils
|
||||||
PKG_VERSION:=3.3.1
|
PKG_VERSION:=3.4.0
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=1
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||||
PKG_SOURCE_URL:=@KERNEL/software/utils/pciutils
|
PKG_SOURCE_URL:=@KERNEL/software/utils/pciutils
|
||||||
PKG_MD5SUM:=86d5462e5cfc2a4341a2b91ce3ed0f09
|
PKG_MD5SUM:=46674cdbf2f72e4cfef75fea1b1ec5c8
|
||||||
PKG_MAINTAINER:=Álvaro Fernández Rojas <noltari@gmail.com>
|
PKG_MAINTAINER:=Álvaro Fernández Rojas <noltari@gmail.com>
|
||||||
|
|
||||||
PKG_LICENSE:=GPL-2.0
|
PKG_LICENSE:=GPL-2.0
|
||||||
|
@ -48,7 +48,7 @@ MAKE_FLAGS += \
|
||||||
CFLAGS="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include" \
|
CFLAGS="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include" \
|
||||||
PREFIX="/usr" \
|
PREFIX="/usr" \
|
||||||
HOST="$(GNU_TARGET_NAME)" \
|
HOST="$(GNU_TARGET_NAME)" \
|
||||||
ZLIB="yes" \
|
ZLIB="yes"
|
||||||
|
|
||||||
ifneq ($(CONFIG_USE_GLIBC),)
|
ifneq ($(CONFIG_USE_GLIBC),)
|
||||||
TARGET_LDFLAGS += -lresolv
|
TARGET_LDFLAGS += -lresolv
|
||||||
|
|
11
utils/pciutils/patches/105-fix-host.patch
Normal file
11
utils/pciutils/patches/105-fix-host.patch
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
--- a/lib/configure
|
||||||
|
+++ b/lib/configure
|
||||||
|
@@ -44,7 +44,7 @@ if [ -z "$HOST" ] ; then
|
||||||
|
fi
|
||||||
|
[ -n "$RELEASE" ] && rel="${RELEASE}"
|
||||||
|
# CAVEAT: tr on Solaris is a bit weird and the extra [] is otherwise harmless.
|
||||||
|
-host=`echo $HOST | sed -e 's/^\([^-]*\)-\([^-]*\)-\([^-]*\)-\([^-]*\)$/\1-\3/' -e 's/^\([^-]*\)-\([^-]*\)-\([^-]*\)$/\1-\2/' -e 's/^\([^-]*\)-\([^-]*\)$/\1--\2/' | tr '[A-Z]' '[a-z]'`
|
||||||
|
+host=`echo $HOST | sed -e 's/^\([^-]*\)-\([^-]*\)-\([^-]*\)-\([^-]*\)$/\1-\3/' -e 's/^\([^-]*\)-\([^-]*\)$/\1--\2/' | tr '[A-Z]' '[a-z]'`
|
||||||
|
cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
|
||||||
|
sys=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
|
||||||
|
echo " $host $rel $cpu $sys"
|
Loading…
Reference in a new issue