diff options
author | 2016-10-29 16:46:38 +0200 | |
---|---|---|
committer | 2016-10-29 16:46:38 +0200 | |
commit | 6ce0849c5671d92fc7ed6f6d22895d7e1e3e4a19 (patch) | |
tree | 08c06c23aefb8ac1805ad79fc517b750e16923b8 | |
parent | Initial patchset for motif-2.3.5. (diff) | |
download | ulm-6ce0849c5671d92fc7ed6f6d22895d7e1e3e4a19.tar.gz ulm-6ce0849c5671d92fc7ed6f6d22895d7e1e3e4a19.tar.bz2 ulm-6ce0849c5671d92fc7ed6f6d22895d7e1e3e4a19.zip |
Port to musl libc.skey-1.1.5-patches-6
Bug: 597646
-rw-r--r-- | patchsets/skey/1.1.5/15_all_musl-libc.patch | 26 |
1 files changed, 26 insertions, 0 deletions
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 <syslog.h> + #include <time.h> + #include <unistd.h> ++#include <paths.h> + #ifdef HAVE_CRYPT_H + #include <crypt.h> + #endif |