From c7c6ecc1fd96cccbf29532e5226dd12e8fad9cd8 Mon Sep 17 00:00:00 2001 From: yopito Date: Tue, 23 Aug 2022 17:39:20 +0200 Subject: [PATCH] libsearpc: update to 3.2.20220425 --- .../patches/01-glib-include-kludge.patch | 21 ------------------- srcpkgs/libsearpc/template | 10 ++++----- 2 files changed, 5 insertions(+), 26 deletions(-) delete mode 100644 srcpkgs/libsearpc/patches/01-glib-include-kludge.patch diff --git a/srcpkgs/libsearpc/patches/01-glib-include-kludge.patch b/srcpkgs/libsearpc/patches/01-glib-include-kludge.patch deleted file mode 100644 index 58b766a0ecf..00000000000 --- a/srcpkgs/libsearpc/patches/01-glib-include-kludge.patch +++ /dev/null @@ -1,21 +0,0 @@ - Recent versions of glib don't work inside an extern "C" block, but some seafile sources - include searpc-client.h inside one. See https://github.com/haiwen/libsearpc/pull/57. - - This is the easy fix, needed until upstream fixes the problem. ---- a/lib/searpc-client.h~ 2020-06-18 05:23:11.000000000 +0200 -+++ b/lib/searpc-client.h 2021-04-10 15:48:09.994005146 +0200 -@@ -7,8 +7,14 @@ - #define LIBSEARPC_API - #endif - -+#ifdef __cplusplus -+extern "C++" { -+#endif - #include - #include -+#ifdef __cplusplus -+} -+#endif - #include - - #ifndef DFT_DOMAIN diff --git a/srcpkgs/libsearpc/template b/srcpkgs/libsearpc/template index 66e769c177a..4541581e773 100644 --- a/srcpkgs/libsearpc/template +++ b/srcpkgs/libsearpc/template @@ -1,10 +1,10 @@ # Template file for 'libsearpc' # WARNING: upstream sometimes retag source. Wait for official announcement pkgname=libsearpc -# 3.2-latest (as of 2021-04-10) -version=3.2.0.20200318 -revision=2 -_gitrev=50ff08b03c7cec8e10b35ba438633b9fe08a8d90 +# floating tag 3.2-latest +version=3.2.0.20220405 +revision=1 +_gitrev=54145b03f4240222e336a9a2f402e93facefde65 wrksrc="${pkgname}-${_gitrev}" build_style=gnu-configure configure_args="--with-python3 --disable-static --disable-compile-demo" @@ -15,7 +15,7 @@ maintainer="yopito " license="LGPL-3.0-or-later, Apache-2.0" homepage="https://seafile.com" distfiles="https://github.com/haiwen/libsearpc/archive/${_gitrev}.tar.gz" -checksum=2a58894cefbc1d7398581fc58103261688c93a9cf63f11afc5e92142ed948c00 +checksum=401c736be7bb8c6b116a85bd5af36431046c7dd4b6392d5006f917c7fd1d2132 python_version=3 pre_configure() {