void-packages/srcpkgs/dolphin-emu/patches/soundtouch212.patch
q66 3238b47501 dolphin-emu: add patch for soundtouch 2.1.2 and enable ppc64le
Technically this should also work on aarch64 but I haven't tested
that, so I'm not enabling it. Building for ppc64le as well as any
other little endian architecture requires a generic (architecture
independent) build to be enabled.

Also, add a patch to fix compilation with soundtouch 2.1.2. Also,
fix lint issues, and appropriately bump revision.

[ci skip]
2019-04-10 23:43:59 -03:00

17 lines
555 B
Diff

Description: Fix FTBFS with SoundTouch 2.1.2
Explicitly disable exceptions in SoundTouch headers because Dolphin
is compiled with -fno-exceptions.
Author: James Cowgill <jcowgill@debian.org>
Bug-Debian: https://bugs.debian.org/917671
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- Source/Core/AudioCommon/OpenALStream.h
+++ Source/Core/AudioCommon/OpenALStream.h
@@ -32,6 +32,7 @@
#define BOOL SoundTouch_BOOL
#endif
+#define ST_NO_EXCEPTION_HANDLING
#include <soundtouch/SoundTouch.h>
#include <soundtouch/STTypes.h>