aboutsummaryrefslogtreecommitdiffstats
path: root/main/ldb/disable-compile-error-test.patch
diff options
context:
space:
mode:
authorJ0WI <J0WI@users.noreply.github.com>2019-04-08 13:19:00 +0200
committerLeonardo Arena <rnalrd@alpinelinux.org>2019-04-08 13:02:31 +0000
commitbfaf11c3a8db01efce9b665762b30e4ab2815402 (patch)
treecf5ddef7fbf53da183056b1fda48b91f455b185f /main/ldb/disable-compile-error-test.patch
parent0453a3d033ee3f5fa274c846b26cfd233a0a0e5c (diff)
downloadaports-bfaf11c3a8db01efce9b665762b30e4ab2815402.tar.bz2
aports-bfaf11c3a8db01efce9b665762b30e4ab2815402.tar.xz
main/ldb: upgrade to 1.3.8
Diffstat (limited to 'main/ldb/disable-compile-error-test.patch')
-rw-r--r--main/ldb/disable-compile-error-test.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/main/ldb/disable-compile-error-test.patch b/main/ldb/disable-compile-error-test.patch
new file mode 100644
index 0000000000..16849ee549
--- /dev/null
+++ b/main/ldb/disable-compile-error-test.patch
@@ -0,0 +1,21 @@
+--- a/tests/ldb_match_test.c
++++ b/tests/ldb_match_test.c
+@@ -32,6 +32,8 @@
+ * This allows test applications to use custom definitions of C standard
+ * library functions and types.
+ */
++// disabled on alpine
++#if 0
+ #include <stdarg.h>
+ #include <stddef.h>
+ #include <stdint.h>
+@@ -189,3 +191,9 @@
+
+ return cmocka_run_group_tests(tests, NULL, NULL);
+ }
++#else
++int main(int argc, const char **argv)
++{
++ return 0;
++}
++#endif