aboutsummaryrefslogtreecommitdiffstats
path: root/testing/hplip/types-musl.patch
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@alpinelinux.org>2018-11-26 08:39:20 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2018-11-26 08:40:25 +0000
commitff8e2bdfcb59d7e1381aa47a55f9d75a9c86ed3e (patch)
tree877edd9db7d46df2d6626dd947b384bd8df339ad /testing/hplip/types-musl.patch
parentc1fa63fe4f3412c40612bcb388b0c6b191658f5b (diff)
downloadaports-ff8e2bdfcb59d7e1381aa47a55f9d75a9c86ed3e.tar.bz2
aports-ff8e2bdfcb59d7e1381aa47a55f9d75a9c86ed3e.tar.xz
testing/hplip: upgrade to 3.18.10
Disable self-upgrade, remove closed-source parts Patches from Debian and Void
Diffstat (limited to 'testing/hplip/types-musl.patch')
-rw-r--r--testing/hplip/types-musl.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/testing/hplip/types-musl.patch b/testing/hplip/types-musl.patch
new file mode 100644
index 0000000000..96a43690ec
--- /dev/null
+++ b/testing/hplip/types-musl.patch
@@ -0,0 +1,20 @@
+--- a/scan/sane/OrbliteScan/LinuxCommon.h.orig 2018-10-10 22:20:30.798911195 +0200
++++ b/scan/sane/OrbliteScan/LinuxCommon.h 2018-10-10 22:21:28.815911201 +0200
+@@ -3,6 +3,17 @@
+
+ #include <sys/types.h>
+
++#ifndef __GLIBC__
++#include <bits/reg.h>
++#if __WORDSIZE == 32
++# define __S64_TYPE long long int
++# define __U64_TYPE unsigned long long int
++#elif __WORDSIZE == 64
++# define __S64_TYPE long int
++# define __U64_TYPE unsigned long int
++#endif
++#endif
++
+ /* Common typedefs for Linux */
+
+ typedef unsigned char * StringPtr;