3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/audio/guitarix/fix-build.patch
2020-06-11 17:08:20 +02:00

11 lines
323 B
Diff

--- 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);
}