main/pciutils: remove basename patch

This commit is contained in:
Firas Khalil Khana 2024-11-02 20:18:49 +00:00 committed by ptrcnull
parent 3d6d332cfd
commit 8e37a0133a
2 changed files with 2 additions and 18 deletions

View File

@ -2,7 +2,7 @@
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=pciutils
pkgver=3.13.0
pkgrel=0
pkgrel=1
pkgdesc="PCI bus configuration space access library and tools"
url="http://mj.ucw.cz/pciutils.html"
arch="all"
@ -11,9 +11,7 @@ depends="hwdata-pci"
makedepends="linux-headers"
options="!check"
subpackages="$pkgname-doc $pkgname-dev $pkgname-libs"
source="$pkgname-$pkgver.tar.gz::https://github.com/pciutils/pciutils/archive/refs/tags/v$pkgver.tar.gz
basename.patch
"
source="$pkgname-$pkgver.tar.gz::https://github.com/pciutils/pciutils/archive/refs/tags/v$pkgver.tar.gz"
build() {
make OPT="$CFLAGS -fPIC -flto=auto" ZLIB=no \
@ -39,5 +37,4 @@ package() {
sha512sums="
e1d39502d312d74f6663ee6c3dc976c08f1859b7ec3dc9553aa9925111c59287d2b9085bf94e674c8062e0ee6a1153af7533aba09e342a1369d083d48c2da4f7 pciutils-3.13.0.tar.gz
ea6f080f5266b4e55bf7e5dc8eb48fb2d700e794bc0d46042459c1b3e398365dafa356ba4fcf11e9140a687c146acab8bb7fd0763b5e328a64a13560e8a5447e basename.patch
"

View File

@ -1,13 +0,0 @@
See https://gitlab.alpinelinux.org/alpine/aports/-/issues/16106
diff -upr pciutils-3.12.0.orig/lib/sysfs.c pciutils-3.12.0/lib/sysfs.c
--- pciutils-3.12.0.orig/lib/sysfs.c 2024-05-12 12:49:17.273816524 +0200
+++ pciutils-3.12.0/lib/sysfs.c 2024-05-12 12:49:31.743853491 +0200
@@ -14,6 +14,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#include <libgen.h>
#include <stdarg.h>
#include <unistd.h>
#include <errno.h>