projects
/
packages.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[package] fix sane-backends compilation on ARM platforms
[packages.git]
/
utils
/
sane-backends
/
patches
/
020-non-i386-qcam.patch
diff --git
a/utils/sane-backends/patches/020-non-i386-qcam.patch
b/utils/sane-backends/patches/020-non-i386-qcam.patch
index
1e1b631
..
2dbb7d8
100644
(file)
--- a/
utils/sane-backends/patches/020-non-i386-qcam.patch
+++ b/
utils/sane-backends/patches/020-non-i386-qcam.patch
@@
-4,7
+4,7
@@
#include "qcam.h"
-+#if
ndef __i386__
++#if
!defined( __i386__) && !defined(__arm__)
+static inline unsigned char inb(unsigned int port)
+{
+ return 0;