summaryrefslogtreecommitdiff
path: root/lang/gprolog/files/patch-EnginePl_machine.h
diff options
context:
space:
mode:
authorEugene Grosbein <eugen@FreeBSD.org>2021-07-11 03:57:56 +0700
committerEugene Grosbein <eugen@FreeBSD.org>2021-07-11 05:17:51 +0700
commit941d1da4dcb712aeff5ec81900224a2141e88f02 (patch)
tree07a01d0ae61a4f355f6cb768be686a803857d84d /lang/gprolog/files/patch-EnginePl_machine.h
parentwww/Makefile: unbreak INDEX and bulk -a (diff)
lang/gprolog: update to 1.5.0
Port changes: - the version 1.5.0 now recognizes clang for amd64 so the patch files/patch-EnginePl_machine.h reduced but it is still needed for i386 build; - this version correctly defines NO_MACHINE_REG_FOR_REG_BANK and adds -fcommon for clang, so CFLAGS reduced too; - the patch files/patch-Ma2Asm_x86__64__any.c rebuilt for new code, it is still needed as build fails with an error without the patch: Fatal Error: Segmentation Violation (bad address: 0x100ec814853)
Diffstat (limited to 'lang/gprolog/files/patch-EnginePl_machine.h')
-rw-r--r--lang/gprolog/files/patch-EnginePl_machine.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/lang/gprolog/files/patch-EnginePl_machine.h b/lang/gprolog/files/patch-EnginePl_machine.h
index 69bb186b924b..f060b21b8e5d 100644
--- a/lang/gprolog/files/patch-EnginePl_machine.h
+++ b/lang/gprolog/files/patch-EnginePl_machine.h
@@ -9,12 +9,3 @@
#ifdef NO_USE_EBP
# define M_USED_REGS {"ebx", 0}
-@@ -137,7 +137,7 @@ void M_Check_Magic_Words(void); /* not c
- # define M_USED_REGS {"15", "20", 0}
-
- /* on M_x86_64_darwin Lion r12-r15 do not work (why ?) */
--#elif defined(M_x86_64) && !defined(_MSC_VER) && !defined(M_x86_64_darwin)
-+#elif defined(M_x86_64) && !defined(_MSC_VER) && !defined(M_x86_64_darwin) && !defined(__clang__)
-
- # define M_USED_REGS {"r12", "r13", "r14", "r15", 0}
-