From d8f6292136122ec9ad45b04295f6a5bae252d902 Mon Sep 17 00:00:00 2001 From: Fredrik Fornwall Date: Sun, 22 Apr 2018 22:04:02 +0200 Subject: [PATCH] librhash: Update from 1.3.5 to 1.3.6 --- packages/librhash/build.sh | 4 ++-- packages/librhash/configure.patch | 35 +++++++++++++++++++++++++++++++++++ 2 files changed, 37 insertions(+), 2 deletions(-) create mode 100644 packages/librhash/configure.patch diff --git a/packages/librhash/build.sh b/packages/librhash/build.sh index 9e2333a4..b5bec9c0 100644 --- a/packages/librhash/build.sh +++ b/packages/librhash/build.sh @@ -1,7 +1,7 @@ TERMUX_PKG_HOMEPAGE=http://rhash.sourceforge.net/ TERMUX_PKG_DESCRIPTION="Console utility for calculation and verification of magnet links and a wide range of hash sums" -TERMUX_PKG_VERSION=1.3.5 -TERMUX_PKG_SHA256=98e0688acae29e68c298ffbcdbb0f838864105f9b2bd8857980664435b1f1f2e +TERMUX_PKG_VERSION=1.3.6 +TERMUX_PKG_SHA256=964df972b60569b5cb35ec989ced195ab8ea514fc46a74eab98e86569ffbcf92 TERMUX_PKG_SRCURL=https://github.com/rhash/RHash/archive/v$TERMUX_PKG_VERSION.tar.gz TERMUX_PKG_DEPENDS="openssl" TERMUX_PKG_BUILD_IN_SRC=true diff --git a/packages/librhash/configure.patch b/packages/librhash/configure.patch new file mode 100644 index 00000000..761742d0 --- /dev/null +++ b/packages/librhash/configure.patch @@ -0,0 +1,35 @@ +diff -u -r ../RHash-1.3.6/configure ./configure +--- ../RHash-1.3.6/configure 2018-03-14 02:42:17.000000000 +0100 ++++ ./configure 2018-04-22 21:56:37.741263688 +0200 +@@ -193,8 +193,7 @@ + BUILD_EXTRA_LDFLAGS=$(get_opt_value $OPT) + ;; + *) +- echo "unknown option $OPT" +- exit 1 ++ echo "WARNING: unknown option $OPT" + ;; + esac + shift +@@ -897,4 +896,4 @@ + Libs.private: ${OPENSSL_LDFLAGS} + + EOF +-fi +\ No newline at end of file ++fi +diff -u -r ../RHash-1.3.6/librhash/byte_order.h ./librhash/byte_order.h +--- ../RHash-1.3.6/librhash/byte_order.h 2018-03-14 02:42:17.000000000 +0100 ++++ ./librhash/byte_order.h 2018-04-22 21:55:52.997763406 +0200 +@@ -14,6 +14,10 @@ + #endif + + ++#ifdef __ANDROID__ ++# include ++#endif ++ + #ifdef __cplusplus + extern "C" { + #endif +Only in ./librhash: byte_order.h.orig -- 2.11.0