From 49b9f1be888b79b0f794fa20807d0241c9807fb4 Mon Sep 17 00:00:00 2001 From: miwi Date: Thu, 21 Dec 2006 22:13:36 +0000 Subject: - Fix build wit gcc 4.1 PR: ports/106844 Submitted by: Andrew Turner (maintainer) --- devel/m6811-binutils/files/patch-gas-as.h | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 devel/m6811-binutils/files/patch-gas-as.h (limited to 'devel') diff --git a/devel/m6811-binutils/files/patch-gas-as.h b/devel/m6811-binutils/files/patch-gas-as.h new file mode 100644 index 000000000000..7916a22081ac --- /dev/null +++ b/devel/m6811-binutils/files/patch-gas-as.h @@ -0,0 +1,30 @@ +--- gas/as.h.orig Sun Nov 23 15:14:21 2003 ++++ gas/as.h Mon Dec 18 11:25:54 2006 +@@ -622,9 +622,6 @@ + + #include "expr.h" /* Before targ-*.h */ + +-/* this one starts the chain of target dependant headers */ +-#include "targ-env.h" +- + #ifdef OBJ_MAYBE_ELF + #define IS_ELF (OUTPUT_FLAVOR == bfd_target_elf_flavour) + #else +@@ -639,10 +636,14 @@ + #include "frags.h" + #include "hash.h" + #include "read.h" +-#include "symbols.h" + + #include "tc.h" + #include "obj.h" ++ ++/* this one starts the chain of target dependant headers */ ++#include "targ-env.h" ++ ++#include "symbols.h" + + #ifdef USE_EMULATIONS + #include "emul.h" + + -- cgit