ardour: fix build on ppc64
This commit is contained in:
parent
383561d98b
commit
647f57e7f2
1 changed files with 22 additions and 0 deletions
22
srcpkgs/ardour/patches/ppc64.patch
Normal file
22
srcpkgs/ardour/patches/ppc64.patch
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
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
|
Loading…
Add table
Add a link
Reference in a new issue