about summary refs log tree commit diff
path: root/pkgs/applications/audio/guitarix/fix-build.patch
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/audio/guitarix/fix-build.patch')
-rw-r--r--pkgs/applications/audio/guitarix/fix-build.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/pkgs/applications/audio/guitarix/fix-build.patch b/pkgs/applications/audio/guitarix/fix-build.patch
new file mode 100644
index 000000000000..4a0e42677765
--- /dev/null
+++ b/pkgs/applications/audio/guitarix/fix-build.patch
@@ -0,0 +1,10 @@
+--- a/src/LV2/xputty/xfilepicker.cpp
++++ b/src/LV2/xputty/xfilepicker.cpp
+@@ -191,6 +191,6 @@
+     filepicker->selected_file = NULL;
+     filepicker->path = NULL;
+     filepicker->filter = NULL;
+-    asprintf(&filepicker->path, path);
++    asprintf(&filepicker->path, "%s", path);
+     assert(filepicker->path != NULL);
+ }