diff --git a/srcpkgs/ardour/patches/ppc64.patch b/srcpkgs/ardour/patches/ppc64.patch new file mode 100644 index 00000000000..f6344acd953 --- /dev/null +++ b/srcpkgs/ardour/patches/ppc64.patch @@ -0,0 +1,22 @@ +From 2a456c19214ce82c257a222e8de31af6113aa8d7 Mon Sep 17 00:00:00 2001 +From: Nils Philippsen +Date: Wed, 3 Jun 2020 10:23:03 +0200 +Subject: [PATCH] Add `cycles_t` type definition on ppc64 + +Signed-off-by: Nils Philippsen +--- + libs/ardour/ardour/cycles.h | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/libs/ardour/ardour/cycles.h b/libs/ardour/ardour/cycles.h +index 646dd9d67a..ee0f926534 100644 +--- libs/ardour/ardour/cycles.h ++++ libs/ardour/ardour/cycles.h +@@ -74,6 +74,7 @@ static inline cycles_t get_cycles (void) + + #elif defined(__powerpc64__) + ++typedef uint64_t cycles_t; + static inline cycles_t get_cycles(void) + { + #warning You are compiling libardour on a platform for which ardour/cycles.h needs work