nixpkgs-suyu/pkgs/applications/audio/guitarix/fix-build.patch

11 lines
323 B
Diff
Raw Normal View History

2020-06-05 15:08:07 +02:00
--- 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);
}