diff -Nru fuse-2.8.6/debian/changelog fuse-2.8.6/debian/changelog --- fuse-2.8.6/debian/changelog 2011-11-25 00:07:25.000000000 +0100 +++ fuse-2.8.6/debian/changelog 2012-02-27 15:13:45.000000000 +0100 @@ -1,3 +1,11 @@ +fuse (2.8.6-2ubuntu2) precise; urgency=low + + * debian/patches/06-clone_newns.patch: + Define _GNU_SOURCE in util/fusermount.c to make CLONE_NEWNS available + (picked from upstream git; fixes FTBFS; lp: #935514) + + -- Michael Bienia Mon, 27 Feb 2012 15:13:25 +0100 + fuse (2.8.6-2ubuntu1) precise; urgency=low * Resynchronise with Debian (LP: #884907). Remaining changes: diff -Nru fuse-2.8.6/debian/patches/06-clone_newns.patch fuse-2.8.6/debian/patches/06-clone_newns.patch --- fuse-2.8.6/debian/patches/06-clone_newns.patch 1970-01-01 01:00:00.000000000 +0100 +++ fuse-2.8.6/debian/patches/06-clone_newns.patch 2012-02-27 15:09:20.000000000 +0100 @@ -0,0 +1,16 @@ +Description: + CLONE_NEWNS is only defined with _GNU_SOURCE (fixes FTBFS; lp: #935514) +Origin: upstream, http://fuse.git.sourceforge.net/git/gitweb.cgi?p=fuse/fuse;a=commitdiff;h=ae43094c13ecf49e0b738bbda633cf193c7b3670;hp=42d5c66b0bd1b465ddd586a8c339b56799694f3f + +Index: fuse-2.8.6/util/fusermount.c +=================================================================== +--- fuse-2.8.6.orig/util/fusermount.c 2012-02-27 14:57:29.000000000 +0100 ++++ fuse-2.8.6/util/fusermount.c 2012-02-27 15:03:20.000000000 +0100 +@@ -7,6 +7,7 @@ + */ + /* This program does the mounting and unmounting of FUSE filesystems */ + ++#define _GNU_SOURCE /* for clone */ + #include + + #include "mount_util.h" diff -Nru fuse-2.8.6/debian/patches/series fuse-2.8.6/debian/patches/series --- fuse-2.8.6/debian/patches/series 2011-11-24 19:16:57.000000000 +0100 +++ fuse-2.8.6/debian/patches/series 2012-02-27 15:13:21.000000000 +0100 @@ -3,3 +3,4 @@ 03-examples.patch 04-cve-2011-0542.patch 05-umount-nofollow.patch +06-clone_newns.patch