![Bernd Kuhls](/assets/img/avatar_default.png)
Add additional md5, sha1 & sha256 hashes according to buildroot docs: http://buildroot.uclibc.org/downloads/manual/manual.html#adding-packages-hash > If upstream provides more than one type of hash (e.g. sha1 and sha512), > then it is best to add all those hashes in the .hash file. Removed patch 0001, applied upstream: https://cgit.freedesktop.org/xorg/lib/libpciaccess/commit/?id=6bd2f7f92eae713663f4e13f6e2cb23526607b8c Renumbered remaining patch. Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
21 lines
719 B
Diff
21 lines
719 B
Diff
Fix musl build
|
|
|
|
Inspired by http://patchwork.openembedded.org/patch/111661/
|
|
"inb/outb are implemented for ARM on glibc but not on linux in general
|
|
therefore the conditional has to reflect that"
|
|
|
|
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
|
|
|
|
diff -uNr libpciaccess-0.13.4.org/src/linux_sysfs.c libpciaccess-0.13.4/src/linux_sysfs.c
|
|
--- libpciaccess-0.13.4.org/src/linux_sysfs.c 2015-05-01 06:44:47.000000000 +0200
|
|
+++ libpciaccess-0.13.4/src/linux_sysfs.c 2016-01-24 15:27:57.141562678 +0100
|
|
@@ -49,7 +49,7 @@
|
|
#include <dirent.h>
|
|
#include <errno.h>
|
|
|
|
-#if defined(__i386__) || defined(__x86_64__) || defined(__arm__)
|
|
+#if defined(__i386__) || defined(__x86_64__)
|
|
#include <sys/io.h>
|
|
#else
|
|
#define inb(x) -1
|