From 377f818c6f4f942389c180717c0acacd6d6e72e9 Mon Sep 17 00:00:00 2001 From: Leonid Pliushch Date: Sun, 21 Jun 2020 22:31:25 +0300 Subject: [PATCH] zstd: remove no-timespec_get.patch --- packages/zstd/no-timespec_get.patch | 26 -------------------------- 1 file changed, 26 deletions(-) delete mode 100644 packages/zstd/no-timespec_get.patch diff --git a/packages/zstd/no-timespec_get.patch b/packages/zstd/no-timespec_get.patch deleted file mode 100644 index 45ae42b9b..000000000 --- a/packages/zstd/no-timespec_get.patch +++ /dev/null @@ -1,26 +0,0 @@ -diff -u -r ../zstd-1.4.0/programs/timefn.c ./programs/timefn.c ---- ../zstd-1.4.0/programs/timefn.c 2019-04-16 22:37:24.000000000 +0000 -+++ ./programs/timefn.c 2019-04-17 20:47:49.592167589 +0000 -@@ -84,7 +84,8 @@ - - - #elif (defined (__STDC_VERSION__) && (__STDC_VERSION__ >= 201112L) /* C11 */) \ -- && defined(TIME_UTC) /* C11 requires timespec_get, but FreeBSD 11 lacks it, while still claiming C11 compliance */ -+ && defined(TIME_UTC) /* C11 requires timespec_get, but FreeBSD 11 lacks it, while still claiming C11 compliance */ \ -+ && !defined(__ANDROID__) - - #include /* abort */ - #include /* perror */ -diff -u -r ../zstd-1.4.0/programs/timefn.h ./programs/timefn.h ---- ../zstd-1.4.0/programs/timefn.h 2019-04-16 22:37:24.000000000 +0000 -+++ ./programs/timefn.h 2019-04-17 20:47:28.716414556 +0000 -@@ -58,7 +58,8 @@ - #define UTIL_TIME_INITIALIZER 0 - - #elif (defined (__STDC_VERSION__) && (__STDC_VERSION__ >= 201112L) /* C11 */) \ -- && defined(TIME_UTC) /* C11 requires timespec_get, but FreeBSD 11 lacks it, while still claiming C11 compliance */ -+ && defined(TIME_UTC) /* C11 requires timespec_get, but FreeBSD 11 lacks it, while still claiming C11 compliance */ \ -+ && !defined(__ANDROID__) - - typedef struct timespec UTIL_time_t; - #define UTIL_TIME_INITIALIZER { 0, 0 }