]> git.pld-linux.org Git - packages/libfuse.git/commitdiff
- updated to 2.8.6
authorJakub Bogusz <qboosh@pld-linux.org>
Sat, 17 Sep 2011 07:40:05 +0000 (07:40 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- force ld.bfd as gold is missing symbol base versioning
- added clone patch (define _GNU_SOURCE to enable CLONE_NEWNS in sched.h)

Changed files:
    libfuse-clone.patch -> 1.1
    libfuse.spec -> 1.114

libfuse-clone.patch [new file with mode: 0644]
libfuse.spec

diff --git a/libfuse-clone.patch b/libfuse-clone.patch
new file mode 100644 (file)
index 0000000..a4e39ec
--- /dev/null
@@ -0,0 +1,12 @@
+--- fuse-2.8.6/util/fusermount.c.orig  2011-09-13 09:23:14.000000000 +0200
++++ fuse-2.8.6/util/fusermount.c       2011-09-17 09:14:59.257527441 +0200
+@@ -7,6 +7,9 @@
+ */
+ /* This program does the mounting and unmounting of FUSE filesystems */
++/* for CLONE_NEWNS in sched.h */
++#define _GNU_SOURCE
++
+ #include <config.h>
+ #include "mount_util.h"
index ffeb6faf30b21d888d506fc8fd15fa97faa1f433..9d84e2f78e3f37f567f30b754bd0d03de4f17879 100644 (file)
@@ -9,16 +9,17 @@
 Summary:       Filesystem in Userspace
 Summary(pl.UTF-8):     System plików w przestrzeni użytkownika
 Name:          libfuse
-Version:       2.8.5
+Version:       2.8.6
 Release:       1
 Epoch:         0
 License:       GPL v2
 Group:         Applications/System
-Source0:       http://dl.sourceforge.net/fuse/fuse-%{version}.tar.gz
-# Source0-md5: 8aa2fd689de00b73963620483084ae3b
+Source0:       http://downloads.sourceforge.net/fuse/fuse-%{version}.tar.gz
+# Source0-md5: eaa32c8cef56a981656a786f258a002a
 Source1:       fuse.conf
 Patch0:                kernel-misc-fuse-Makefile.am.patch
 Patch1:                %{name}-link.patch
+Patch2:                %{name}-clone.patch
 URL:           http://fuse.sourceforge.net/
 BuildRequires: autoconf
 BuildRequires: automake
@@ -77,10 +78,16 @@ Statyczna biblioteka libfuse.
 %setup -q -n fuse-%{version}
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
 
 sed -i '/FUSERMOUNT_PROG/s,fusermount,%{_bindir}/fusermount,' lib/mount.c
 
+# gold is missing base versioning
+install -d ld-dir
+[ ! -x /usr/bin/ld.bfd ] || ln -sf /usr/bin/ld.bfd ld-dir/ld
+
 %build
+PATH=$(pwd)/ld-dir:$PATH
 %{__libtoolize}
 %{__aclocal}
 %{__autoheader}
This page took 0.036702 seconds and 4 git commands to generate.