pkgsrc/security/lastpass-cli/patches/patch-http.c
jperkin 413a98c540 Import lastpass-cli version 1.2.1 as security/lastpass-cli.
LastPass is a password management service that stores encrypted passwords
in private accounts.  LastPass is standard with a web interface, but also
includes plugins for many web browsers and apps for many smartphones.

This package provides the lpass command, a command line interface to the
LastPass.com API.
2017-08-16 15:18:24 +00:00

17 lines
355 B
C

$NetBSD: patch-http.c,v 1.1 2017/08/16 15:18:24 jperkin Exp $
Support sig_t on SunOS.
--- http.c.orig 2017-06-28 12:50:49.000000000 +0000
+++ http.c
@@ -52,6 +52,10 @@ struct mem_chunk {
size_t len;
};
+#ifdef __sun
+typedef void (*sig_t)();
+#endif
+
#ifndef TEST_BUILD
static bool interrupted = false;
static sig_t previous_handler = SIG_DFL;