aboutsummaryrefslogtreecommitdiffstats
path: root/main/nfs-utils/0011-exportfs-only-do-glibc-specific-hackery-on-glibc.patch
diff options
context:
space:
mode:
authorJan Tatje <jan@jnt.io>2019-06-03 23:23:39 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2019-06-05 07:03:48 +0000
commit165dd080660bea8a4cefb71b68fc1110732f8006 (patch)
tree051209776f65138217a3df93a4a06e00baa1682a /main/nfs-utils/0011-exportfs-only-do-glibc-specific-hackery-on-glibc.patch
parente61e0b162dd61f62139d1526ca958f5afe600f0b (diff)
downloadaports-165dd080660bea8a4cefb71b68fc1110732f8006.tar.bz2
aports-165dd080660bea8a4cefb71b68fc1110732f8006.tar.xz
main/nfs-utils: upgrade to 2.3.4
Diffstat (limited to 'main/nfs-utils/0011-exportfs-only-do-glibc-specific-hackery-on-glibc.patch')
-rw-r--r--main/nfs-utils/0011-exportfs-only-do-glibc-specific-hackery-on-glibc.patch36
1 files changed, 0 insertions, 36 deletions
diff --git a/main/nfs-utils/0011-exportfs-only-do-glibc-specific-hackery-on-glibc.patch b/main/nfs-utils/0011-exportfs-only-do-glibc-specific-hackery-on-glibc.patch
deleted file mode 100644
index 2d4f613114..0000000000
--- a/main/nfs-utils/0011-exportfs-only-do-glibc-specific-hackery-on-glibc.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-From 0b4df13026eb371b68abc4b8cec4ca8d90c3b0a3 Mon Sep 17 00:00:00 2001
-From: Natanael Copa <ncopa@alpinelinux.org>
-Date: Mon, 2 Jun 2014 14:42:10 +0200
-Subject: [PATCH] exportfs: only do glibc specific hackery on glibc
-
-We should not depend on the libc do free(3) on ai_canonname as that is
-completely up to implementation and known o break things on uclibc and
-musl libc.
-
-Signed-off-by: Natanael Copa <ncopa@alpinelinux.org>
----
- support/export/hostname.c | 3 +++
- 1 file changed, 3 insertions(+)
-
-diff --git a/support/export/hostname.c b/support/export/hostname.c
-index d9153e1..30584b4 100644
---- a/support/export/hostname.c
-+++ b/support/export/hostname.c
-@@ -384,6 +384,7 @@
-
- ai = host_pton(buf);
-
-+#if !definded(__UCLIBC__) && defined(__GLIBC__)
- /*
- * getaddrinfo(AI_NUMERICHOST) never fills in ai_canonname
- */
-@@ -394,7 +395,9 @@
- ai = NULL;
- }
- }
-+#endif
-
- return ai;
- }
-+
- #endif /* !HAVE_GETNAMEINFO */