libcmis: fix build with gcc9
This commit is contained in:
parent
c69cf1a754
commit
bc3b6107f2
2 changed files with 20 additions and 1 deletions
|
@ -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"
|
||||
|
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue