[package] ipsec-tools: update to 0.8.0, add init script
[packages.git] / utils / sane-backends / patches / 020-non-i386-qcam.patch
1 --- a/backend/qcam.c
2 +++ b/backend/qcam.c
3 @@ -105,6 +105,17 @@
4  
5  #include "qcam.h"
6  
7 +#if !defined( __i386__) && !defined(__arm__)
8 +static inline unsigned char inb(unsigned int port)
9 +{
10 +       return 0;
11 +}
12 +
13 +static inline void outb(unsigned char value, unsigned int port)
14 +{
15 +}
16 +#endif
17 +
18  /* status bits */
19  #define NeedRamTable           (1 << 1)
20  #define BlackBalanceInProgress (1 << 6)