summaryrefslogtreecommitdiffstats
path: root/binutils-2.22.52.0.4-no-config-h-check.patch
diff options
context:
space:
mode:
Diffstat (limited to 'binutils-2.22.52.0.4-no-config-h-check.patch')
-rw-r--r--binutils-2.22.52.0.4-no-config-h-check.patch32
1 files changed, 32 insertions, 0 deletions
diff --git a/binutils-2.22.52.0.4-no-config-h-check.patch b/binutils-2.22.52.0.4-no-config-h-check.patch
new file mode 100644
index 0000000..2fc32e3
--- /dev/null
+++ b/binutils-2.22.52.0.4-no-config-h-check.patch
@@ -0,0 +1,32 @@
+*** ../binutils-2.22.52.0.4.orig/bfd/bfd-in.h 2012-08-02 10:56:34.561769686 +0100
+--- bfd/bfd-in.h 2012-08-02 11:13:27.134797755 +0100
+***************
+*** 25,35 ****
+ #ifndef __BFD_H_SEEN__
+ #define __BFD_H_SEEN__
+
+- /* PR 14072: Ensure that config.h is included first. */
+- #if !defined PACKAGE && !defined PACKAGE_VERSION
+- #error config.h must be included before this header
+- #endif
+-
+ #ifdef __cplusplus
+ extern "C" {
+ #endif
+--- 25,30 ----
+*** ../binutils-2.22.52.0.4.orig/bfd/bfd-in2.h 2012-08-02 10:56:34.349769680 +0100
+--- bfd/bfd-in2.h 2012-08-02 11:13:40.015798113 +0100
+***************
+*** 32,42 ****
+ #ifndef __BFD_H_SEEN__
+ #define __BFD_H_SEEN__
+
+- /* PR 14072: Ensure that config.h is included first. */
+- #if !defined PACKAGE && !defined PACKAGE_VERSION
+- #error config.h must be included before this header
+- #endif
+-
+ #ifdef __cplusplus
+ extern "C" {
+ #endif
+--- 32,37 ----