From 8f2930283c33969d5835333746e7fa9814fdb7f3 Mon Sep 17 00:00:00 2001 From: vxtls <187420201+vxtls@users.noreply.github.com> Date: Sun, 22 Feb 2026 17:12:03 -0500 Subject: [PATCH] fix(elfutils): add FNM_EXTMATCH compatibility patch across strip, elfcompress, and debuginfod client --- .../patches/no-fnm-extmatch.patch | 39 +++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 steps-guix/elfutils-0.194/patches/no-fnm-extmatch.patch diff --git a/steps-guix/elfutils-0.194/patches/no-fnm-extmatch.patch b/steps-guix/elfutils-0.194/patches/no-fnm-extmatch.patch new file mode 100644 index 00000000..b057a23c --- /dev/null +++ b/steps-guix/elfutils-0.194/patches/no-fnm-extmatch.patch @@ -0,0 +1,39 @@ +--- elfutils-0.194/src/strip.c ++++ elfutils-0.194/src/strip.c +@@ -26,6 +26,10 @@ + #include + #include + #include ++#ifndef FNM_EXTMATCH ++#define FNM_EXTMATCH 0 ++#endif ++ + #include + #include + #include +--- elfutils-0.194/src/elfcompress.c ++++ elfutils-0.194/src/elfcompress.c +@@ -26,6 +26,10 @@ + #include + #include + #include ++#ifndef FNM_EXTMATCH ++#define FNM_EXTMATCH 0 ++#endif ++ + #include + #include + #include +--- elfutils-0.194/debuginfod/debuginfod-client.c ++++ elfutils-0.194/debuginfod/debuginfod-client.c +@@ -106,6 +106,10 @@ + #include + #include + #include ++#ifndef FNM_EXTMATCH ++#define FNM_EXTMATCH 0 ++#endif ++ + #include + #include + #include