From b44c55c8f7f2bc089b6552e4785d7fb28e398807 Mon Sep 17 00:00:00 2001 From: Christopher Arndt Date: Fri, 26 Apr 2024 04:54:02 +0200 Subject: [PATCH] fix: add patch for DPF generate-ttl script to fix windows cross-compilation build Signed-off-by: Christopher Arndt --- Makefile | 1 + patches/dpf/fix-generate-ttl.patch | 13 +++++++++++++ 2 files changed, 14 insertions(+) create mode 100644 patches/dpf/fix-generate-ttl.patch diff --git a/Makefile b/Makefile index dd6d822..94192c7 100644 --- a/Makefile +++ b/Makefile @@ -79,6 +79,7 @@ PLUGINS = YKChorus DPF_PATCHES = \ patches/dpf/fix-lv2-version-export.patch \ + patches/dpf/fix-generate-ttl.patch \ PLUGIN_BASE_URI = https://chrisarndt.de/plugins/ diff --git a/patches/dpf/fix-generate-ttl.patch b/patches/dpf/fix-generate-ttl.patch new file mode 100644 index 0000000..cb6c146 --- /dev/null +++ b/patches/dpf/fix-generate-ttl.patch @@ -0,0 +1,13 @@ +diff --git a/utils/generate-ttl.sh b/utils/generate-ttl.sh +index 0ddbb1f1..4fd38151 100755 +--- a/utils/generate-ttl.sh ++++ b/utils/generate-ttl.sh +@@ -17,7 +17,7 @@ fi + PWD="$(dirname "${0}")" + + if [ -f "${PWD}/lv2_ttl_generator.exe" ]; then +- GEN="${PWD}/lv2_ttl_generator.exe" ++ GEN="$(realpath ${PWD}/lv2_ttl_generator.exe)" + EXT=dll + else + GEN="$(realpath ${PWD}/lv2_ttl_generator)"