libcmis: rebuilt with libxml2 2.12.0

This commit is contained in:
Tim Biermann 2023-11-25 22:26:55 +01:00
parent b6ea00076a
commit db946714a4
Signed by: tb
GPG Key ID: 42F8B4E30B673606
3 changed files with 31 additions and 4 deletions

View File

@ -1,5 +1,6 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF32zTl+t32bPQMtKKlODCuOEcveC3PZTPbwCLXg9kRGn7jCi1Ixa/LRMl6FrrY/8O9aBW0bHR6K6BCc3MgbIHOQs=
SHA256 (Pkgfile) = a5c5b41e834c39262343e860de9907dcb0cad453a172687f76e25bcc64fa7b3c
RWSagIOpLGJF37B/1Xo+Eky8wLm8QZYgXzLEs74dZALNmE0LBA8Cx5QiZESH5WYE9+ayarIbLU8r8X7vUfFNuMqxbbXPtZDvEgA=
SHA256 (Pkgfile) = ab07af9a443b3293d4b295325ff00abe769de8b802e80c31de228b810cd96f57
SHA256 (.footprint) = 77c5d2836111d3b801aa2e5d746ac78e21083ab4165d0d0f4b6b7a48cd8ab731
SHA256 (libcmis-0.6.2.tar.gz) = f89d871f14de3180fa5a122ab1209fc397f3abeea182db936ca1d81970be1ff0
SHA256 (libxml2-2.12.patch) = ac3f846139ce8548256711304d85fa56bb7531a45582883cfcfa560601461588

View File

@ -5,12 +5,15 @@
name=libcmis
version=0.6.2
release=1
source=(https://github.com/tdf/libcmis/releases/download/v${version}/$name-$version.tar.gz)
release=2
source=(https://github.com/tdf/libcmis/releases/download/v${version}/$name-$version.tar.gz
libxml2-2.12.patch)
build() {
cd $name-$version
patch -Np1 -i $SRC/libxml2-2.12.patch
./configure --prefix=/usr \
--disable-werror \
--with-man=no

View File

@ -0,0 +1,23 @@
From 72618e63433c7243e4d9e79a638f19a09402eecc Mon Sep 17 00:00:00 2001
From: Andreas Sturmlechner <asturm@gentoo.org>
Date: Tue, 21 Nov 2023 23:10:07 +0100
Subject: [PATCH] Fix build with libxml2-2.12 (missing include)
See also: https://github.com/tdf/libcmis/issues/51
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
---
inc/libcmis/xml-utils.hxx | 1 +
1 file changed, 1 insertion(+)
diff --git a/inc/libcmis/xml-utils.hxx b/inc/libcmis/xml-utils.hxx
index 929385e1..9bd99aed 100644
--- a/inc/libcmis/xml-utils.hxx
+++ b/inc/libcmis/xml-utils.hxx
@@ -34,6 +34,7 @@
#include <string>
#include <boost/date_time.hpp>
+#include <libxml/parser.h>
#include <libxml/tree.h>
#include <libxml/xpathInternals.h>
#include <libxml/xmlwriter.h>