Date: Fri, 18 Dec 2020 14:50:39 +0000 (UTC) From: Piotr Kubaj <pkubaj@FreeBSD.org> 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 Message-ID: <202012181450.0BIEodmf092580@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <sys/cdefs.h> + #include <floatingpoint.h> + #include <ieeefp.h> +#endif #ifdef _WIN32 #include <windows.h> #include <wchar.h> -@@ -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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202012181450.0BIEodmf092580>