Github messages for voidlinux
 help / color / mirror / Atom feed
From: voidlinux-github@inbox.vuxu.org
To: ml@inbox.vuxu.org
Subject: [PR PATCH] libcmis: fix build with gcc9
Date: Tue, 15 Oct 2019 14:06:53 +0200	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-15485@inbox.vuxu.org> (raw)

[-- 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

---
 ...no-include-cxx-headers-from-extern-c.patch | 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

diff --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"

             reply	other threads:[~2019-10-15 12:06 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-15 12:06 voidlinux-github [this message]
2019-10-15 15:57 ` [PR PATCH] [Merged]: " voidlinux-github

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-15485@inbox.vuxu.org \
    --to=voidlinux-github@inbox.vuxu.org \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).