thin-provisioning-tools: update to 0.7.5.

Closes #9168.
This commit is contained in:
maxice8 2017-11-14 02:14:25 -02:00 committed by Enno Boland
parent edc831d130
commit 2b04a16783
2 changed files with 2 additions and 37 deletions

View file

@ -1,35 +0,0 @@
From 8d75be81120b9cf172c95d0153c5f845ed804234 Mon Sep 17 00:00:00 2001
From: Adam Sampson <ats-github@offog.org>
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

View file

@ -1,6 +1,6 @@
# Template file for 'thin-provisioning-tools'
pkgname=thin-provisioning-tools
version=0.7.4
version=0.7.5
revision=1
build_style=gnu-configure
hostmakedepends="automake libtool pkg-config"
@ -10,7 +10,7 @@ maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-3"
homepage="https://github.com/jthornber/thin-provisioning-tools"
distfiles="${homepage}/archive/v${version}.tar.gz"
checksum=f65f84e653e182480dacad77c611e13cd6de1c354e02fb4b96db4d2f328c3904
checksum=bcb8b8a8be6fdbce54bd22aca00b6c8dc869e3b0cb125e0ac9a582d002e87f65
pre_configure() {
autoreconf -fi