pciutils: update to 3.6.0. (#550)
This commit is contained in:
parent
52b8c97106
commit
ae4948da5d
2 changed files with 16 additions and 4 deletions
11
srcpkgs/pciutils/patches/fix-musl.patch
Normal file
11
srcpkgs/pciutils/patches/fix-musl.patch
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- lib/sysfs.c
|
||||
+++ lib/sysfs.c
|
||||
@@ -133,7 +133,7 @@ sysfs_deref_link(struct pci_dev *d, char *link_name)
|
||||
sysfs_obj_name(d, "", path);
|
||||
strcat(path, rel_path);
|
||||
|
||||
- return canonicalize_file_name(path);
|
||||
+ return realpath(path, NULL);
|
||||
}
|
||||
|
||||
static int
|
|
@ -1,16 +1,17 @@
|
|||
# Template file for 'pciutils'
|
||||
pkgname=pciutils
|
||||
version=3.5.6
|
||||
version=3.6.0
|
||||
revision=1
|
||||
hostmakedepends="pkg-config"
|
||||
makedepends="zlib-devel libkmod-devel"
|
||||
depends="hwids"
|
||||
short_desc="PCI bus related utilities"
|
||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||
license="GPL-2"
|
||||
license="GPL-2.0-or-later"
|
||||
homepage="http://mj.ucw.cz/pciutils.html"
|
||||
distfiles="ftp://atrey.karlin.mff.cuni.cz/pub/linux/pci/${pkgname}-${version}.tar.gz"
|
||||
checksum=0d4d507d395e727384737d3c45cf8c5a0023864a6eb5c6ed7caf7d483995391d
|
||||
changelog="https://raw.githubusercontent.com/pciutils/pciutils/master/ChangeLog"
|
||||
distfiles="https://github.com/pciutils/pciutils/archive/v${version}.tar.gz"
|
||||
checksum=5b49e17c9b8af4111c9a0c33f13f7e8fb5c04142a17e96f1bae04cbe1712afc5
|
||||
|
||||
do_build() {
|
||||
make OPT="${CFLAGS}" SHARED=no AR=${AR} \
|
||||
|
|
Loading…
Reference in a new issue