[arch-commits] Commit in libe-book/trunk (PKGBUILD boost159.patch)

Evangelos Foutras foutrelis at archlinux.org
Mon Nov 2 04:46:10 UTC 2015


    Date: Monday, November 2, 2015 @ 05:46:10
  Author: foutrelis
Revision: 249969

Fix build with Boost 1.59

Added:
  libe-book/trunk/boost159.patch
Modified:
  libe-book/trunk/PKGBUILD

----------------+
 PKGBUILD       |   12 ++++++++++--
 boost159.patch |   24 ++++++++++++++++++++++++
 2 files changed, 34 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-11-02 04:41:59 UTC (rev 249968)
+++ PKGBUILD	2015-11-02 04:46:10 UTC (rev 249969)
@@ -11,9 +11,17 @@
 license=('LGPL2.1' 'MPL')
 depends=('librevenge' 'libxml2')
 makedepends=('gperf' 'boost' 'cppunit' 'doxygen')
-source=(https://sourceforge.net/projects/${pkgname//-/}/files//${pkgname}-${pkgver}/${pkgname}-${pkgver}.tar.xz)
-sha1sums=('950ee08e7a41585636aebb7774fdc6f05817a18c')
+source=(https://sourceforge.net/projects/${pkgname//-/}/files//${pkgname}-${pkgver}/${pkgname}-${pkgver}.tar.xz
+        boost159.patch)
+sha1sums=('950ee08e7a41585636aebb7774fdc6f05817a18c'
+          '8b5b88a05db43773aae486c8410c9bb79e0f6d16')
 
+prepare() {
+  cd ${pkgname}-${pkgver}
+  patch -Np1 -i ../boost159.patch
+  autoreconf -vi
+}
+
 build() {
   cd ${pkgname}-${pkgver}
   ./configure --prefix=/usr #--disable-werror

Added: boost159.patch
===================================================================
--- boost159.patch	                        (rev 0)
+++ boost159.patch	2015-11-02 04:46:10 UTC (rev 249969)
@@ -0,0 +1,24 @@
+From b903d0dc91f482b348e5840e5a1df599ebd5e6f9 Mon Sep 17 00:00:00 2001
+From: David Tardon <dtardon at redhat.com>
+Date: Sun, 30 Aug 2015 13:57:14 +0200
+Subject: [PATCH] fix build with boost 1.59
+
+---
+ src/lib/Makefile.am | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/lib/Makefile.am b/src/lib/Makefile.am
+index 9931a22..35d35be 100644
+--- a/src/lib/Makefile.am
++++ b/src/lib/Makefile.am
+@@ -64,6 +64,7 @@ libe_book_ at EBOOK_MAJOR_VERSION@_ at EBOOK_MINOR_VERSION@_la_LDFLAGS = $(version_inf
+ libe_book_ at EBOOK_MAJOR_VERSION@_ at EBOOK_MINOR_VERSION@_la_SOURCES = \
+ 	EBOOKDocument.cpp
+ 
++libe_book_internal_la_CPPFLAGS = -DBOOST_ERROR_CODE_HEADER_ONLY
+ libe_book_internal_la_SOURCES = \
+ 	EBOOKBitStream.cpp \
+ 	EBOOKBitStream.h \
+-- 
+2.6.2
+



More information about the arch-commits mailing list