devel/juce: fix build on powerpc*
/wrkdirs/usr/ports/devel/juce/work/JUCE-7.0.6/modules/juce_dsp/containers/juce_AudioBlock_test.cpp:32:34: error: no template named 'SIMDRegister' String& operator<< (String& str, SIMDRegister<SampleType>) { return str; }
This commit is contained in:
parent
dce394d95e
commit
6d70e99cc0
2 changed files with 15 additions and 1 deletions
|
@ -24,7 +24,8 @@ LIB_DEPENDS= libasound.so:audio/alsa-lib \
|
|||
libsysinfo.so:devel/libsysinfo
|
||||
|
||||
USES= cmake compiler:c++11-lang dos2unix gl gnome localbase:ldflags pkgconfig xorg
|
||||
DOS2UNIX_FILES= modules/juce_core/juce_core.h
|
||||
DOS2UNIX_FILES= modules/juce_core/juce_core.h \
|
||||
modules/juce_dsp/containers/juce_AudioBlock_test.cpp
|
||||
USE_GNOME= atk cairo gdkpixbuf2 glib20 gtk30 pango
|
||||
USE_GL= gl
|
||||
USE_XORG= x11 xcomposite xcursor xext xinerama xorgproto xrandr
|
||||
|
|
|
@ -0,0 +1,13 @@
|
|||
--- modules/juce_dsp/containers/juce_AudioBlock_test.cpp.orig 2023-08-23 16:47:58 UTC
|
||||
+++ modules/juce_dsp/containers/juce_AudioBlock_test.cpp
|
||||
@@ -28,8 +28,10 @@ namespace juce
|
||||
namespace dsp
|
||||
{
|
||||
|
||||
+#if JUCE_USE_SIMD
|
||||
template <typename SampleType>
|
||||
String& operator<< (String& str, SIMDRegister<SampleType>) { return str; }
|
||||
+#endif
|
||||
|
||||
template <typename SampleType>
|
||||
class AudioBlockUnitTests : public UnitTest
|
Loading…
Reference in a new issue