mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-22 19:16:32 +01:00
fix(elfutils): add FNM_EXTMATCH compatibility patch across strip, elfcompress, and debuginfod client
This commit is contained in:
parent
0066bbdc28
commit
8f2930283c
1 changed files with 39 additions and 0 deletions
39
steps-guix/elfutils-0.194/patches/no-fnm-extmatch.patch
Normal file
39
steps-guix/elfutils-0.194/patches/no-fnm-extmatch.patch
Normal file
|
|
@ -0,0 +1,39 @@
|
||||||
|
--- elfutils-0.194/src/strip.c
|
||||||
|
+++ elfutils-0.194/src/strip.c
|
||||||
|
@@ -26,6 +26,10 @@
|
||||||
|
#include <endian.h>
|
||||||
|
#include <fcntl.h>
|
||||||
|
#include <fnmatch.h>
|
||||||
|
+#ifndef FNM_EXTMATCH
|
||||||
|
+#define FNM_EXTMATCH 0
|
||||||
|
+#endif
|
||||||
|
+
|
||||||
|
#include <gelf.h>
|
||||||
|
#include <libelf.h>
|
||||||
|
#include <locale.h>
|
||||||
|
--- elfutils-0.194/src/elfcompress.c
|
||||||
|
+++ elfutils-0.194/src/elfcompress.c
|
||||||
|
@@ -26,6 +26,10 @@
|
||||||
|
#include <locale.h>
|
||||||
|
#include <fcntl.h>
|
||||||
|
#include <fnmatch.h>
|
||||||
|
+#ifndef FNM_EXTMATCH
|
||||||
|
+#define FNM_EXTMATCH 0
|
||||||
|
+#endif
|
||||||
|
+
|
||||||
|
#include <sys/types.h>
|
||||||
|
#include <sys/stat.h>
|
||||||
|
#include <unistd.h>
|
||||||
|
--- elfutils-0.194/debuginfod/debuginfod-client.c
|
||||||
|
+++ elfutils-0.194/debuginfod/debuginfod-client.c
|
||||||
|
@@ -106,6 +106,10 @@
|
||||||
|
#include <stdio.h>
|
||||||
|
#include <dwarf.h>
|
||||||
|
#include <fnmatch.h>
|
||||||
|
+#ifndef FNM_EXTMATCH
|
||||||
|
+#define FNM_EXTMATCH 0
|
||||||
|
+#endif
|
||||||
|
+
|
||||||
|
#include <json-c/json.h>
|
||||||
|
#include <stdlib.h>
|
||||||
|
#include <unistd.h>
|
||||||
Loading…
Add table
Add a link
Reference in a new issue