summaryrefslogtreecommitdiff
path: root/pcr/rpm-org/bfdfix.patch
diff options
context:
space:
mode:
authorDavid P <megver83@openmailbox.org>2017-04-16 16:34:21 -0300
committerDavid P <megver83@openmailbox.org>2017-04-16 16:34:21 -0300
commit3d8401a122b75800a5f7d28f921a6354b7851667 (patch)
tree75c33d79d1e7a33f5ac42bbdd6352855c5f08c80 /pcr/rpm-org/bfdfix.patch
parent361cbc14c8df17ca22fc5c61106e58c209bea225 (diff)
downloadabslibre-3d8401a122b75800a5f7d28f921a6354b7851667.tar.gz
abslibre-3d8401a122b75800a5f7d28f921a6354b7851667.tar.bz2
abslibre-3d8401a122b75800a5f7d28f921a6354b7851667.zip
Commited untracked files
Diffstat (limited to 'pcr/rpm-org/bfdfix.patch')
-rw-r--r--pcr/rpm-org/bfdfix.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/pcr/rpm-org/bfdfix.patch b/pcr/rpm-org/bfdfix.patch
new file mode 100644
index 000000000..c3e7d69a3
--- /dev/null
+++ b/pcr/rpm-org/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) \