From owner-svn-ports-all@freebsd.org Thu Sep 19 16:25:05 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 945AB127AD7; Thu, 19 Sep 2019 16:25:05 +0000 (UTC) (envelope-from amdmi3@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 46Z2J13SHnz3xCl; Thu, 19 Sep 2019 16:25:05 +0000 (UTC) (envelope-from amdmi3@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 5B2DF181F0; Thu, 19 Sep 2019 16:25:05 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x8JGP5vK077607; Thu, 19 Sep 2019 16:25:05 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x8JGP5u1077606; Thu, 19 Sep 2019 16:25:05 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201909191625.x8JGP5u1077606@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Thu, 19 Sep 2019 16:25:05 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r512358 - in head/games/openspades: . files X-SVN-Group: ports-head X-SVN-Commit-Author: amdmi3 X-SVN-Commit-Paths: in head/games/openspades: . files X-SVN-Commit-Revision: 512358 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: Thu, 19 Sep 2019 16:25:05 -0000 Author: amdmi3 Date: Thu Sep 19 16:25:04 2019 New Revision: 512358 URL: https://svnweb.freebsd.org/changeset/ports/512358 Log: - Fix build for spark64 PR: 240641 Submitted by: pkubaj@FreeBSD.org Added: head/games/openspades/files/ head/games/openspades/files/patch-Sources_AngelScript_source_as__config.h (contents, props changed) Modified: head/games/openspades/Makefile Modified: head/games/openspades/Makefile ============================================================================== --- head/games/openspades/Makefile Thu Sep 19 16:21:50 2019 (r512357) +++ head/games/openspades/Makefile Thu Sep 19 16:25:04 2019 (r512358) @@ -15,7 +15,7 @@ COMMENT= Compatible client of Ace of Spades LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE -ONLY_FOR_ARCHS= amd64 +ONLY_FOR_ARCHS= amd64 powerpc64 ONLY_FOR_ARCHS_REASON= bundles non-portable AngelScript BUILD_DEPENDS= convert:graphics/ImageMagick6 # for building icons @@ -25,11 +25,13 @@ LIB_DEPENDS= libcurl.so:ftp/curl \ USE_GITHUB= yes GH_ACCOUNT= yvt -USES= cmake:insource compiler:c++11-lib desktop-file-utils gl gnome openal +USES= cmake:insource compiler:c++11-lib desktop-file-utils dos2unix \ + gl gnome openal sdl xorg CMAKE_ARGS= -DOPENSPADES_RESOURCES=OFF \ -DOPENSPADES_INSTALL_MAN="man/man6" \ -DOPENSPADES_INSTALL_BINARY="bin" \ -DOPENSPADES_INSTALL_RESOURCES="${DATADIR_REL}" +DOS2UNIX_FILES= Sources/AngelScript/source/as_config.h USE_SDL= sdl2 image2 USE_GL= gl glew INSTALLS_ICONS= yes Added: head/games/openspades/files/patch-Sources_AngelScript_source_as__config.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/openspades/files/patch-Sources_AngelScript_source_as__config.h Thu Sep 19 16:25:04 2019 (r512358) @@ -0,0 +1,11 @@ +--- Sources/AngelScript/source/as_config.h.orig 2019-09-17 11:18:51 UTC ++++ Sources/AngelScript/source/as_config.h +@@ -947,6 +947,8 @@ + #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