• Skip to sidebar navigation
  • Skip to content

Bitbucket

  • More
    ProjectsRepositories
  • Help
    • Online help
    • Learn Git
    • Welcome to Bitbucket
    • Keyboard shortcuts
  • Log In
Alexander Dahl
  1. Alexander Dahl

buildroot

Public
Actions
  • Clone
  • Compare

Learn more about cloning repositories

You have read-only access

Navigation
  • Source
  • Commits
  • Branches
  • All Branches Graph
  • Forks
  1. Alexander Dahl
  2. buildroot

Source

buildroot/package/libpciaccess/0001-musl-arm.patch
Bernd KuhlsBernd Kuhls committed 2033a4a95b808 Apr 2017
Raw file
Source viewDiff to previous
xxxxxxxxxx
 
1
Fix musl build
2
​
3
Inspired by http://patchwork.openembedded.org/patch/111661/
4
"inb/outb are implemented for ARM on glibc but not on linux in general
5
therefore the conditional has to reflect that"
6
​
7
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
8
​
9
diff -uNr libpciaccess-0.13.4.org/src/linux_sysfs.c libpciaccess-0.13.4/src/linux_sysfs.c
10
--- libpciaccess-0.13.4.org/src/linux_sysfs.c   2015-05-01 06:44:47.000000000 +0200
11
+++ libpciaccess-0.13.4/src/linux_sysfs.c   2016-01-24 15:27:57.141562678 +0100
12
@@ -49,7 +49,7 @@
13
 #include <dirent.h>
14
 #include <errno.h>
15
 
16
-#if defined(__i386__) || defined(__x86_64__) || defined(__arm__)
17
+#if defined(__i386__) || defined(__x86_64__)
18
 #include <sys/io.h>
19
 #else
20
 #define inb(x) -1
  • Git repository management for enterprise teams powered by Atlassian Bitbucket
  • Atlassian Bitbucket v6.7.2
  • Documentation
  • Request a feature
  • About
  • Contact Atlassian
Atlassian

Everything looks good. We'll let you know here if there's anything you should know about.