openbsd-ports/lang/parrot/patches/patch-config_auto_warnings_pm
cwen b52ca57980 parrot: fix the build on powerpc by removing -Werror, mark BROKEN-mips64.
The build was broken due to some libffi defines being undefined on powerpc;
issue that does not cause runtime errors.

mips64 was impacted by the same issue, but later the build fails with a
SIGBUS (thanks to Janne Johansson who tested it there).

OK jca@
2020-05-14 18:26:21 +00:00

20 lines
572 B
Plaintext

$OpenBSD: patch-config_auto_warnings_pm,v 1.1 2020/05/14 18:26:21 cwen Exp $
Drop all -Werror, fix the build on powerpc.
The build breaks due to some libffi defines being undefined,
issue that doesn't cause runtime errors.
Index: config/auto/warnings.pm
--- config/auto/warnings.pm.orig
+++ config/auto/warnings.pm
@@ -169,9 +169,6 @@ sub _init {
-Werror=strict-prototypes
);
- $gcc->{'basic'} = [ @gcc_or_gpp_basic, @gcc_basic ];
- $gpp->{'basic'} = [ @gcc_or_gpp_basic ];
-
my @gcc_or_gpp_cage = qw(
-std=c89
-Wfloat-equal