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

Package-Manager: portage-2.2.27
This commit is contained in:
Andreas Sturmlechner
2016-02-24 12:28:00 +01:00
parent 287d369fcc
commit cffaca9d5e
2 changed files with 23 additions and 0 deletions
@@ -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)
+1
View 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() {