From c68b9e5076094d60e8f767ffcd3bb9c224fc3fe9 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sun, 18 May 2014 09:28:59 +0200 Subject: fix musl compile, patches from AlpineLinux --- .../patches/patch-support_include_conffile_h | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 package/nfs-utils/patches/patch-support_include_conffile_h (limited to 'package/nfs-utils/patches/patch-support_include_conffile_h') diff --git a/package/nfs-utils/patches/patch-support_include_conffile_h b/package/nfs-utils/patches/patch-support_include_conffile_h new file mode 100644 index 000000000..308a40a4f --- /dev/null +++ b/package/nfs-utils/patches/patch-support_include_conffile_h @@ -0,0 +1,20 @@ +--- nfs-utils-1.3.0.orig/support/include/conffile.h 2014-03-25 16:12:07.000000000 +0100 ++++ nfs-utils-1.3.0/support/include/conffile.h 2014-05-17 21:52:16.997590916 +0200 +@@ -33,7 +33,7 @@ + #ifndef _CONFFILE_H_ + #define _CONFFILE_H_ + +-#include ++#include "queue.h" + #include + + struct conf_list_node { +@@ -49,7 +49,7 @@ struct conf_list { + extern char *conf_path; + + extern int conf_begin(void); +-extern int conf_decode_base64(u_int8_t *, u_int32_t *, u_char *); ++extern int conf_decode_base64(uint8_t *, uint32_t *, unsigned char *); + extern int conf_end(int, int); + extern void conf_free_list(struct conf_list *); + extern struct sockaddr *conf_get_address(char *, char *); -- cgit v1.2.3