[arch-commits] Commit in thin-provisioning-tools/trunk (2 files)
Christian Hesse
eworm at archlinux.org
Mon Oct 16 13:30:59 UTC 2017
Date: Monday, October 16, 2017 @ 13:30:58
Author: eworm
Revision: 308058
upgpkg: thin-provisioning-tools 0.7.4-1
new upstream release
Added:
thin-provisioning-tools/trunk/0001-fix-build-with-testing-disabled.patch
Modified:
thin-provisioning-tools/trunk/PKGBUILD
--------------------------------------------+
0001-fix-build-with-testing-disabled.patch | 35 +++++++++++++++++++++++++++
PKGBUILD | 15 ++++++++---
2 files changed, 46 insertions(+), 4 deletions(-)
Added: 0001-fix-build-with-testing-disabled.patch
===================================================================
--- 0001-fix-build-with-testing-disabled.patch (rev 0)
+++ 0001-fix-build-with-testing-disabled.patch 2017-10-16 13:30:58 UTC (rev 308058)
@@ -0,0 +1,35 @@
+From 8d75be81120b9cf172c95d0153c5f845ed804234 Mon Sep 17 00:00:00 2001
+From: Adam Sampson <ats-github at 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 a/Makefile.in b/Makefile.in
+index e745739..02b75dd 100644
+--- a/Makefile.in
++++ b/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
+
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-10-16 12:48:38 UTC (rev 308057)
+++ PKGBUILD 2017-10-16 13:30:58 UTC (rev 308058)
@@ -3,8 +3,8 @@
# Contributor: Jason Hall <cakersq at gmail.com>
pkgname=thin-provisioning-tools
-pkgver=0.7.3
-pkgrel=2
+pkgver=0.7.4
+pkgrel=1
pkgdesc='Suite of tools for manipulating the metadata of the dm-thin device-mapper target'
arch=('i686' 'x86_64')
url="https://github.com/jthornber/thin-provisioning-tools"
@@ -11,9 +11,16 @@
license=('GPL3')
depends=('expat' 'gcc-libs' 'libaio')
makedepends=('boost')
-source=(${pkgname}-${pkgver}.tar.gz::https://github.com/jthornber/${pkgname}/archive/v${pkgver}.tar.gz)
-sha256sums=('bb30c432afcbd6105c694c8e323d490d2fa54deeb55df82161303094ef85039b')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/jthornber/${pkgname}/archive/v${pkgver}.tar.gz"
+ '0001-fix-build-with-testing-disabled.patch')
+sha256sums=('f65f84e653e182480dacad77c611e13cd6de1c354e02fb4b96db4d2f328c3904'
+ '8f59d9076ed23d593f8671792804cbfeb8bdae5c996200e1269f27fa49a6b873')
+prepare() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ patch -Np1 < "${srcdir}"/0001-fix-build-with-testing-disabled.patch
+}
+
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
autoconf
More information about the arch-commits
mailing list