From c4f55927e7071f6ce106afe5258052c7b21bd04c Mon Sep 17 00:00:00 2001 From: jasper Date: Mon, 17 Dec 2012 15:04:58 +0000 Subject: [PATCH] - don't define ENABLE_EXECUTE_STACK, just like mips64's gcc from base. this doesn't unbreak gfortran on mips64* yet, but at least it's getting a bit further now --- .../patches/patch-gcc_config_mips_openbsd_h | 21 ++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/lang/gfortran/patches/patch-gcc_config_mips_openbsd_h b/lang/gfortran/patches/patch-gcc_config_mips_openbsd_h index d4d2aa22585..984fda41db1 100644 --- a/lang/gfortran/patches/patch-gcc_config_mips_openbsd_h +++ b/lang/gfortran/patches/patch-gcc_config_mips_openbsd_h @@ -1,7 +1,7 @@ -$OpenBSD: patch-gcc_config_mips_openbsd_h,v 1.1.1.1 2010/10/10 17:39:06 steven Exp $ ---- gcc/config/mips/openbsd.h.orig Sat Aug 6 15:26:35 2005 -+++ gcc/config/mips/openbsd.h Mon Jun 14 19:23:04 2010 -@@ -58,16 +58,19 @@ Boston, MA 02110-1301, USA. */ +$OpenBSD: patch-gcc_config_mips_openbsd_h,v 1.2 2012/12/17 15:04:58 jasper Exp $ +--- gcc/config/mips/openbsd.h.orig Sat Aug 6 07:26:35 2005 ++++ gcc/config/mips/openbsd.h Mon Dec 17 00:48:37 2012 +@@ -58,10 +58,10 @@ Boston, MA 02110-1301, USA. */ /* This must agree with . */ #undef SIZE_TYPE @@ -14,12 +14,19 @@ $OpenBSD: patch-gcc_config_mips_openbsd_h,v 1.1.1.1 2010/10/10 17:39:06 steven E #undef WCHAR_TYPE #define WCHAR_TYPE "int" - +@@ -69,6 +69,9 @@ Boston, MA 02110-1301, USA. */ #undef WCHAR_TYPE_SIZE #define WCHAR_TYPE_SIZE 32 -+ + +#undef WINT_TYPE +#define WINT_TYPE "int" - ++ /* Controlling the compilation driver. */ + /* LINK_SPEC appropriate for OpenBSD: support for GCC options +@@ -96,3 +99,5 @@ Boston, MA 02110-1301, USA. */ + /* Switch into a generic section. */ + #undef TARGET_ASM_NAMED_SECTION + #define TARGET_ASM_NAMED_SECTION default_elf_asm_named_section ++ ++#undef ENABLE_EXECUTE_STACK