aboutsummaryrefslogtreecommitdiffstats
path: root/testing/ding-libs/musl-fixes.patch
diff options
context:
space:
mode:
authorHenrik Riomar <henrik.riomar@gmail.com>2018-07-24 12:45:21 +0000
committerHenrik Riomar <henrik.riomar@gmail.com>2018-07-31 21:48:31 +0200
commitb9ac1c6d85c79c85ef9f9b644168f07618340525 (patch)
treec84832d2bdfa7205e733636c3b3fdb2dab01c413 /testing/ding-libs/musl-fixes.patch
parentce06ce312aa49360dda83dcd4a17f08c75cbedc8 (diff)
downloadaports-b9ac1c6d85c79c85ef9f9b644168f07618340525.tar.gz
aports-b9ac1c6d85c79c85ef9f9b644168f07618340525.tar.bz2
aports-b9ac1c6d85c79c85ef9f9b644168f07618340525.tar.xz
testing/ding-libs: add check-dev to checkdepends
check-dev needed to run the full test suite Add a backport from upstream and a musl integration patch
Diffstat (limited to 'testing/ding-libs/musl-fixes.patch')
-rw-r--r--testing/ding-libs/musl-fixes.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/testing/ding-libs/musl-fixes.patch b/testing/ding-libs/musl-fixes.patch
new file mode 100644
index 0000000000..6855a3b86c
--- /dev/null
+++ b/testing/ding-libs/musl-fixes.patch
@@ -0,0 +1,31 @@
+--- ding-libs-0.6.1/ini/ini_validators_ut_check.c
++++ ding-libs-0.6.1-musl/ini/ini_validators_ut_check.c
+@@ -606,7 +606,7 @@
+ ret = strcmp(errmsg,
+ "[rule/options_for_foo]: Cannot compile regular expression "
+ "from option 'section_re'. "
+- "Error: 'Unmatched [ or [^'");
++ "Error: 'Missing ']''");
+ fail_unless(ret == 0, "Got msg: [%s]", errmsg);
+ ini_errobj_next(errobj);
+
+@@ -1027,7 +1027,7 @@
+ errmsg = ini_errobj_get_msg(errobj);
+ ret = strcmp(errmsg,
+ "[rule/section_list]: Validator failed to use regex "
+- "[^foo\\(*$]:[Unmatched ( or \\(]");
++ "[^foo\\(*$]:[Missing ')']");
+ fail_unless(ret == 0, "Got msg: [%s]", errmsg);
+ ini_errobj_next(errobj);
+
+--- ding-libs-0.6.1/path_utils/path_utils.c
++++ ding-libs-0.6.1-musl/path_utils/path_utils.c
+@@ -31,7 +31,7 @@
+ #include <stdlib.h>
+ #include <unistd.h>
+ #include <dirent.h>
+-#include <sys/errno.h>
++#include <errno.h>
+ #include <sys/stat.h>
+
+ #include <libgen.h>