1
0
mirror of https://github.com/termux/termux-packages synced 2024-06-20 23:17:08 +00:00
termux-packages/packages/lastpass-cli/process.c.patch
Yaksh Bariya 3165cc82ad Install external completions for fish in $PREFIX/share/fish/vendor_comletions.d
Currently we are installing package specific completions for fisg shell
in `$PREFIX/share/fish/completions` which is incorrect. This also fixes
completions from fish ahell conflicting with other packages'
completions.
2022-01-26 14:47:03 +00:00

12 lines
370 B
Diff

--- ./process.c.orig 2022-01-26 19:56:31.190775659 +0530
+++ ./process.c 2022-01-26 19:56:57.010775649 +0530
@@ -75,6 +75,8 @@
__attribute__((unused)) int w) {}
#endif
+int ARGC;
+char** ARGV;
#if defined(__linux__) || defined(__CYGWIN__) || (defined(__NetBSD__) && !defined(KERN_PROC_PATHNAME))
static int pid_to_cmd(pid_t pid, char *cmd, size_t cmd_size)