diff --git a/steps-guix/unzip-6.0/patches/fix-dir-detection-on-modern-c.patch b/steps-guix/unzip-6.0/patches/fix-dir-detection-on-modern-c.patch new file mode 100644 index 00000000..bc2e95ed --- /dev/null +++ b/steps-guix/unzip-6.0/patches/fix-dir-detection-on-modern-c.patch @@ -0,0 +1,15 @@ +--- unzip60/unix/configure 2009-01-17 22:57:24 ++++ unzip60/unix/configure 2026-02-27 21:12:00 +@@ -418,7 +418,11 @@ + + echo Check for directory libraries + cat > conftest.c << _EOF_ +-int main() { return closedir(opendir(".")); } ++#include ++#include ++int main() { ++ return closedir(opendir(".")); ++} + _EOF_ + + $CC -o conftest conftest.c >/dev/null 2>/dev/null