From 6ce0849c5671d92fc7ed6f6d22895d7e1e3e4a19 Mon Sep 17 00:00:00 2001 From: Ulrich Müller Date: Sat, 29 Oct 2016 16:46:38 +0200 Subject: Port to musl libc. Bug: 597646 --- patchsets/skey/1.1.5/15_all_musl-libc.patch | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 patchsets/skey/1.1.5/15_all_musl-libc.patch diff --git a/patchsets/skey/1.1.5/15_all_musl-libc.patch b/patchsets/skey/1.1.5/15_all_musl-libc.patch new file mode 100644 index 0000000..d20440c --- /dev/null +++ b/patchsets/skey/1.1.5/15_all_musl-libc.patch @@ -0,0 +1,26 @@ +https://bugs.gentoo.org/597646 +Port to musl libc. + +--- skey-1.1.5-orig/skey.h ++++ skey-1.1.5/skey.h +@@ -67,6 +67,10 @@ + /* Location of random file for bogus challenges */ + #define _SKEY_RAND_FILE_PATH_ "/var/db/host.random" + ++#ifndef __P ++#define __P(x) x ++#endif ++ + /* Prototypes */ + void f __P ((char *)); + int keycrunch __P ((char *, const char *, const char *)); +--- skey-1.1.5-orig/skeyinit.c ++++ skey-1.1.5/skeyinit.c +@@ -36,6 +36,7 @@ + #include + #include + #include ++#include + #ifdef HAVE_CRYPT_H + #include + #endif -- cgit v1.2.3-65-gdbad