From owner-svn-ports-all@freebsd.org Fri Dec 18 14:50:39 2020 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 CFE014BA875; Fri, 18 Dec 2020 14:50:39 +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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 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 4CyBcb5Z55z4l27; Fri, 18 Dec 2020 14:50:39 +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 A8BB54D4C; Fri, 18 Dec 2020 14:50:39 +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 0BIEodaC092581; Fri, 18 Dec 2020 14:50:39 GMT (envelope-from pkubaj@FreeBSD.org) Received: (from pkubaj@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 0BIEodmf092580; Fri, 18 Dec 2020 14:50:39 GMT (envelope-from pkubaj@FreeBSD.org) Message-Id: <202012181450.0BIEodmf092580@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: pkubaj set sender to pkubaj@FreeBSD.org using -f From: Piotr Kubaj Date: Fri, 18 Dec 2020 14:50:39 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r558377 - in head/devel/py-pyinstaller: . files X-SVN-Group: ports-head X-SVN-Commit-Author: pkubaj X-SVN-Commit-Paths: in head/devel/py-pyinstaller: . files X-SVN-Commit-Revision: 558377 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.34 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: Fri, 18 Dec 2020 14:50:39 -0000 Author: pkubaj Date: Fri Dec 18 14:50:39 2020 New Revision: 558377 URL: https://svnweb.freebsd.org/changeset/ports/558377 Log: devel/py-pyinstaller: fix build on powerpc64 Include sys/cdefs.h to make __BEGIN_DECLS available. Approved by: tier 2 blanket Modified: head/devel/py-pyinstaller/Makefile head/devel/py-pyinstaller/files/patch-bootloader_src_main.c Modified: head/devel/py-pyinstaller/Makefile ============================================================================== --- head/devel/py-pyinstaller/Makefile Fri Dec 18 14:45:43 2020 (r558376) +++ head/devel/py-pyinstaller/Makefile Fri Dec 18 14:50:39 2020 (r558377) @@ -15,9 +15,6 @@ COMMENT= Program to create standalone executables from LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING.txt -BROKEN_FreeBSD_12_powerpc64= fails to compile: /usr/include/machine/ieeefp.h:36: expected '=', ',', ';', 'asm' or '__attribute__' before 'extern' -BROKEN_FreeBSD_13_powerpc64= fails to compile: /usr/include/machine/ieeefp.h:35:1: error: unknown type name '__BEGIN_DECLS' - RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}altgraph>0:math/py-altgraph@${PY_FLAVOR} USES= python Modified: head/devel/py-pyinstaller/files/patch-bootloader_src_main.c ============================================================================== --- head/devel/py-pyinstaller/files/patch-bootloader_src_main.c Fri Dec 18 14:45:43 2020 (r558376) +++ head/devel/py-pyinstaller/files/patch-bootloader_src_main.c Fri Dec 18 14:50:39 2020 (r558377) @@ -1,17 +1,18 @@ ---- bootloader/src/main.c.orig 2018-09-22 05:16:07 UTC +--- bootloader/src/main.c.orig 2019-07-09 19:14:04 UTC +++ bootloader/src/main.c -@@ -16,6 +16,10 @@ +@@ -16,6 +16,11 @@ * main: For OS X and Linux */ +#ifdef __FreeBSD__ ++ #include + #include + #include +#endif #ifdef _WIN32 #include #include -@@ -33,9 +37,6 @@ +@@ -33,9 +38,6 @@ #include "pyi_global.h" #include "pyi_win32_utils.h" @@ -21,7 +22,7 @@ #if defined(_WIN32) #define MS_WINDOWS -@@ -87,19 +88,12 @@ main(int argc, char **argv) +@@ -87,19 +89,12 @@ main(int argc, char **argv) { int res;