aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2006-12-22 06:13:36 +0800
committermiwi <miwi@FreeBSD.org>2006-12-22 06:13:36 +0800
commit49b9f1be888b79b0f794fa20807d0241c9807fb4 (patch)
tree1287f7ccaa6c47674ada1a4c6e603f4d8e529327 /devel
parente2d16f247a34de295d500c816de58288102237dd (diff)
downloadfreebsd-ports-gnome-49b9f1be888b79b0f794fa20807d0241c9807fb4.tar.gz
freebsd-ports-gnome-49b9f1be888b79b0f794fa20807d0241c9807fb4.tar.zst
freebsd-ports-gnome-49b9f1be888b79b0f794fa20807d0241c9807fb4.zip
- Fix build wit gcc 4.1
PR: ports/106844 Submitted by: Andrew Turner <andrew+ports@fubar.geek.nz> (maintainer)
Diffstat (limited to 'devel')
-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"
+
+