summarylogtreecommitdiffstats
path: root/bfdfix.patch
diff options
context:
space:
mode:
authorfpqc2016-11-22 22:05:04 -0500
committerfpqc2016-11-22 22:05:04 -0500
commitdea0f6ab2cbe19571a35404ccdb0175a12648ecc (patch)
tree7b2fda255f6d7e495467bbc940e99c38a2133c92 /bfdfix.patch
parent4d90e267179931bcb5f2e05826a0932ecd5f19ba (diff)
downloadaur-dea0f6ab2cbe19571a35404ccdb0175a12648ecc.tar.gz
Updated to 4.13.0 and added patch for binutils
Diffstat (limited to 'bfdfix.patch')
-rw-r--r--bfdfix.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/bfdfix.patch b/bfdfix.patch
new file mode 100644
index 000000000000..c3e7d69a3cc6
--- /dev/null
+++ b/bfdfix.patch
@@ -0,0 +1,24 @@
+diff --git a/tools/sepdebugcrcfix.c b/tools/sepdebugcrcfix.c
+index cd7fa02..03db7af 100644
+--- a/tools/sepdebugcrcfix.c
++++ b/tools/sepdebugcrcfix.c
+@@ -28,7 +28,19 @@
+ #include <error.h>
+ #include <libelf.h>
+ #include <gelf.h>
++#ifndef PACKAGE
++#define PACKAGE
++#ifndef PACKAGE_VERSION
++#define PACKAGE_VERSION
+ #include <bfd.h>
++#undef PACKAGE_VERSION
++#else
++#include <bfd.h>
++#endif
++#undef PACKAGE
++#else
++#include <bfd.h>
++#endif
+
+ #define _(x) x
+ #define static_assert(expr) \