* [PR PATCH] libcmis: fix build with gcc9
@ 2019-10-15 12:06 voidlinux-github
2019-10-15 15:57 ` [PR PATCH] [Merged]: " voidlinux-github
0 siblings, 1 reply; 2+ messages in thread
From: voidlinux-github @ 2019-10-15 12:06 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 310 bytes --]
There is a new pull request by q66 against master on the void-packages repository
https://github.com/void-ppc/void-packages libcmis
https://github.com/void-linux/void-packages/pull/15485
libcmis: fix build with gcc9
A patch file from https://github.com/void-linux/void-packages/pull/15485.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-libcmis-15485.patch --]
[-- Type: text/x-diff, Size: 1552 bytes --]
From 13cc51cd2433f3345580e2d700066db4e553d9ec Mon Sep 17 00:00:00 2001
From: q66 <daniel@octaforge.org>
Date: Tue, 15 Oct 2019 14:05:38 +0200
Subject: [PATCH] libcmis: fix build with gcc9
---
| 19 +++++++++++++++++++
srcpkgs/libcmis/template | 2 +-
2 files changed, 20 insertions(+), 1 deletion(-)
create mode 100644 srcpkgs/libcmis/patches/no-include-cxx-headers-from-extern-c.patch
--git a/srcpkgs/libcmis/patches/no-include-cxx-headers-from-extern-c.patch b/srcpkgs/libcmis/patches/no-include-cxx-headers-from-extern-c.patch
new file mode 100644
index 00000000000..c82cf900561
--- /dev/null
+++ b/srcpkgs/libcmis/patches/no-include-cxx-headers-from-extern-c.patch
@@ -0,0 +1,19 @@
+FTBFS: /usr/include/c++/9.2/memory:146:1: error: template with C linkage
+
+--- inc/libcmis-c/repository.h
++++ inc/libcmis-c/repository.h
+@@ -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"
+
diff --git a/srcpkgs/libcmis/template b/srcpkgs/libcmis/template
index 9913168a635..eaf3215cff9 100644
--- a/srcpkgs/libcmis/template
+++ b/srcpkgs/libcmis/template
@@ -1,7 +1,7 @@
# Template file for 'libcmis'
pkgname=libcmis
version=0.5.2
-revision=2
+revision=3
build_style=gnu-configure
configure_args="DOCBOOK2MAN=docbook2man --disable-werror"
hostmakedepends="pkg-config docbook2x"
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PR PATCH] [Merged]: libcmis: fix build with gcc9
2019-10-15 12:06 [PR PATCH] libcmis: fix build with gcc9 voidlinux-github
@ 2019-10-15 15:57 ` voidlinux-github
0 siblings, 0 replies; 2+ messages in thread
From: voidlinux-github @ 2019-10-15 15:57 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 162 bytes --]
There's a merged pull request on the void-packages repository
libcmis: fix build with gcc9
https://github.com/void-linux/void-packages/pull/15485
Description:
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-10-15 15:57 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-15 12:06 [PR PATCH] libcmis: fix build with gcc9 voidlinux-github
2019-10-15 15:57 ` [PR PATCH] [Merged]: " voidlinux-github
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).