From 01afe132d196453f4f0c9226ba61b87e1ff3b726 Mon Sep 17 00:00:00 2001 From: Leonid Pliushch Date: Thu, 25 Jul 2019 18:04:16 +0300 Subject: [PATCH] libsearpc: update to 3.1 --- packages/libsearpc/build.sh | 6 +++--- packages/libsearpc/lib-Makefile.am.patch | 11 +++++++++++ 2 files changed, 14 insertions(+), 3 deletions(-) create mode 100644 packages/libsearpc/lib-Makefile.am.patch diff --git a/packages/libsearpc/build.sh b/packages/libsearpc/build.sh index 5ce1eb998..9ef191cb1 100644 --- a/packages/libsearpc/build.sh +++ b/packages/libsearpc/build.sh @@ -1,9 +1,9 @@ TERMUX_PKG_HOMEPAGE=https://github.com/haiwen/libsearpc TERMUX_PKG_DESCRIPTION="A simple C language RPC framework (mainly for seafile)" TERMUX_PKG_LICENSE="Apache-2.0" -TERMUX_PKG_VERSION=3.0.7 -TERMUX_PKG_SRCURL=https://github.com/haiwen/libsearpc/archive/v${TERMUX_PKG_VERSION}.tar.gz -TERMUX_PKG_SHA256=efee6b495f93e70101c87849c78b135014dfd2f0e5c08dcfed9834def47cb939 +TERMUX_PKG_VERSION=3.1 +TERMUX_PKG_SRCURL=https://github.com/haiwen/libsearpc/archive/v${TERMUX_PKG_VERSION}-latest.tar.gz +TERMUX_PKG_SHA256=e6b07e7c4ed9307f14bc4e470ed335df63e8f8fe1262a57ff5567ef218471403 TERMUX_PKG_DEPENDS="glib, libjansson" termux_step_post_extract_package() { diff --git a/packages/libsearpc/lib-Makefile.am.patch b/packages/libsearpc/lib-Makefile.am.patch new file mode 100644 index 000000000..c8f972b0d --- /dev/null +++ b/packages/libsearpc/lib-Makefile.am.patch @@ -0,0 +1,11 @@ +diff -uNr libsearpc-3.1-latest/lib/Makefile.am libsearpc-3.1-latest.mod/lib/Makefile.am +--- libsearpc-3.1-latest/lib/Makefile.am 2019-07-19 10:31:10.000000000 +0300 ++++ libsearpc-3.1-latest.mod/lib/Makefile.am 2019-07-25 18:03:05.629491489 +0300 +@@ -12,6 +12,6 @@ + + libsearpc_la_LDFLAGS = -version-info 1:2:0 -no-undefined + +-libsearpc_la_LIBADD = @GLIB_LIBS@ @JANSSON_LIBS@ -lpthread ++libsearpc_la_LIBADD = @GLIB_LIBS@ @JANSSON_LIBS@ + + dist_bin_SCRIPTS = searpc-codegen.py