Accepting request 80168 from filesystems

- Must define _GNU_SOURCE to get clone()  system call. (forwarded request 80137 from elvigia)

OBS-URL: https://build.opensuse.org/request/show/80168
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fuse?expand=0&rev=41
This commit is contained in:
Sascha Peilicke 2011-08-31 08:42:54 +00:00 committed by Git OBS Bridge
commit 367d542cdb
3 changed files with 21 additions and 1 deletions

13
fuse-gnu_source.patch Normal file
View File

@ -0,0 +1,13 @@
--- configure.in.orig
+++ configure.in
@@ -5,7 +5,9 @@ AM_INIT_AUTOMAKE
AM_CONFIG_HEADER(include/config.h)
AC_PROG_LIBTOOL
-AC_PROG_CC
+AC_PROG_CC_STDC
+AC_USE_SYSTEM_EXTENSIONS
+AC_SYS_LARGEFILE
AM_PROG_CC_C_O
# compatibility for automake < 1.8

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Aug 29 20:48:16 UTC 2011 - crrodriguez@opensuse.org
- Must define _GNU_SOURCE to get clone() system call.
-------------------------------------------------------------------
Mon Mar 21 16:43:59 UTC 2011 - coolo@novell.com

View File

@ -32,6 +32,7 @@ Patch: fuse-install-fix.diff
Patch2: fuse-pc-remove-libdir-from-Libs.diff
Patch3: fuse-umount-race-fix.patch
Patch4: fuse-fix-cleanup-in-case-of-failed-mount.patch
Patch5: fuse-gnu_source.patch
Url: http://fuse.sourceforge.net
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if 0%{?suse_version} > 1130
@ -228,8 +229,9 @@ Authors:
%endif
%patch3 -p1
%patch4 -p1
%patch5
%build
autoreconf -fiv
export CFLAGS="$RPM_OPT_FLAGS -g -fno-strict-aliasing"
%configure --with-pic \
--with-pkgconfigdir=%{_libdir}/pkgconfig \