summaryrefslogtreecommitdiff
path: root/pkg/elfutils/patch/0002-Remove-error.h-include-from-lib-system.h.patch
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2018-11-04 11:20:07 -0800
committerMichael Forney <mforney@mforney.org>2018-11-05 11:52:19 -0800
commit8a73c32a99db5494a0bac8f935f0d18a05f7ffe9 (patch)
tree98ac76088e147cc661b6c9bfb2c60c1cda951dfc /pkg/elfutils/patch/0002-Remove-error.h-include-from-lib-system.h.patch
parent1f384d443998f48b490916107aa34748825080e5 (diff)
elfutils: Update to 0.174
Diffstat (limited to 'pkg/elfutils/patch/0002-Remove-error.h-include-from-lib-system.h.patch')
-rw-r--r--pkg/elfutils/patch/0002-Remove-error.h-include-from-lib-system.h.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/pkg/elfutils/patch/0002-Remove-error.h-include-from-lib-system.h.patch b/pkg/elfutils/patch/0002-Remove-error.h-include-from-lib-system.h.patch
new file mode 100644
index 00000000..cb85b136
--- /dev/null
+++ b/pkg/elfutils/patch/0002-Remove-error.h-include-from-lib-system.h.patch
@@ -0,0 +1,26 @@
+From 0081518044fcb2b1db799589d2adffe0a14f798d Mon Sep 17 00:00:00 2001
+From: Michael Forney <mforney@mforney.org>
+Date: Sun, 4 Nov 2018 13:10:42 -0800
+Subject: [PATCH] Remove error.h include from lib/system.h
+
+We are only building libelf, which does not need error.h, and
+e893aab0d1 had the side-effect of adding error.h to lib/system.h.
+---
+ lib/system.h | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/lib/system.h b/lib/system.h
+index 292082bd..92033355 100644
+--- a/lib/system.h
++++ b/lib/system.h
+@@ -30,7 +30,6 @@
+ #define LIB_SYSTEM_H 1
+
+ #include <errno.h>
+-#include <error.h>
+ #include <stddef.h>
+ #include <stdint.h>
+ #include <sys/param.h>
+--
+2.19.1
+