librhash: Update from 1.3.5 to 1.3.6

This commit is contained in:
Fredrik Fornwall 2018-04-22 22:04:02 +02:00
parent 6a7686bbf2
commit 2a3c395e95
2 changed files with 37 additions and 2 deletions

View File

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

View File

@ -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 <sys/endian.h>
+#endif
+
#ifdef __cplusplus
extern "C" {
#endif
Only in ./librhash: byte_order.h.orig