From 496f9a6fe369ea03d36b1840bcf304b945090521 Mon Sep 17 00:00:00 2001 From: q66 Date: Thu, 31 Oct 2019 17:21:44 +0100 Subject: [PATCH] mame: readd relevant part of ppc patch We still need 64-bit long double. [ci skip] --- srcpkgs/mame/patches/ppc-fixes.patch | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 srcpkgs/mame/patches/ppc-fixes.patch diff --git a/srcpkgs/mame/patches/ppc-fixes.patch b/srcpkgs/mame/patches/ppc-fixes.patch new file mode 100644 index 0000000000..c65ee1c885 --- /dev/null +++ b/srcpkgs/mame/patches/ppc-fixes.patch @@ -0,0 +1,15 @@ +--- makefile ++++ makefile +@@ -394,6 +394,12 @@ BIGENDIAN := 1 + endif + endif # BIGENDIAN + ++# Work around an issue with long doubles on ppc (#3157) ++ifneq (,$(findstring ppc,$(UNAME))) ++ARCHOPTS_C += -mlong-double-64 ++ARCHOPTS_CXX += -mlong-double-64 ++endif ++ + ifndef PYTHON_EXECUTABLE + PYTHON := python + else