wok-4.x view fuse/stuff/fuse-2.8.5-clone-_GNU_SOURCE.patch @ rev 12477

Up openssl 1.1.1n (bump packages curl, git, wget, python), up cherokee 1.2.104 and bdeps (automake, openldap, cyrus-sasl)
author Stanislas Leduc <shann@slitaz.org>
date Sun Apr 02 14:34:44 2023 +0000 (18 months ago)
parents
children
line source
1 From ae43094c13ecf49e0b738bbda633cf193c7b3670 Mon Sep 17 00:00:00 2001
2 From: Miklos Szeredi <mszeredi@suse.cz>
3 Date: Thu, 17 Nov 2011 12:36:38 +0100
4 Subject: [PATCH] Fix the following compile error
6 fusermount.c: In function 'clone_newns':
7 fusermount.c:315:2: warning: implicit declaration of function 'clone' [-Wimplicit-function-declaration]
8 fusermount.c:315:44: error: 'CLONE_NEWNS' undeclared (first use in this function)
9 fusermount.c:315:44: note: each undeclared identifier is reported only once for each function it appears in
10 fusermount.c:317:1: warning: control reaches end of non-void function [-Wreturn-type]
11 ---
12 util/fusermount.c | 1 +
13 1 files changed, 1 insertions(+), 0 deletions(-)
15 diff --git a/util/fusermount.c b/util/fusermount.c
16 index b90c520..b2e87d9 100644
17 --- a/util/fusermount.c
18 +++ b/util/fusermount.c
19 @@ -7,6 +7,7 @@
20 */
21 /* This program does the mounting and unmounting of FUSE filesystems */
23 +#define _GNU_SOURCE /* for clone */
24 #include <config.h>
26 #include "mount_util.h"
27 --
28 1.7.4.1