summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBernd Kuhls <bernd.kuhls@t-online.de>2016-01-24 14:09:07 +0100
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-01-25 23:35:37 +0100
commita6bccd66434730d791daf19d963789916c886e77 (patch)
treea07e579bc398b4d97f5a99bb75f68a4420be8c73
parent8461906db4e5c1af84bf99458e9905a6d4d58c3e (diff)
downloadbuildroot-a6bccd66434730d791daf19d963789916c886e77.tar.gz
buildroot-a6bccd66434730d791daf19d963789916c886e77.zip
package/w_scan: fix musl build
Fixes http://autobuild.buildroot.net/results/d49/d497c0b23b7f905605f1764c136a9d7682e8137e/ Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--package/w_scan/0001-musl.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/package/w_scan/0001-musl.patch b/package/w_scan/0001-musl.patch
new file mode 100644
index 0000000000..7633d551dd
--- /dev/null
+++ b/package/w_scan/0001-musl.patch
@@ -0,0 +1,26 @@
+Fix musl build
+
+Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
+
+diff -uNr w_scan-20141122.org/descriptors.h w_scan-20141122/descriptors.h
+--- w_scan-20141122.org/descriptors.h 2014-11-22 09:49:26.000000000 +0100
++++ w_scan-20141122/descriptors.h 2016-01-24 14:05:21.000000000 +0100
+@@ -28,6 +28,7 @@
+ #ifndef __DESCRIPTORS_H__
+ #define __DESCRIPTORS_H__
+
++#include <time.h>
+ #include "extended_frontend.h"
+
+ /******************************************************************************
+diff -uNr w_scan-20141122.org/version.h w_scan-20141122/version.h
+--- w_scan-20141122.org/version.h 2014-11-22 11:59:56.000000000 +0100
++++ w_scan-20141122/version.h 2016-01-24 14:06:33.000000000 +0100
+@@ -1,6 +1,6 @@
+ /* AUTOMATICALLY GENERATED - DO NOT EDIT MANUALLY */
+ #ifndef W_SCAN_VERSION_H
+ #define W_SCAN_VERSION_H
+-uint version=20141122;
++unsigned int version=20141122;
+ #endif
+
OpenPOWER on IntegriCloud