From 24480efffc7d1f333f6bee1923a3a9adfda4b27b Mon Sep 17 00:00:00 2001 From: Tuomas Tynkkynen Date: Thu, 19 Nov 2015 23:40:55 +0200 Subject: xfsprogs: Extend patch to make xfs_mdrestore and xfs_quota work Previously these tools were failing to start with: xfs_mdrestore: error while loading shared libraries: libxfs.so.0: \ cannot open shared object file: No such file or directory xfs_quota: error while loading shared libraries: libxcmd.so.0: \ cannot open shared object file: No such file or directory Extend the 4.2.0-sharedlibs.patch to make those programs work as well. --- .../filesystems/xfsprogs/4.2.0-sharedlibs.patch | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'pkgs/tools/filesystems/xfsprogs') diff --git a/pkgs/tools/filesystems/xfsprogs/4.2.0-sharedlibs.patch b/pkgs/tools/filesystems/xfsprogs/4.2.0-sharedlibs.patch index 86eb6f81869..c74b75b7e43 100644 --- a/pkgs/tools/filesystems/xfsprogs/4.2.0-sharedlibs.patch +++ b/pkgs/tools/filesystems/xfsprogs/4.2.0-sharedlibs.patch @@ -78,3 +78,23 @@ ifeq ($(HAVE_BUILDDEFS), yes) +--- xfsprogs-4.2.0/quota/Makefile ++++ xfsprogs-4.2.0/quota/Makefile +@@ -16,7 +16,6 @@ LSRCFILES = $(shell echo $(PCFILES) | sed -e "s/$(PKG_PLATFORM).c//g") + + LLDLIBS = $(LIBXCMD) + LTDEPENDENCIES = $(LIBXCMD) +-LLDFLAGS = -static + + ifeq ($(ENABLE_READLINE),yes) + LLDLIBS += $(LIBREADLINE) $(LIBTERMCAP) +--- xfsprogs-4.2.0/mdrestore/Makefile ++++ xfsprogs-4.2.0/mdrestore/Makefile +@@ -10,7 +10,6 @@ CFILES = xfs_mdrestore.c + + LLDLIBS = $(LIBXFS) $(LIBRT) $(LIBPTHREAD) $(LIBUUID) + LTDEPENDENCIES = $(LIBXFS) +-LLDFLAGS = -static + + default: depend $(LTCOMMAND) + -- cgit 1.4.1