From 8300147e0f6057b8fbe3b3744303be7101aa05ba Mon Sep 17 00:00:00 2001 From: vxtls <187420201+vxtls@users.noreply.github.com> Date: Fri, 27 Feb 2026 17:22:22 -0500 Subject: [PATCH] fix(unzip): avoid musl time prototype conflicts by skipping legacy gmtime/localtime declarations on linux --- .../patches/fix-time-prototypes-on-linux.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 steps-guix/unzip-6.0/patches/fix-time-prototypes-on-linux.patch diff --git a/steps-guix/unzip-6.0/patches/fix-time-prototypes-on-linux.patch b/steps-guix/unzip-6.0/patches/fix-time-prototypes-on-linux.patch new file mode 100644 index 00000000..0072e178 --- /dev/null +++ b/steps-guix/unzip-6.0/patches/fix-time-prototypes-on-linux.patch @@ -0,0 +1,12 @@ +--- unzip60/unix/unxcfg.h 2009-01-18 18:09:08 ++++ unzip60/unix/unxcfg.h 2026-02-27 20:56:00 +@@ -117,7 +117,9 @@ + # endif + #else + # include ++# if !defined(__linux__) + struct tm *gmtime(), *localtime(); ++# endif + #endif + + #if (defined(BSD4_4) || (defined(SYSV) && defined(MODERN)))