From 56089616806a7237d8fb467a4e6752c49571ec78 Mon Sep 17 00:00:00 2001 From: cwen Date: Wed, 22 Apr 2020 16:53:20 +0000 Subject: [PATCH] fluidsynth: fix the build with clang on powerpc Unlike gcc, clang defines __POWERPC__ and as such wants to include a non-existing header. Bring back gcc's behaviour by deleting the troublesome #ifdef. OK sthen@ --- .../patches/patch-src_utils_fluidsynth_priv_h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 audio/fluidsynth/patches/patch-src_utils_fluidsynth_priv_h diff --git a/audio/fluidsynth/patches/patch-src_utils_fluidsynth_priv_h b/audio/fluidsynth/patches/patch-src_utils_fluidsynth_priv_h new file mode 100644 index 00000000000..e3304518150 --- /dev/null +++ b/audio/fluidsynth/patches/patch-src_utils_fluidsynth_priv_h @@ -0,0 +1,18 @@ +$OpenBSD: patch-src_utils_fluidsynth_priv_h,v 1.1 2020/04/22 16:53:20 cwen Exp $ + +Don't use an header that is not provided + +Index: src/utils/fluidsynth_priv.h +--- src/utils/fluidsynth_priv.h.orig ++++ src/utils/fluidsynth_priv.h +@@ -28,10 +28,6 @@ + #include "config.h" + #endif + +-#if defined(__POWERPC__) && !(defined(__APPLE__) && defined(__MACH__)) +-#include "config_maxmsp43.h" +-#endif +- + #if defined(WIN32) && !defined(MINGW32) + #include "config_win32.h" + #endif