binutils/binutils-bfd_h.patch
Richard Biener 41e240dafb - Revert upstream change to error on bfd.h usage without first
including some config.h

- Revert upstream change to error on bfd.h usage without first
  including some config.h

- Revert upstream change to error on bfd.h usage without first
  including some config.h

- Revert upstream change to error on bfd.h usage without first
  including some config.h

- Revert upstream change to error on bfd.h usage without first
  including some config.h

- Revert upstream change to error on bfd.h usage without first
  including some config.h

- Revert upstream change to error on bfd.h usage without first
  including some config.h

- Revert upstream change to error on bfd.h usage without first
  including some config.h

- Revert upstream change to error on bfd.h usage without first
  including some config.h

- Revert upstream change to error on bfd.h usage without first
  including some config.h

OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=120
2012-11-30 13:00:21 +00:00

17 lines
462 B
Diff

Remove the #error to avoid issues with legacy not dealing with this
--- bfd/bfd-in.h.orig 2012-11-30 13:44:35.715871571 +0100
+++ bfd/bfd-in.h 2012-11-30 13:44:43.428871298 +0100
@@ -25,11 +25,6 @@
#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