ports/security/lastpass-cli/patches/patch-process_h

17 lines
351 B
Text

Fix -fno-common build failure. Taken from
https://github.com/lastpass/lastpass-cli/pull/576
Index: process.h
--- process.h.orig
+++ process.h
@@ -4,8 +4,8 @@
#include <stdbool.h>
#include <sys/types.h>
-int ARGC;
-char **ARGV;
+extern int ARGC;
+extern char **ARGV;
void process_set_name(const char *name);
void process_disable_ptrace(void);