libsearpc: update to 3.1

This commit is contained in:
Leonid Pliushch 2019-07-25 18:04:16 +03:00
parent 2e7b545c74
commit 01afe132d1
2 changed files with 14 additions and 3 deletions

View File

@ -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() {

View File

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