commit:     cffaca9d5e2f7b60e2e7c9a767f958202ff2d159
Author:     Andreas Sturmlechner <andreas.sturmlechner <AT> gmail <DOT> com>
AuthorDate: Wed Feb 24 11:28:00 2016 +0000
Commit:     Andreas Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Wed Feb 24 11:28:00 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cffaca9d

app-text/libabw: Fix build with boost-1.59, bug 575524

Package-Manager: portage-2.2.27

 .../libabw/files/libabw-0.1.1-boost-1.59.patch     | 22 ++++++++++++++++++++++
 app-text/libabw/libabw-0.1.1.ebuild                |  1 +
 2 files changed, 23 insertions(+)

diff --git a/app-text/libabw/files/libabw-0.1.1-boost-1.59.patch 
b/app-text/libabw/files/libabw-0.1.1-boost-1.59.patch
new file mode 100644
index 0000000..f2e745a
--- /dev/null
+++ b/app-text/libabw/files/libabw-0.1.1-boost-1.59.patch
@@ -0,0 +1,22 @@
+From: David Tardon <[email protected]>
+Date: Sun, 30 Aug 2015 06:05:31 +0000 (+0200)
+Subject: fix build with boost 1.59
+X-Git-Url: 
https://gerrit.libreoffice.org/gitweb?p=libabw.git;a=commitdiff_plain;h=ee2d0729315888d1847587ad556470d2fdc883a7;hp=7ea0b5530cf321cd80231b84421e4c107d1cc479
+
+fix build with boost 1.59
+
+Change-Id: I5645629526a8d9d896e4faeb2c7b9ea88540fd23
+---
+
+diff --git a/src/lib/Makefile.am b/src/lib/Makefile.am
+index 5766f39..d12d8e2 100644
+--- a/src/lib/Makefile.am
++++ b/src/lib/Makefile.am
+@@ -26,6 +26,7 @@ generated_files = \
+       $(top_builddir)/src/lib/tokens.h \
+       $(top_builddir)/src/lib/tokenhash.h
+ 
++libabw_@ABW_MAJOR_VERSION@_@ABW_MINOR_VERSION@_la_CPPFLAGS = 
-DBOOST_ERROR_CODE_HEADER_ONLY -DBOOST_SYSTEM_NO_DEPRECATED
+ libabw_@ABW_MAJOR_VERSION@_@ABW_MINOR_VERSION@_la_LIBADD  = $(REVENGE_LIBS) 
$(LIBXML_LIBS) $(ZLIB_LIBS) @LIBABW_WIN32_RESOURCE@
+ libabw_@ABW_MAJOR_VERSION@_@ABW_MINOR_VERSION@_la_DEPENDENCIES = 
@LIBABW_WIN32_RESOURCE@
+ libabw_@ABW_MAJOR_VERSION@_@ABW_MINOR_VERSION@_la_LDFLAGS = $(version_info) 
-export-dynamic $(no_undefined)

diff --git a/app-text/libabw/libabw-0.1.1.ebuild 
b/app-text/libabw/libabw-0.1.1.ebuild
index d51442b..e11dd9b 100644
--- a/app-text/libabw/libabw-0.1.1.ebuild
+++ b/app-text/libabw/libabw-0.1.1.ebuild
@@ -31,6 +31,7 @@ PATCHES=(
        # from git master
        "${FILESDIR}/${PN}-0.1.1-dereference-before-null-check.patch"
        "${FILESDIR}/${PN}-0.1.1-do-not-let-AbiDocument_parse-throw.patch"
+       "${FILESDIR}/${PN}-0.1.1-boost-1.59.patch"
 )
 
 src_configure() {

Reply via email to