diff options
Diffstat (limited to 'devel/boehm-gc')
-rw-r--r-- | devel/boehm-gc/Makefile | 4 | ||||
-rw-r--r-- | devel/boehm-gc/files/patch-include-private-gcconfig.h | 32 |
2 files changed, 31 insertions, 5 deletions
diff --git a/devel/boehm-gc/Makefile b/devel/boehm-gc/Makefile index ba5baf455f1d..07837e1f43af 100644 --- a/devel/boehm-gc/Makefile +++ b/devel/boehm-gc/Makefile @@ -48,8 +48,8 @@ PKGNAMESUFFIX:= ${PKGNAMESUFFIX}+fulldebug MAN3= gc.3 -.if ${ARCH} != "i386" && ${ARCH} != "alpha" && ${ARCH} != "amd64" && ${ARCH} != "sparc64" -BROKEN= "Does not compile on !i386 and !alpha and !amd64 and !sparc64" +.if ${ARCH} != "i386" && ${ARCH} != "alpha" && ${ARCH} != "amd64" && ${ARCH} != "sparc64" && ${ARCH} != "powerpc" +BROKEN= "Does not compile on !i386 and !alpha and !amd64 and !sparc64 and !powerpc" .endif post-patch: diff --git a/devel/boehm-gc/files/patch-include-private-gcconfig.h b/devel/boehm-gc/files/patch-include-private-gcconfig.h index 57e73a9f867d..79ff64927b76 100644 --- a/devel/boehm-gc/files/patch-include-private-gcconfig.h +++ b/devel/boehm-gc/files/patch-include-private-gcconfig.h @@ -1,6 +1,6 @@ --- 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 @@ ++++ include/private/gcconfig.h Sun Mar 20 01:37:33 2005 +@@ -328,10 +328,18 @@ # define X86_64 # define mach_type_known # endif @@ -11,7 +11,33 @@ # if defined(FREEBSD) && defined(__sparc__) # define SPARC # define mach_type_known -@@ -1939,6 +1943,15 @@ +-#endif ++# endif ++# if defined(FREEBSD) && defined(__powerpc__) ++# define POWERPC ++# define mach_type_known ++# endif + # if defined(bsdi) && (defined(i386) || defined(__i386__)) + # define I386 + # define BSDI +@@ -811,6 +819,16 @@ + # define DATASTART GC_data_start + # define DYNAMIC_LOADING + # endif ++# ifdef FREEBSD ++# define ALIGNMENT 4 ++# define OS_TYPE "FREEBSD" ++# ifdef __ELF__ ++# define DYNAMIC_LOADING ++# endif ++# define HEURISTIC2 ++ extern char etext[]; ++# define SEARCH_FOR_DATA_START ++# endif + # ifdef NOSYS + # define ALIGNMENT 4 + # define OS_TYPE "NOSYS" +@@ -1939,6 +1957,15 @@ # ifdef __ELF__ # define DYNAMIC_LOADING # endif |