aboutsummaryrefslogtreecommitdiffstats
path: root/meta-filesystems/recipes-utils/xfsprogs/files/link_needed_libs.patch
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2016-11-25 02:40:41 -0800
committerMartin Jansa <Martin.Jansa@gmail.com>2016-12-02 09:23:43 +0100
commit86fed80d80bc33f0a3cdbf719c00ee5f05ed4d19 (patch)
tree76dda1f23e10e2877c53b2c101cb0b0cee333b5a /meta-filesystems/recipes-utils/xfsprogs/files/link_needed_libs.patch
parent2f6e45baba961629bfe023599144be6cfcd45728 (diff)
downloadmeta-openembedded-contrib-86fed80d80bc33f0a3cdbf719c00ee5f05ed4d19.tar.gz
meta-openembedded-contrib-86fed80d80bc33f0a3cdbf719c00ee5f05ed4d19.tar.bz2
meta-openembedded-contrib-86fed80d80bc33f0a3cdbf719c00ee5f05ed4d19.zip
xfsprogs: Upgrade 3.2.3 -> 4.8.0
Change-Id: I0015da261d540f99bfdebba703fef9403eebff7b Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-filesystems/recipes-utils/xfsprogs/files/link_needed_libs.patch')
-rw-r--r--meta-filesystems/recipes-utils/xfsprogs/files/link_needed_libs.patch55
1 files changed, 55 insertions, 0 deletions
diff --git a/meta-filesystems/recipes-utils/xfsprogs/files/link_needed_libs.patch b/meta-filesystems/recipes-utils/xfsprogs/files/link_needed_libs.patch
new file mode 100644
index 0000000000..18b95c1c3f
--- /dev/null
+++ b/meta-filesystems/recipes-utils/xfsprogs/files/link_needed_libs.patch
@@ -0,0 +1,55 @@
+Index: xfsprogs-4.8.0/libxcmd/Makefile
+===================================================================
+--- xfsprogs-4.8.0.orig/libxcmd/Makefile
++++ xfsprogs-4.8.0/libxcmd/Makefile
+@@ -30,10 +30,21 @@ LCFLAGS += -DENABLE_EDITLINE
+ LTLIBS += $(LIBEDITLINE) $(LIBTERMCAP)
+ endif
+
++ifeq ($(ENABLE_BLKID),yes)
++LCFLAGS += -DENABLE_BLKID
++LTLIBS += $(LIBBLKID)
++endif
++
++LTLIBS += $(LIBXFS)
++
+ default: ltdepend $(LTLIBRARY)
+
+ include $(BUILDRULES)
+
+-install install-dev: default
++install: default
++ $(INSTALL_LTLIB)
++
++install-dev: default
++ $(INSTALL_LTLIB_DEV)
+
+ -include .ltdep
+Index: xfsprogs-4.8.0/libxfs/Makefile
+===================================================================
+--- xfsprogs-4.8.0.orig/libxfs/Makefile
++++ xfsprogs-4.8.0/libxfs/Makefile
+@@ -137,6 +137,7 @@ include $(BUILDRULES)
+
+ install: default
+ $(INSTALL) -m 755 -d $(PKG_INC_DIR)
++ $(INSTALL_LTLIB)
+
+ install-headers: $(addsuffix -hdrs, $(PKGHFILES))
+
+Index: xfsprogs-4.8.0/libxlog/Makefile
+===================================================================
+--- xfsprogs-4.8.0.orig/libxlog/Makefile
++++ xfsprogs-4.8.0/libxlog/Makefile
+@@ -19,6 +19,10 @@ default: ltdepend $(LTLIBRARY)
+
+ include $(BUILDRULES)
+
+-install install-dev: default
++install: default
++ $(INSTALL_LTLIB)
++
++install-dev: default
++ $(INSTALL_LTLIB_DEV)
+
+ -include .ltdep