From f549fd36a1deb8c4b5d77dda42b6d733a353c890 Mon Sep 17 00:00:00 2001 From: Alessio Sergi Date: Thu, 19 Oct 2017 18:34:42 +0200 Subject: [PATCH] thin-provisioning-tools: update to 0.7.4 --- ...0001-fix-build-with-testing-disabled.patch | 35 +++++++++++++++++++ srcpkgs/thin-provisioning-tools/template | 4 +-- 2 files changed, 37 insertions(+), 2 deletions(-) create mode 100644 srcpkgs/thin-provisioning-tools/patches/0001-fix-build-with-testing-disabled.patch diff --git a/srcpkgs/thin-provisioning-tools/patches/0001-fix-build-with-testing-disabled.patch b/srcpkgs/thin-provisioning-tools/patches/0001-fix-build-with-testing-disabled.patch new file mode 100644 index 0000000000..eef7f28357 --- /dev/null +++ b/srcpkgs/thin-provisioning-tools/patches/0001-fix-build-with-testing-disabled.patch @@ -0,0 +1,35 @@ +From 8d75be81120b9cf172c95d0153c5f845ed804234 Mon Sep 17 00:00:00 2001 +From: Adam Sampson +Date: Mon, 16 Oct 2017 13:07:36 +0100 +Subject: [functional-tests] fix build with testing disabled (#88) + +The rule for lib/libft.so is only enabled with --enable-testing, +so the default target shouldn't depend unconditionally on it. +With the default configure options, the build failed with: +make: *** No rule to make target 'lib/libft.so', needed by 'all'. Stop. +--- + Makefile.in | 7 ++++++- + 1 file changed, 6 insertions(+), 1 deletion(-) + +diff --git Makefile.in.orig Makefile.in +index e745739..02b75dd 100644 +--- Makefile.in.orig ++++ Makefile.in +@@ -21,8 +21,13 @@ V=@ + PROGRAMS=\ + bin/pdata_tools + ++ifeq ("@TESTING@", "yes") ++TESTLIBS=\ ++ lib/libft.so ++endif ++ + .PHONY: all +-all: $(PROGRAMS) lib/libft.so ++all: $(PROGRAMS) $(TESTLIBS) + + SOURCE=\ + base/output_file_requirements.cc \ +-- +cgit v1.1-22-g1649 + diff --git a/srcpkgs/thin-provisioning-tools/template b/srcpkgs/thin-provisioning-tools/template index ef9e64317c..0099ca13ad 100644 --- a/srcpkgs/thin-provisioning-tools/template +++ b/srcpkgs/thin-provisioning-tools/template @@ -1,6 +1,6 @@ # Template file for 'thin-provisioning-tools' pkgname=thin-provisioning-tools -version=0.7.1 +version=0.7.4 revision=1 build_style=gnu-configure hostmakedepends="automake libtool pkg-config" @@ -10,7 +10,7 @@ maintainer="Juan RP " license="GPL-3" homepage="https://github.com/jthornber/thin-provisioning-tools" distfiles="${homepage}/archive/v${version}.tar.gz" -checksum=da45e387bb7ad5b1b8727dc3e013a1136a18fe7a59bea19074a945ff6d73b925 +checksum=f65f84e653e182480dacad77c611e13cd6de1c354e02fb4b96db4d2f328c3904 pre_configure() { autoreconf -fi