[arch-commits] Commit in libcmis/trunk (PKGBUILD libcmis-0.5.2-icu-64.2.patch)
Evangelos Foutras
foutrelis at archlinux.org
Fri Sep 13 06:50:10 UTC 2019
Date: Friday, September 13, 2019 @ 06:50:10
Author: foutrelis
Revision: 362400
Fix build with ICU 64
Added:
libcmis/trunk/libcmis-0.5.2-icu-64.2.patch
Modified:
libcmis/trunk/PKGBUILD
------------------------------+
PKGBUILD | 13 +++++++++++--
libcmis-0.5.2-icu-64.2.patch | 17 +++++++++++++++++
2 files changed, 28 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-09-13 06:06:03 UTC (rev 362399)
+++ PKGBUILD 2019-09-13 06:50:10 UTC (rev 362400)
@@ -9,9 +9,18 @@
license=('GPL2' 'LGPL2.1' 'MPL')
depends=('boost-libs' 'curl' 'libxml2')
makedepends=('docbook2x' 'cppunit' 'boost')
-source=("https://github.com/tdf/libcmis/releases/download/v${pkgver}/$pkgname-$pkgver.tar.gz")
-sha256sums=('ed6f681a48abbf3c2324564b17a180d21fa9503230e8708825e1ad80daee4f81')
+source=("https://github.com/tdf/libcmis/releases/download/v${pkgver}/$pkgname-$pkgver.tar.gz"
+ 'libcmis-0.5.2-icu-64.2.patch')
+sha256sums=('ed6f681a48abbf3c2324564b17a180d21fa9503230e8708825e1ad80daee4f81'
+ '51b67a5b7245e5192739362c5034ed7d9a664799f38ff9ccd1832297f93cc03d')
+prepare() {
+ cd "$pkgname-$pkgver"
+
+ # https://github.com/tdf/libcmis/issues/35
+ patch -Np1 -i ../libcmis-0.5.2-icu-64.2.patch
+}
+
build() {
cd "$pkgname-$pkgver"
./configure --prefix=/usr DOCBOOK2MAN='docbook2man' --disable-werror
Added: libcmis-0.5.2-icu-64.2.patch
===================================================================
--- libcmis-0.5.2-icu-64.2.patch (rev 0)
+++ libcmis-0.5.2-icu-64.2.patch 2019-09-13 06:50:10 UTC (rev 362400)
@@ -0,0 +1,17 @@
+--- a/inc/libcmis-c/repository.h 2018-12-27 14:07:55.000000000 +0100
++++ b/inc/libcmis-c/repository.h 2019-04-21 01:29:46.504373226 +0200
+@@ -28,12 +28,12 @@
+ #ifndef _REPOSITORY_H_
+ #define _REPOSITORY_H_
+
++#include <libxml/tree.h>
++
+ #ifdef __cplusplus
+ extern "C" {
+ #endif
+
+-#include <libxml/tree.h>
+-
+ #include "libcmis-c/libcmis-c-api.h"
+ #include "libcmis-c/types.h"
+
More information about the arch-commits
mailing list