mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-06 13:57:14 +02:00
parent
35f8b1ddc3
commit
df1c21dfab
@ -2,7 +2,7 @@
|
|||||||
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
|
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
|
||||||
pkgname=pciutils
|
pkgname=pciutils
|
||||||
pkgver=3.12.0
|
pkgver=3.12.0
|
||||||
pkgrel=0
|
pkgrel=1
|
||||||
pkgdesc="PCI bus configuration space access library and tools"
|
pkgdesc="PCI bus configuration space access library and tools"
|
||||||
url="http://mj.ucw.cz/pciutils.html"
|
url="http://mj.ucw.cz/pciutils.html"
|
||||||
arch="all"
|
arch="all"
|
||||||
@ -12,6 +12,7 @@ makedepends="linux-headers"
|
|||||||
options="!check"
|
options="!check"
|
||||||
subpackages="$pkgname-doc $pkgname-dev $pkgname-libs"
|
subpackages="$pkgname-doc $pkgname-dev $pkgname-libs"
|
||||||
source="$pkgname-$pkgver.tar.gz::https://github.com/pciutils/pciutils/archive/refs/tags/v$pkgver.tar.gz
|
source="$pkgname-$pkgver.tar.gz::https://github.com/pciutils/pciutils/archive/refs/tags/v$pkgver.tar.gz
|
||||||
|
basename.patch
|
||||||
"
|
"
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
@ -38,4 +39,5 @@ package() {
|
|||||||
|
|
||||||
sha512sums="
|
sha512sums="
|
||||||
2157cda808acd685b985bd8b8e63bd868a042c6316859bb5bfd08f6de52172570dd6780fb3390a5abbf3b4c16d7e4bec05b4034caeee28b5a11cb3a8efc299ce pciutils-3.12.0.tar.gz
|
2157cda808acd685b985bd8b8e63bd868a042c6316859bb5bfd08f6de52172570dd6780fb3390a5abbf3b4c16d7e4bec05b4034caeee28b5a11cb3a8efc299ce pciutils-3.12.0.tar.gz
|
||||||
|
ea6f080f5266b4e55bf7e5dc8eb48fb2d700e794bc0d46042459c1b3e398365dafa356ba4fcf11e9140a687c146acab8bb7fd0763b5e328a64a13560e8a5447e basename.patch
|
||||||
"
|
"
|
||||||
|
13
main/pciutils/basename.patch
Normal file
13
main/pciutils/basename.patch
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
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>
|
Loading…
Reference in New Issue
Block a user