about summary refs log tree commit diff
path: root/nixpkgs/pkgs/applications/audio/guitarix/fix-build.patch
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/applications/audio/guitarix/fix-build.patch')
-rw-r--r--nixpkgs/pkgs/applications/audio/guitarix/fix-build.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/applications/audio/guitarix/fix-build.patch b/nixpkgs/pkgs/applications/audio/guitarix/fix-build.patch
new file mode 100644
index 000000000000..4a0e42677765
--- /dev/null
+++ b/nixpkgs/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);
+ }