libpciaccess: fix compilation on musl
This commit is contained in:
parent
7dc491f7b8
commit
b7f3cb1b53
12
srcpkgs/libpciaccess/patches/fix-musl.patch
Normal file
12
srcpkgs/libpciaccess/patches/fix-musl.patch
Normal file
|
@ -0,0 +1,12 @@
|
|||
diff --git src/linux_sysfs.c src/linux_sysfs.c
|
||||
index 50d94cf..7bc5600 100644
|
||||
--- src/linux_sysfs.c
|
||||
+++ src/linux_sysfs.c
|
||||
@@ -48,6 +48,7 @@
|
||||
#include <sys/mman.h>
|
||||
#include <dirent.h>
|
||||
#include <errno.h>
|
||||
+#include <limits.h>
|
||||
|
||||
#if defined(__i386__) || defined(__x86_64__) || defined(__arm__)
|
||||
#include <sys/io.h>
|
|
@ -1,7 +1,7 @@
|
|||
# Template build file for 'libpciaccess'.
|
||||
pkgname=libpciaccess
|
||||
version=0.13.4
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=gnu-configure
|
||||
short_desc="X11 PCI Access library"
|
||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||
|
|
Loading…
Reference in New Issue
Block a user