From owner-svn-ports-all@freebsd.org Tue Jan 23 12:16:37 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4BA62ED0038; Tue, 23 Jan 2018 12:16:37 +0000 (UTC) (envelope-from danfe@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1D64878875; Tue, 23 Jan 2018 12:16:37 +0000 (UTC) (envelope-from danfe@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 4B892669E; Tue, 23 Jan 2018 12:16:36 +0000 (UTC) (envelope-from danfe@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w0NCGaLa032482; Tue, 23 Jan 2018 12:16:36 GMT (envelope-from danfe@FreeBSD.org) Received: (from danfe@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w0NCGaLv032481; Tue, 23 Jan 2018 12:16:36 GMT (envelope-from danfe@FreeBSD.org) Message-Id: <201801231216.w0NCGaLv032481@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: danfe set sender to danfe@FreeBSD.org using -f From: Alexey Dokuchaev Date: Tue, 23 Jan 2018 12:16:36 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r459746 - head/devel/py-pyinstaller X-SVN-Group: ports-head X-SVN-Commit-Author: danfe X-SVN-Commit-Paths: head/devel/py-pyinstaller X-SVN-Commit-Revision: 459746 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.25 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: Tue, 23 Jan 2018 12:16:37 -0000 Author: danfe Date: Tue Jan 23 12:16:35 2018 New Revision: 459746 URL: https://svnweb.freebsd.org/changeset/ports/459746 Log: Tentatively unbreak on some 64-bit architectures: powerpc64, sparc64, and aarch64. The patch basically extends existing ``... || defined()'' chain of checks; ideally, this whole STB_PTR64-related code should be rewritten in architecture name agnostic way. Modified: head/devel/py-pyinstaller/Makefile Modified: head/devel/py-pyinstaller/Makefile ============================================================================== --- head/devel/py-pyinstaller/Makefile Tue Jan 23 11:33:32 2018 (r459745) +++ head/devel/py-pyinstaller/Makefile Tue Jan 23 12:16:35 2018 (r459746) @@ -14,10 +14,7 @@ COMMENT= Program to create standalone executables from LICENSE= GPLv2 -BROKEN_aarch64= Does not compile: error: stb__testsize2_uinta declared as an array with a negative size BROKEN_mips64= Does not compile: cc1: error: unrecognized command line option "-m64 -BROKEN_powerpc64= Does not compile: error: size of array stb__testsize2_uinta is negative -BROKEN_sparc64= Does not compile: error: size of array stb__testsize2_uinta is negative OPTIONS_DEFINE= DOCS @@ -36,6 +33,8 @@ post-patch: ${WRKSRC}/PyInstaller/depend/utils.py @${REINPLACE_CMD} -e '/libpython/s,\.so\.1\.0,.so.1,' \ ${WRKSRC}/PyInstaller/bindepend.py + @${REINPLACE_CMD} -e '/defined(__x86_64__)/s,$$, || defined(__aarch64__) || defined(__powerpc64__) || defined(__sparc64__),' \ + ${WRKSRC}/bootloader/common/stb.h pre-build: cd ${WRKSRC}/bootloader && ${PYTHON_CMD} waf configure build install