Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Oct 2019 20:46:11 +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: r515930 - in head/games/supertuxkart: . files
Message-ID:  <201910282046.x9SKkBmg078007@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Mon Oct 28 20:46:11 2019
New Revision: 515930
URL: https://svnweb.freebsd.org/changeset/ports/515930

Log:
  - Fix build on non-x86
  
  PR:		239141
  Submitted by:	greg@unrelenting.technology

Modified:
  head/games/supertuxkart/Makefile
  head/games/supertuxkart/files/patch-lib_angelscript_source_as__config.h

Modified: head/games/supertuxkart/Makefile
==============================================================================
--- head/games/supertuxkart/Makefile	Mon Oct 28 20:45:29 2019	(r515929)
+++ head/games/supertuxkart/Makefile	Mon Oct 28 20:46:11 2019	(r515930)
@@ -21,11 +21,7 @@ LIB_DEPENDS=	libvorbisfile.so:audio/libvorbis \
 		libfreetype.so:print/freetype2 \
 		libenet.so:net/enet
 
-BROKEN_aarch64=		invokes x86 assembler
-BROKEN_mips=		invokes x86 assembler
-BROKEN_mips64=		invokes x86 assembler
-BROKEN_sparc64=		invokes x86 assembler
-BROKEN_i386=		does not build (error: this directive must appear between .cfi_startproc and .cfi_endproc directives)
+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 \
 		jpeg openal:al pkgconfig sdl tar:xz xorg

Modified: head/games/supertuxkart/files/patch-lib_angelscript_source_as__config.h
==============================================================================
--- head/games/supertuxkart/files/patch-lib_angelscript_source_as__config.h	Mon Oct 28 20:45:29 2019	(r515929)
+++ head/games/supertuxkart/files/patch-lib_angelscript_source_as__config.h	Mon Oct 28 20:46:11 2019	(r515930)
@@ -1,12 +1,11 @@
---- lib/angelscript/source/as_config.h.orig	2019-04-20 16:40:12 UTC
+--- lib/angelscript/source/as_config.h.orig	2019-07-11 00:36:27 UTC
 +++ lib/angelscript/source/as_config.h
-@@ -953,7 +953,9 @@
+@@ -953,7 +953,7 @@
  			#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__)
+-		#elif defined(__LP64__)
++		#elif defined(__x86_64__)
  			#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?201910282046.x9SKkBmg078007>