summaryrefslogtreecommitdiff
path: root/skip/lsp-plugins/null.patch
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2023-02-02 14:10:02 +0000
committerdavidovski <david@davidovski.xyz>2023-02-02 14:10:02 +0000
commitf29d569cd33a73da5ad675f43a34ad53c5cc9bc6 (patch)
tree76fe6267f8307e7630fc6f53ff99a9767ad40de0 /skip/lsp-plugins/null.patch
parent05d004dfe0c9a9d898fac8a4a0292ca2a74ca391 (diff)
Work
Diffstat (limited to 'skip/lsp-plugins/null.patch')
-rw-r--r--skip/lsp-plugins/null.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/skip/lsp-plugins/null.patch b/skip/lsp-plugins/null.patch
new file mode 100644
index 0000000..6521e1f
--- /dev/null
+++ b/skip/lsp-plugins/null.patch
@@ -0,0 +1,13 @@
+diff --git a/modules/lsp-plugin-fw/include/lsp-plug.in/plug-fw/wrap/common/libpath.h b/modules/lsp-plugin-fw/include/lsp-plug.in/plug-fw/wrap/common/libpath.h
+index 9571a2e..2c484df 100644
+--- a/modules/lsp-plugin-fw/include/lsp-plug.in/plug-fw/wrap/common/libpath.h
++++ b/modules/lsp-plugin-fw/include/lsp-plug.in/plug-fw/wrap/common/libpath.h
+@@ -241,7 +241,7 @@ namespace lsp
+ // Open file for reading
+ FILE *fd = fopen("/proc/self/maps", "r");
+ if (fd == NULL)
+- return NULL;
++ return false;
+
+ char *line = NULL;
+ ssize_t len = 0;