From 09f91944ef1bc8f7b4235c538630b58a4a347d0e Mon Sep 17 00:00:00 2001 From: Steve Mynott Date: Mon, 6 Aug 2018 16:04:02 +0100 Subject: apply MoarVM patch abf7d0c2 to fix compile on OpenBSD --- ...g-with-OpenBSD-since-their-ancient-gcc-creat.patch | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 patches/0001-Use-clang-with-OpenBSD-since-their-ancient-gcc-creat.patch (limited to 'patches/0001-Use-clang-with-OpenBSD-since-their-ancient-gcc-creat.patch') diff --git a/patches/0001-Use-clang-with-OpenBSD-since-their-ancient-gcc-creat.patch b/patches/0001-Use-clang-with-OpenBSD-since-their-ancient-gcc-creat.patch new file mode 100644 index 0000000..52d9346 --- /dev/null +++ b/patches/0001-Use-clang-with-OpenBSD-since-their-ancient-gcc-creat.patch @@ -0,0 +1,19 @@ +# From abf7d0c282eae412159fef36ef85f08d333dff6b Mon Sep 17 00:00:00 2001 +# From: Steve Mynott +# Date: Fri, 22 Jun 2018 16:07:08 +0100 +# Subject: [PATCH] Use clang with OpenBSD since their ancient gcc creates a moar +# which can't generate NQP anymore. +# +#See #878 + +--- ../MoarVM/build/setup.pm ++++ ../MoarVM/build/setup.pm +@@ -583,7 +583,7 @@ our %SYSTEMS = ( + linux => [ qw( posix gnu gcc ), { %OS_LINUX } ], + aix => [ qw( posix gnu gcc ), { %OS_AIX } ], + darwin => [ qw( posix gnu clang ), { %OS_DARWIN } ], +- openbsd => [ qw( posix bsd gcc ), { %OS_OPENBSD} ], ++ openbsd => [ qw( posix bsd clang ), { %OS_OPENBSD} ], + netbsd => [ qw( posix bsd gcc ), { %OS_NETBSD } ], + dragonfly => [ qw( posix bsd gcc ), { %OS_DRAGONFLY } ], + freebsd => [ qw( posix bsd), $OS_FREEBSD{cc} , { %OS_FREEBSD } ], -- cgit v1.1