aboutsummaryrefslogtreecommitdiff
path: root/devel/m6811-binutils
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2006-12-21 22:13:36 +0000
committerMartin Wilke <miwi@FreeBSD.org>2006-12-21 22:13:36 +0000
commit2fe8a7d4cb0126ba169459ae0d40b4d6fbf1bd84 (patch)
tree1cbd1406eb86f17397a88418c43549fbd1f8118e /devel/m6811-binutils
parent0cb2fb26f9aeefe42dfb85a30ab6a1b9a9891afa (diff)
downloadports-2fe8a7d4cb0126ba169459ae0d40b4d6fbf1bd84.tar.gz
ports-2fe8a7d4cb0126ba169459ae0d40b4d6fbf1bd84.zip
- Fix build wit gcc 4.1
PR: ports/106844 Submitted by: Andrew Turner <andrew+ports@fubar.geek.nz> (maintainer)
Notes
Notes: svn path=/head/; revision=180408
Diffstat (limited to 'devel/m6811-binutils')
-rw-r--r--devel/m6811-binutils/files/patch-gas-as.h30
1 files changed, 30 insertions, 0 deletions
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"
+
+