diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /app-text/libebook/files |
reinit the tree, so we can have metadata
Diffstat (limited to 'app-text/libebook/files')
-rw-r--r-- | app-text/libebook/files/libebook-0.1.2-boost-1.59-makefile.patch | 10 | ||||
-rw-r--r-- | app-text/libebook/files/libebook-0.1.2-tests.patch | 27 |
2 files changed, 37 insertions, 0 deletions
diff --git a/app-text/libebook/files/libebook-0.1.2-boost-1.59-makefile.patch b/app-text/libebook/files/libebook-0.1.2-boost-1.59-makefile.patch new file mode 100644 index 000000000000..9869b308c73c --- /dev/null +++ b/app-text/libebook/files/libebook-0.1.2-boost-1.59-makefile.patch @@ -0,0 +1,10 @@ +--- a/src/lib/Makefile.am ++++ b/src/lib/Makefile.am +@@ -64,6 +64,7 @@ + libe_book_@EBOOK_MAJOR_VERSION@_@EBOOK_MINOR_VERSION@_la_SOURCES = \ + EBOOKDocument.cpp + ++libe_book_internal_la_CPPFLAGS = -DBOOST_ERROR_CODE_HEADER_ONLY -DBOOST_SYSTEM_NO_DEPRECATED + libe_book_internal_la_SOURCES = \ + EBOOKBitStream.cpp \ + EBOOKBitStream.h \ diff --git a/app-text/libebook/files/libebook-0.1.2-tests.patch b/app-text/libebook/files/libebook-0.1.2-tests.patch new file mode 100644 index 000000000000..624051a757aa --- /dev/null +++ b/app-text/libebook/files/libebook-0.1.2-tests.patch @@ -0,0 +1,27 @@ +From 263d95ce191421a51d4b2d088297700032a8987b Mon Sep 17 00:00:00 2001 +From: eroen <eroen@occam.eroen.eu> +Date: Mon, 19 Dec 2016 19:53:15 +0100 +Subject: [PATCH] Check for librevenge-stream if tests are enabled + +X-Gentoo-Bug: 603098 +X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=603098 +--- + configure.ac | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/configure.ac b/configure.ac +index 6e00ed5..ecbd14b 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -357,6 +357,8 @@ AS_IF([test "x$with_tools" = "xyes"],[ + PKG_CHECK_MODULES([REVENGE_GENERATORS],[ + librevenge-generators-0.0 + ]) ++]) ++AS_IF([test "x$with_tools" = "xyes" || test "x$enable_tests" = "xyes"],[ + PKG_CHECK_MODULES([REVENGE_STREAM],[ + librevenge-stream-0.0 + ]) +-- +2.11.0 + |