void-packages/srcpkgs/ardour/patches/ppc64.patch
2020-06-11 06:14:52 +02:00

22 lines
750 B
Diff

From 2a456c19214ce82c257a222e8de31af6113aa8d7 Mon Sep 17 00:00:00 2001
From: Nils Philippsen <nils@tiptoe.de>
Date: Wed, 3 Jun 2020 10:23:03 +0200
Subject: [PATCH] Add `cycles_t` type definition on ppc64
Signed-off-by: Nils Philippsen <nils@tiptoe.de>
---
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