diff --git a/srcpkgs/pciutils/patches/fix-musl.patch b/srcpkgs/pciutils/patches/fix-musl.patch new file mode 100644 index 0000000000..ce936e3a83 --- /dev/null +++ b/srcpkgs/pciutils/patches/fix-musl.patch @@ -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 diff --git a/srcpkgs/pciutils/template b/srcpkgs/pciutils/template index 22064149b3..4addd267cb 100644 --- a/srcpkgs/pciutils/template +++ b/srcpkgs/pciutils/template @@ -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 " -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} \