From owner-svn-ports-all@freebsd.org Sat Aug 24 12:38:56 2019 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id D8F93DF0FA; Sat, 24 Aug 2019 12:38:56 +0000 (UTC) (envelope-from pkubaj@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46FyW45963z3C38; Sat, 24 Aug 2019 12:38:56 +0000 (UTC) (envelope-from pkubaj@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 8EA995309; Sat, 24 Aug 2019 12:38:56 +0000 (UTC) (envelope-from pkubaj@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x7OCcuBv025094; Sat, 24 Aug 2019 12:38:56 GMT (envelope-from pkubaj@FreeBSD.org) Received: (from pkubaj@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x7OCcuT1025093; Sat, 24 Aug 2019 12:38:56 GMT (envelope-from pkubaj@FreeBSD.org) Message-Id: <201908241238.x7OCcuT1025093@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: pkubaj set sender to pkubaj@FreeBSD.org using -f From: Piotr Kubaj Date: Sat, 24 Aug 2019 12:38:56 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r509720 - in head/lang/angelscript: . files X-SVN-Group: ports-head X-SVN-Commit-Author: pkubaj X-SVN-Commit-Paths: in head/lang/angelscript: . files X-SVN-Commit-Revision: 509720 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Aug 2019 12:38:56 -0000 Author: pkubaj Date: Sat Aug 24 12:38:55 2019 New Revision: 509720 URL: https://svnweb.freebsd.org/changeset/ports/509720 Log: lang/angelscript: fix build on powerpc64 Angelscript works on powerpc, but its naming convention is only 32-bit. Define AS_MAX_PORTABILITY when building on powerpc64 to fix build. PR: 239496 Approved by: ndowens@yahoo.com (maintainer timeout), linimon (mentor) Added: head/lang/angelscript/files/ head/lang/angelscript/files/patch-as_config.h (contents, props changed) Modified: head/lang/angelscript/Makefile Modified: head/lang/angelscript/Makefile ============================================================================== --- head/lang/angelscript/Makefile Sat Aug 24 11:36:50 2019 (r509719) +++ head/lang/angelscript/Makefile Sat Aug 24 12:38:55 2019 (r509720) @@ -13,11 +13,12 @@ COMMENT= AngelCode Scripting Library LICENSE= ZLIB BROKEN_aarch64= Does not build: invokes x86 asm -BROKEN_powerpc64= Does not build: invokes x86 asm BROKEN_sparc64= Does not build: invokes x86 asm -USES= alias gmake zip +USES= alias compiler:c11 dos2unix gmake zip USE_LDCONFIG= yes + +DOS2UNIX_FILES= ../../source/as_config.h MAKE_ARGS= CP_SYMLINK="${INSTALL_LIB}" Added: head/lang/angelscript/files/patch-as_config.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/lang/angelscript/files/patch-as_config.h Sat Aug 24 12:38:55 2019 (r509720) @@ -0,0 +1,12 @@ +--- ../../source/as_config.h.orig 2019-07-28 15:58:25.283690000 +0200 ++++ ../../source/as_config.h 2019-07-28 16:08:34.592212000 +0200 +@@ -953,6 +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_BIG_ENDIAN ++ #define AS_MAX_PORTABILITY + #elif defined(__LP64__) + #define AS_X64_GCC + #define HAS_128_BIT_PRIMITIVES