git: fddc379a5486 - main - audio/dexed: Fix install on non-Intel architectures; add comment to patch

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Wed, 13 Apr 2022 19:48:31 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=fddc379a5486c450653f2c1a4c34dd0ed5a7b54a

commit fddc379a5486c450653f2c1a4c34dd0ed5a7b54a
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-04-13 19:47:39 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-04-13 19:47:39 +0000

    audio/dexed: Fix install on non-Intel architectures; add comment to patch
---
 audio/dexed/Makefile                                                    | 2 +-
 .../patch-libs_JUCE_modules_juce__core_native_juce__linux__Files.cpp    | 2 ++
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/audio/dexed/Makefile b/audio/dexed/Makefile
index 0ea8282a75d9..e0c2a5db7ed7 100644
--- a/audio/dexed/Makefile
+++ b/audio/dexed/Makefile
@@ -56,6 +56,6 @@ do-install: # workaround for https://github.com/asb2m10/dexed/issues/342
 
 do-install-VST3-on:
 	${MKDIR} ${STAGEDIR}${PREFIX}/lib/vst
-	${INSTALL_LIB} ${BUILD_WRKSRC}/Source/Dexed_artefacts/Release/VST3/Dexed.vst3/Contents/x86_64-linux/Dexed.so ${STAGEDIR}${PREFIX}/lib/vst
+	${INSTALL_LIB} ${BUILD_WRKSRC}/Source/Dexed_artefacts/Release/VST3/Dexed.vst3/Contents/*/Dexed.so ${STAGEDIR}${PREFIX}/lib/vst
 
 .include <bsd.port.mk>
diff --git a/audio/dexed/files/patch-libs_JUCE_modules_juce__core_native_juce__linux__Files.cpp b/audio/dexed/files/patch-libs_JUCE_modules_juce__core_native_juce__linux__Files.cpp
index e0eb95270cda..2814210653f1 100644
--- a/audio/dexed/files/patch-libs_JUCE_modules_juce__core_native_juce__linux__Files.cpp
+++ b/audio/dexed/files/patch-libs_JUCE_modules_juce__core_native_juce__linux__Files.cpp
@@ -1,3 +1,5 @@
+- otherwise it fails with unknown 'environ' symbol, see https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263265
+
 --- libs/JUCE/modules/juce_core/native/juce_linux_Files.cpp.orig	2022-04-13 18:55:08 UTC
 +++ libs/JUCE/modules/juce_core/native/juce_linux_Files.cpp
 @@ -21,7 +21,7 @@