diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2017-08-14 14:28:43 +0200 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2017-08-14 15:35:51 +0200 |
commit | 6037364d00c2ba884af59a2145fde1db1cf98dd8 (patch) | |
tree | cf7bc8ea0a4fab5cdfac9a29e3784895a6617158 /sys-block/thin-provisioning-tools/files | |
parent | net-libs/rpc2: Removed old. (diff) | |
download | gentoo-6037364d00c2ba884af59a2145fde1db1cf98dd8.tar.gz gentoo-6037364d00c2ba884af59a2145fde1db1cf98dd8.tar.bz2 gentoo-6037364d00c2ba884af59a2145fde1db1cf98dd8.zip |
sys-block/thin-provisioning-tools: Bump to version 0.7.0
Package-Manager: Portage-2.3.7, Repoman-2.3.3
Diffstat (limited to 'sys-block/thin-provisioning-tools/files')
-rw-r--r-- | sys-block/thin-provisioning-tools/files/thin-provisioning-tools-0.7.0-build-fixes.patch | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/sys-block/thin-provisioning-tools/files/thin-provisioning-tools-0.7.0-build-fixes.patch b/sys-block/thin-provisioning-tools/files/thin-provisioning-tools-0.7.0-build-fixes.patch new file mode 100644 index 000000000000..df0831f1a23e --- /dev/null +++ b/sys-block/thin-provisioning-tools/files/thin-provisioning-tools-0.7.0-build-fixes.patch @@ -0,0 +1,34 @@ +--- thin-provisioning-tools-0.7.0/Makefile.in ++++ thin-provisioning-tools-0.7.0/Makefile.in +@@ -142,9 +142,9 @@ + + TOP_DIR:=@top_srcdir@ + TOP_BUILDDIR:=@top_builddir@ +-CFLAGS+=-g -Wall -O3 -fPIC ++CFLAGS+=-fPIC + CFLAGS+=@LFS_FLAGS@ +-CXXFLAGS+=-g -Wall -fPIC -fno-strict-aliasing -std=c++11 ++CXXFLAGS+=-fPIC -fno-strict-aliasing -std=c++11 + + ifeq ("@DEVTOOLS@", "yes") + CXXFLAGS+=-DDEV_TOOLS +--- thin-provisioning-tools-0.7.0/unit-tests/Makefile.in ++++ thin-provisioning-tools-0.7.0/unit-tests/Makefile.in +@@ -25,7 +25,7 @@ + -Wno-unused-local-typedefs + + GMOCK_LIBS=\ +- -Llib -lpdata -lgmock -lpthread -laio ++ -Llib -lpdata -lgmock -lpthread -laio -lgtest + + GMOCK_DEPS=\ + $(wildcard $(GMOCK_DIR)/googlemock/include/*.h) \ +@@ -83,7 +83,7 @@ + sed 's,\([^ :]*\)\.o[ :]*,\1.o \1.gmo $* : Makefile ,g' < $*.$$$$ > $*.d; \ + $(RM) $*.$$$$ + +-unit-tests/unit_tests: $(TEST_OBJECTS) lib/libgmock.a lib/libpdata.a ++unit-tests/unit_tests: $(TEST_OBJECTS) lib/libpdata.a + @echo " [LD] $<" + $(V)g++ $(CXXFLAGS) $(LDFLAGS) -o $@ $(TEST_OBJECTS) $(LIBS) $(GMOCK_LIBS) $(LIBEXPAT) + |