Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Sep 2019 20:44:48 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r511988 - in head/games/supertuxkart: . files
Message-ID:  <201909132044.x8DKimjI042880@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Fri Sep 13 20:44:48 2019
New Revision: 511988
URL: https://svnweb.freebsd.org/changeset/ports/511988

Log:
  - Fix build on powerpc64
  
  PR:		240554
  Submitted by:	pkubaj@FreeBSD.org

Added:
  head/games/supertuxkart/files/patch-lib_angelscript_source_as__config.h   (contents, props changed)
Modified:
  head/games/supertuxkart/Makefile

Modified: head/games/supertuxkart/Makefile
==============================================================================
--- head/games/supertuxkart/Makefile	Fri Sep 13 20:25:25 2019	(r511987)
+++ head/games/supertuxkart/Makefile	Fri Sep 13 20:44:48 2019	(r511988)
@@ -27,7 +27,6 @@ BROKEN_armv7=		invokes x86 assembler
 BROKEN_mips=		invokes x86 assembler
 BROKEN_mips64=		invokes x86 assembler
 BROKEN_sparc64=		invokes x86 assembler
-BROKEN_powerpc64=	invokes x86 assembler
 BROKEN_i386=		does not build (error: this directive must appear between .cfi_startproc and .cfi_endproc directives)
 
 USES=		alias cmake compiler:c++11-lib gettext gl \

Added: head/games/supertuxkart/files/patch-lib_angelscript_source_as__config.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/supertuxkart/files/patch-lib_angelscript_source_as__config.h	Fri Sep 13 20:44:48 2019	(r511988)
@@ -0,0 +1,12 @@
+--- lib/angelscript/source/as_config.h.orig	2019-04-20 16:40:12 UTC
++++ lib/angelscript/source/as_config.h
+@@ -953,7 +953,9 @@
+ 			#define COMPLEX_RETURN_MASK (asOBJ_APP_CLASS_DESTRUCTOR | asOBJ_APP_CLASS_COPY_CONSTRUCTOR | asOBJ_APP_ARRAY)
+ 			#define THISCALL_PASS_OBJECT_POINTER_ON_THE_STACK
+ 			#define AS_X86
++		#elif defined(__powerpc64__)
++			#define AS_MAX_PORTABILITY
+ 		#elif defined(__LP64__)
+ 			#define AS_X64_GCC
+ 			#define HAS_128_BIT_PRIMITIVES
+ 			#define SPLIT_OBJS_BY_MEMBER_TYPES



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201909132044.x8DKimjI042880>