app-text/libabw: Fix build with boost-1.59, bug 575524
authorAndreas Sturmlechner <andreas.sturmlechner@gmail.com>
Wed, 24 Feb 2016 11:28:00 +0000 (12:28 +0100)
committerAndreas Sturmlechner <andreas.sturmlechner@gmail.com>
Wed, 24 Feb 2016 11:28:00 +0000 (12:28 +0100)
Package-Manager: portage-2.2.27

app-text/libabw/files/libabw-0.1.1-boost-1.59.patch [new file with mode: 0644]
app-text/libabw/libabw-0.1.1.ebuild

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 (file)
index 0000000..f2e745a
--- /dev/null
@@ -0,0 +1,22 @@
+From: David Tardon <dtardon@redhat.com>
+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)
index d51442b28cfcacf26eb4ef9be62c21a439255227..e11dd9b388d0b501a8b7a0cc76d0219b0cdc302c 100644 (file)
@@ -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() {