fuse/fusermount-compile-as-pie.patch
Miklos Szeredi b0fa420aad Accepting request 114939 from home:puzel:branches:filesystems
- update to 2.9.0 
  - Add "zero copy" support for kernel 2.6.35 or newer
  - Make maximum background requests tunable on kernel 2.6.32 or
    newer
  - Require --no-canonicalize in (u)mount (util-linux version 2.18
    or newer) to fix security problems with fusermount
  - Use dynamically sized hash tables in high level library
  - Memory use of filesystem daemon can shrink more easily
  - Add "auto_unmount" option
  - Add "remember" option
  - Add man pages for fusermount, mount.fuse and ulockmgr_server
  - API changes:
     - Introduce "store" and "retrieve" for accessing kernel
       buffers on kernel 2.6.36 or newer
     - Introduce abstract buffer for zero copy operations
     - Allow path calculation to be omitted on certain operations
     - Allow batching forget requests
     - Add "flock" method
     - Add support for ioctl on directories
     - Add delete notification
- drop fuse-pc-remove-libdir-from-Libs.diff (upstream)

OBS-URL: https://build.opensuse.org/request/show/114939
OBS-URL: https://build.opensuse.org/package/show/filesystems/fuse?expand=0&rev=34
2012-04-23 15:02:46 +00:00

14 lines
527 B
Diff

Index: fuse-2.9.0/util/Makefile.am
===================================================================
--- fuse-2.9.0.orig/util/Makefile.am
+++ fuse-2.9.0/util/Makefile.am
@@ -10,6 +10,8 @@ noinst_PROGRAMS = mount.fuse
# copying it over.
fusermount_SOURCES = fusermount.c mount_util.c
fusermount_CPPFLAGS = -I$(top_srcdir)/lib
+fusermount_CFLAGS = -fPIE $(AM_CFLAGS)
+fusermount_LDFLAGS = -pie $(AM_LDFLAGS)
BUILT_SOURCES = mount_util.c
mount_util.c: $(top_srcdir)/lib/mount_util.c
@cp $(top_srcdir)/lib/mount_util.c .