freebsd-ports/security/signify/files/patch-readpassphrase.c
Kurt Jaeger a6d0bf0d28 New port: security/signify
'signify' from OpenBSD as of July 15 2014, with the necessary plumbing
cobbled together from the OpenBSD CVS to make it compile under Linux.

It can be used to verify the LibreSSL distfile from the OpenBSD archive.

Since the CVS itself is not signed, the author provides no guarantees.

WWW: http://www.fefe.de/signify/
2014-07-15 17:48:40 +00:00

13 lines
308 B
C

--- readpassphrase.c-orig 2014-07-15 19:27:23.000000000 +0200
+++ readpassphrase.c 2014-07-15 19:28:20.000000000 +0200
@@ -32,6 +32,10 @@
#include <unistd.h>
#include <readpassphrase.h>
+#ifndef _NSIG
+#define _NSIG NSIG
+#endif
+
static volatile sig_atomic_t signo[_NSIG];
static void handler(int);