void-packages/srcpkgs/MonkeysAudio/patches/ppc64.patch

40 lines
1.0 KiB
Diff

From 9b8a97da0946d01f60798a5636062141a61a92ac Mon Sep 17 00:00:00 2001
From: q66 <daniel@octaforge.org>
Date: Fri, 10 Apr 2020 20:26:23 +0200
Subject: [PATCH] add powerpc64 in 64-bit platforms to unbreak build
---
Shared/All.h | 2 +-
Source/Shared/All.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git Shared/All.h Shared/All.h
index cc9a988..615e3d1 100644
--- a/Shared/All.h
+++ b/Shared/All.h
@@ -123,7 +123,7 @@ Global compiler settings (useful for porting)
#endif
#endif
-#if __x86_64__ || __aarch64__
+#if __x86_64__ || __aarch64__ || __powerpc64__
#ifndef PLATFORM_x64
#define PLATFORM_x64
#endif
diff --git Source/Shared/All.h Source/Shared/All.h
index cc9a988..615e3d1 100644
--- a/Source/Shared/All.h
+++ b/Source/Shared/All.h
@@ -123,7 +123,7 @@ Global compiler settings (useful for porting)
#endif
#endif
-#if __x86_64__ || __aarch64__
+#if __x86_64__ || __aarch64__ || __powerpc64__
#ifndef PLATFORM_x64
#define PLATFORM_x64
#endif
--
2.25.1