From 98ad0a8752773f88f7b623ad63273f6e13ceb4b5 Mon Sep 17 00:00:00 2001 From: auronandace Date: Fri, 23 Oct 2026 14:49:41 +0100 Subject: [PATCH] remove lz4 patch --- recipes/archives/lz4/recipe.toml | 1 - recipes/archives/lz4/redox.patch | 34 -------------------------------- 2 files changed, 35 deletions(-) delete mode 100644 recipes/archives/lz4/redox.patch diff --git a/recipes/archives/lz4/recipe.toml b/recipes/archives/lz4/recipe.toml index 6ab50fbda..24943ff7f 100644 --- a/recipes/archives/lz4/recipe.toml +++ b/recipes/archives/lz4/recipe.toml @@ -1,7 +1,6 @@ [source] tar = "https://github.com/lz4/lz4/releases/download/v1.10.0/lz4-1.10.0.tar.gz" blake3 = "3e69fd475e7852e17594985528b5232afeba7d3d56cfebe2e89071768b2ab36a" -patches = ["redox.patch"] [build] template = "custom" diff --git a/recipes/archives/lz4/redox.patch b/recipes/archives/lz4/redox.patch deleted file mode 100644 index 095ae277d..000000000 --- a/recipes/archives/lz4/redox.patch +++ /dev/null @@ -1,34 +0,0 @@ -diff '--color=auto' -ruwN source/programs/util.h source-new/programs/util.h ---- source/programs/util.h 2024-07-21 13:29:49.000000000 -0400 -+++ source-new/programs/util.h 2024-12-13 02:21:03.032769559 -0500 -@@ -52,6 +52,9 @@ - #include /* time */ - #include /* INT_MAX */ - #include -+#if defined(_REDOX) -+# include /* utimes */ -+#endif - - - -@@ -239,12 +242,20 @@ - timebuf.modtime = statbuf->st_mtime; - res += utime(filename, &timebuf); /* set access and modification times */ - #else -+ #if defined(_REDOX) -+ struct timeval timebuf[2]; -+ memset(timebuf, 0, sizeof(timebuf)); -+ timebuf[0].tv_usec = UTIME_NOW; -+ timebuf[1].tv_sec = statbuf->st_mtime; -+ res += utimes(filename, timebuf); -+ #else - struct timespec timebuf[2]; - memset(timebuf, 0, sizeof(timebuf)); - timebuf[0].tv_nsec = UTIME_NOW; - timebuf[1].tv_sec = statbuf->st_mtime; - res += utimensat(AT_FDCWD, filename, timebuf, 0); /* set access and modification times */ - #endif -+#endif - } - - #if !defined(_WIN32)