[glibc] 01/01: hurd-i386: fix build of support/support_enter_mount_namespace.c
This is an automated email from the git hooks/post-receive script.
sthibault pushed a commit to branch glibc-2.26
in repository glibc.
commit fa0196561a73413abab03221de3ba7edf9b63e44
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date: Wed Jan 3 00:10:19 2018 +0000
hurd-i386: fix build of support/support_enter_mount_namespace.c
patches/hurd-i386/unsubmitted-mount_namespace.diff
---
debian/changelog | 7 +++++++
.../patches/hurd-i386/unsubmitted-mount_namespace.diff | 16 ++++++++++++++++
debian/patches/series | 1 +
3 files changed, 24 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 7c0755a..f53a475 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+glibc (2.26-0experimental4) UNRELEASED; urgency=medium
+
+ * patches/hurd-i386/unsubmitted-mount_namespace.diff: New patch to fix build
+ of support/support_enter_mount_namespace.c on hurd-i386.
+
+ -- Samuel Thibault <sthibault@debian.org> Wed, 03 Jan 2018 01:09:08 +0100
+
glibc (2.26-0experimental3) experimental; urgency=medium
[ Aurelien Jarno ]
diff --git a/debian/patches/hurd-i386/unsubmitted-mount_namespace.diff b/debian/patches/hurd-i386/unsubmitted-mount_namespace.diff
new file mode 100644
index 0000000..6f0a0f5
--- /dev/null
+++ b/debian/patches/hurd-i386/unsubmitted-mount_namespace.diff
@@ -0,0 +1,16 @@
+---
+ support/support_enter_mount_namespace.c | 2 ++
+ 1 file changed, 2 insertions(+)
+
+--- a/support/support_enter_mount_namespace.c
++++ b/support/support_enter_mount_namespace.c
+@@ -20,7 +20,9 @@
+
+ #include <sched.h>
+ #include <stdio.h>
++#ifdef CLONE_NEWNS
+ #include <sys/mount.h>
++#endif /* CLONE_NEWNS */
+
+ bool
+ support_enter_mount_namespace (void)
diff --git a/debian/patches/series b/debian/patches/series
index b218628..2e9429a 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -167,6 +167,7 @@ hurd-i386/git-revoke-linknamespace.diff
hurd-i386/git-seekdir-linknamespace.diff
hurd-i386/git-ifaddrs-linknamespace.diff
hurd-i386/git-NO_HIDDEN.diff
+hurd-i386/unsubmitted-mount_namespace.diff
i386/local-biarch.diff
i386/unsubmitted-quiet-ldconfig.diff
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-glibc/glibc.git
Reply to: