diff options
author | Ørjan Malde <red@foxi.me> | 2024-03-05 20:19:48 +0100 |
---|---|---|
committer | Ørjan Malde <red@foxi.me> | 2024-03-05 20:19:48 +0100 |
commit | 10d0423f8e5f4bfbb95466e0b20f151435016f43 (patch) | |
tree | b0fcb22950b928cfd2c564b220bfacc09e91b911 /patches | |
parent | a48f87e227efac629e47ca669c9412d96e59448d (diff) | |
download | midipix_build-10d0423f8e5f4bfbb95466e0b20f151435016f43.tar.bz2 midipix_build-10d0423f8e5f4bfbb95466e0b20f151435016f43.tar.xz |
patches/wget-1.21.4.local.patch: don't use posix timers
Signed-off-by: Ørjan Malde <red@foxi.me>
Diffstat (limited to 'patches')
-rw-r--r-- | patches/wget-1.21.4.local.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/patches/wget-1.21.4.local.patch b/patches/wget-1.21.4.local.patch new file mode 100644 index 00000000..0fb393c4 --- /dev/null +++ b/patches/wget-1.21.4.local.patch @@ -0,0 +1,12 @@ +diff -ru wget-1.21.4.orig/src/ptimer.c wget-1.21.4/src/ptimer.c +--- wget-1.21.4.orig/src/ptimer.c 2023-05-11 00:18:48.000000000 +0200 ++++ wget-1.21.4/src/ptimer.c 2024-03-05 20:15:46.700140687 +0100 +@@ -80,8 +80,6 @@ + + #if defined(WINDOWS) || defined(__CYGWIN__) + # define PTIMER_WINDOWS /* use Windows timers */ +-#elif _POSIX_TIMERS - 0 > 0 +-# define PTIMER_POSIX /* use POSIX timers (clock_gettime) */ + #else + # define PTIMER_GETTIMEOFDAY /* use gettimeofday */ + #endif |