summary refs log tree commit diff
path: root/pkgs/development/tools/misc/elfutils/musl-cdefs_h.patch
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/tools/misc/elfutils/musl-cdefs_h.patch')
-rw-r--r--pkgs/development/tools/misc/elfutils/musl-cdefs_h.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/pkgs/development/tools/misc/elfutils/musl-cdefs_h.patch b/pkgs/development/tools/misc/elfutils/musl-cdefs_h.patch
new file mode 100644
index 00000000000..1b5bf466217
--- /dev/null
+++ b/pkgs/development/tools/misc/elfutils/musl-cdefs_h.patch
@@ -0,0 +1,15 @@
+# avoids a warning about including an internal header when
+# compiling with musl-libc
+diff -crb --new-file a/lib/fixedsizehash.h b/lib/fixedsizehash.h
+*** a/lib/fixedsizehash.h	2020-06-11 11:37:46.000000000 -0400
+--- b/lib/fixedsizehash.h	2021-01-21 05:52:59.000000000 -0500
+***************
+*** 30,36 ****
+  #include <errno.h>
+  #include <stdlib.h>
+  #include <string.h>
+- #include <sys/cdefs.h>
+  
+  #include <system.h>
+  
+--- 30,35 ----