openbsd-ports/security/lastpass-cli/patches/patch-process_c

17 lines
327 B
Plaintext

Fix -fno-common build failure. Taken from
https://github.com/lastpass/lastpass-cli/pull/576
Index: process.c
--- process.c.orig
+++ process.c
@@ -127,6 +127,9 @@ out:
#error "Please provide a pid_to_cmd for your platform"
#endif
+int ARGC;
+char **ARGV;
+
void process_set_name(const char *name)
{
size_t argslen = 0;