aboutsummaryrefslogtreecommitdiffstats
path: root/devel/boehm-gc
diff options
context:
space:
mode:
authornobutaka <nobutaka@FreeBSD.org>2005-01-09 20:01:24 +0800
committernobutaka <nobutaka@FreeBSD.org>2005-01-09 20:01:24 +0800
commit032a43b97300d18d1a7a2abd8474422d165af056 (patch)
treef9d4720b9f45796a73998175915e489de9993930 /devel/boehm-gc
parent6f7e09417ba550b429cc25f269ab93d4b8c7c15b (diff)
downloadfreebsd-ports-gnome-032a43b97300d18d1a7a2abd8474422d165af056.tar.gz
freebsd-ports-gnome-032a43b97300d18d1a7a2abd8474422d165af056.tar.zst
freebsd-ports-gnome-032a43b97300d18d1a7a2abd8474422d165af056.zip
Fix compile error on amd64.
Diffstat (limited to 'devel/boehm-gc')
-rw-r--r--devel/boehm-gc/files/patch-include-private-gcconfig.h27
1 files changed, 15 insertions, 12 deletions
diff --git a/devel/boehm-gc/files/patch-include-private-gcconfig.h b/devel/boehm-gc/files/patch-include-private-gcconfig.h
index 128003988d62..57e73a9f867d 100644
--- a/devel/boehm-gc/files/patch-include-private-gcconfig.h
+++ b/devel/boehm-gc/files/patch-include-private-gcconfig.h
@@ -1,5 +1,5 @@
---- include/private/gcconfig.h.orig Wed Dec 29 22:30:21 2004
-+++ include/private/gcconfig.h Wed Dec 29 22:30:39 2004
+--- include/private/gcconfig.h.orig Sat Dec 18 09:20:16 2004
++++ include/private/gcconfig.h Mon Jan 3 19:49:44 2005
@@ -328,6 +328,10 @@
# define X86_64
# define mach_type_known
@@ -11,16 +11,19 @@
# if defined(FREEBSD) && defined(__sparc__)
# define SPARC
# define mach_type_known
-@@ -1942,6 +1946,12 @@
+@@ -1939,6 +1943,15 @@
+ # ifdef __ELF__
+ # define DYNAMIC_LOADING
+ # endif
++# define HEURISTIC2
++ extern char etext[];
++# define SEARCH_FOR_DATA_START
++# endif
++# ifdef FREEBSD
++# define OS_TYPE "FREEBSD"
++# ifdef __ELF__
++# define DYNAMIC_LOADING
++# endif
# define HEURISTIC2
extern char etext[];
# define SEARCH_FOR_DATA_START
-+# endif
-+# ifdef FREEBSD
-+# define OS_TYPE "FREEBSD"
-+# ifdef __ELF__
-+# define DYNAMIC_LOADING
-+# endif
- # endif
- # endif
-