diff options
author | Timo Teräs <timo.teras@iki.fi> | 2013-10-08 18:30:43 +0000 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2013-10-08 18:30:43 +0000 |
commit | 90230df2af006069a5a221c7b1e55465d10442c5 (patch) | |
tree | fa2da25338703f98964619122b30c66dc9623e76 /main/libpciaccess | |
parent | 4867a7f7feaade059533b9c7e693463ebdda2f49 (diff) | |
download | aports-90230df2af006069a5a221c7b1e55465d10442c5.tar.bz2 aports-90230df2af006069a5a221c7b1e55465d10442c5.tar.xz |
main/libpciaccess: fix arm build
Diffstat (limited to 'main/libpciaccess')
-rw-r--r-- | main/libpciaccess/APKBUILD | 10 | ||||
-rw-r--r-- | main/libpciaccess/fix-arm.patch | 11 |
2 files changed, 18 insertions, 3 deletions
diff --git a/main/libpciaccess/APKBUILD b/main/libpciaccess/APKBUILD index ca0ab30699..76b560e440 100644 --- a/main/libpciaccess/APKBUILD +++ b/main/libpciaccess/APKBUILD @@ -11,6 +11,7 @@ depends= makedepends="pkgconfig" source="http://xorg.freedesktop.org/releases/individual/lib/$pkgname-$pkgver.tar.bz2 fix-includes.patch + fix-arm.patch " _builddir="$srcdir/$pkgname-$pkgver" @@ -41,8 +42,11 @@ package() { install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING } md5sums="b7c0d3afce14eedca57312a3141ec13a libpciaccess-0.13.2.tar.bz2 -c5d611d1ddaf5cc80a5061b5b08779ae fix-includes.patch" +c5d611d1ddaf5cc80a5061b5b08779ae fix-includes.patch +0381322b67ad34689013af74bdfe77c0 fix-arm.patch" sha256sums="abab8c2b050afb89bc29280e9c6b50ec5867174960d88bfb81a01036ec20de19 libpciaccess-0.13.2.tar.bz2 -c52241f2017e0614e0c4e9ae94ff8f9c82dd2d93bf545a8ac28fe651c4da65eb fix-includes.patch" +c52241f2017e0614e0c4e9ae94ff8f9c82dd2d93bf545a8ac28fe651c4da65eb fix-includes.patch +3ed71a117c3c89ffcdd1635bf66a95b906fdd79f96102d73b466bfa4f8c2bd8d fix-arm.patch" sha512sums="312d891c1337256c9aeeda2c743907ce8c51444a165a97d2007fd2f8d05cafab37cf16e85288244490e514bcfbd7ba050d985130efe3dc2f6ed316dd46e6ad1d libpciaccess-0.13.2.tar.bz2 -055666cf4e61169c8e1b9f2dd687a627908369fe02e764afe270193e69af6c946b158d11e5d3ea2013ad46ee76f966fe490fd683a9ea5a61e22e95c1bc2d98c5 fix-includes.patch" +055666cf4e61169c8e1b9f2dd687a627908369fe02e764afe270193e69af6c946b158d11e5d3ea2013ad46ee76f966fe490fd683a9ea5a61e22e95c1bc2d98c5 fix-includes.patch +a6c95f42c926ffcd62014cf619c6aacf8db3b1862fa87c8eae9c3e64f31fcaddb682d34c767756bede5d2949a7285a415ca1d14249713bc12514c8e40f9d989f fix-arm.patch" diff --git a/main/libpciaccess/fix-arm.patch b/main/libpciaccess/fix-arm.patch new file mode 100644 index 0000000000..4a59ae906d --- /dev/null +++ b/main/libpciaccess/fix-arm.patch @@ -0,0 +1,11 @@ +--- libpciaccess-0.13.2.orig/src/linux_sysfs.c ++++ libpciaccess-0.13.2/src/linux_sysfs.c +@@ -46,7 +46,7 @@ + #include <errno.h> + #include <limits.h> + +-#if defined(__i386__) || defined(__x86_64__) || defined(__arm__) ++#if defined(__i386__) || defined(__x86_64__) + #include <sys/io.h> + #else + #define inb(x) -1 |