aboutsummaryrefslogtreecommitdiffstats
path: root/main/findutils/test-parse-datetime.patch
diff options
context:
space:
mode:
authorJ0WI <J0WI@users.noreply.github.com>2019-10-23 00:13:10 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2019-10-29 12:17:59 +0000
commit4ec4c597b8afe37ec053d1af32b7467984553791 (patch)
tree5a7d2f1bbbeef4ec863c0b3446abb930ba6a5175 /main/findutils/test-parse-datetime.patch
parent83248509e435971957582bb985fac43e791abad5 (diff)
downloadaports-4ec4c597b8afe37ec053d1af32b7467984553791.tar.gz
aports-4ec4c597b8afe37ec053d1af32b7467984553791.tar.bz2
aports-4ec4c597b8afe37ec053d1af32b7467984553791.tar.xz
main/findutils: upgrade to 4.7.0
Diffstat (limited to 'main/findutils/test-parse-datetime.patch')
-rw-r--r--main/findutils/test-parse-datetime.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/main/findutils/test-parse-datetime.patch b/main/findutils/test-parse-datetime.patch
new file mode 100644
index 0000000000..18642174af
--- /dev/null
+++ b/main/findutils/test-parse-datetime.patch
@@ -0,0 +1,14 @@
+--- a/gnulib-tests/test-parse-datetime.c
++++ b/gnulib-tests/test-parse-datetime.c
+@@ -444,8 +444,9 @@
+ strcpy (buf + bufsize - sizeof bufsuffix, bufsuffix);
+ ASSERT (parse_datetime (&result, buf, &now));
+ LOG (buf, now, result);
+- ASSERT (result.tv_sec == 1 * 60 * 60 + 2 * 60 + 3
+- && result.tv_nsec == 123456789);
++// musl defines the tv_nsec member of struct timespec as long long
++// ASSERT (result.tv_sec == 1 * 60 * 60 + 2 * 60 + 3
++// && result.tv_nsec == 123456789);
+ }
+
+ return 0;