From b7f3cb1b532774eb33438331e97d811d67ee36dd Mon Sep 17 00:00:00 2001 From: John Regan Date: Mon, 4 May 2015 16:58:59 -0500 Subject: [PATCH] libpciaccess: fix compilation on musl --- srcpkgs/libpciaccess/patches/fix-musl.patch | 12 ++++++++++++ srcpkgs/libpciaccess/template | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 srcpkgs/libpciaccess/patches/fix-musl.patch diff --git a/srcpkgs/libpciaccess/patches/fix-musl.patch b/srcpkgs/libpciaccess/patches/fix-musl.patch new file mode 100644 index 00000000000..d8de830a67e --- /dev/null +++ b/srcpkgs/libpciaccess/patches/fix-musl.patch @@ -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 + #include + #include ++#include + + #if defined(__i386__) || defined(__x86_64__) || defined(__arm__) + #include diff --git a/srcpkgs/libpciaccess/template b/srcpkgs/libpciaccess/template index 37dea1465c5..05146808298 100644 --- a/srcpkgs/libpciaccess/template +++ b/srcpkgs/libpciaccess/template @@ -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 "