diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2014-05-18 09:28:59 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2014-05-18 09:29:30 +0200 |
commit | c68b9e5076094d60e8f767ffcd3bb9c224fc3fe9 (patch) | |
tree | f3d2b986be5a8f0c5039658fc21e420488c07e5d /package/nfs-utils/patches/patch-support_include_exportfs_h | |
parent | 60bc3658b3ef53082c17817690ab0c6bf7f25e26 (diff) |
fix musl compile, patches from AlpineLinux
Diffstat (limited to 'package/nfs-utils/patches/patch-support_include_exportfs_h')
-rw-r--r-- | package/nfs-utils/patches/patch-support_include_exportfs_h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/package/nfs-utils/patches/patch-support_include_exportfs_h b/package/nfs-utils/patches/patch-support_include_exportfs_h new file mode 100644 index 000000000..c58c0c3ec --- /dev/null +++ b/package/nfs-utils/patches/patch-support_include_exportfs_h @@ -0,0 +1,23 @@ +--- nfs-utils-1.3.0.orig/support/include/exportfs.h 2014-03-25 16:12:07.000000000 +0100 ++++ nfs-utils-1.3.0/support/include/exportfs.h 2014-05-17 21:47:07.085632108 +0200 +@@ -156,15 +156,15 @@ int secinfo_addflavor(struct flav_inf + + char * host_ntop(const struct sockaddr *sap, + char *buf, const size_t buflen); +-__attribute_malloc__ ++__attribute__((__malloc__)) + struct addrinfo * host_pton(const char *paddr); +-__attribute_malloc__ ++__attribute__((__malloc__)) + struct addrinfo * host_addrinfo(const char *hostname); +-__attribute_malloc__ ++__attribute__((__malloc__)) + char * host_canonname(const struct sockaddr *sap); +-__attribute_malloc__ ++__attribute__((__malloc__)) + struct addrinfo * host_reliable_addrinfo(const struct sockaddr *sap); +-__attribute_malloc__ ++__attribute__((__malloc__)) + struct addrinfo * host_numeric_addrinfo(const struct sockaddr *sap); + + int rmtab_read(void); |