Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Jan 2018 12:16:36 +0000 (UTC)
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r459746 - head/devel/py-pyinstaller
Message-ID:  <201801231216.w0NCGaLv032481@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



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