librhash: Update from 1.3.5 to 1.3.6
authorFredrik Fornwall <fredrik@fornwall.net>
Sun, 22 Apr 2018 20:04:02 +0000 (22:04 +0200)
committerFredrik Fornwall <fredrik@fornwall.net>
Sun, 22 Apr 2018 20:04:02 +0000 (22:04 +0200)
packages/librhash/build.sh
packages/librhash/configure.patch [new file with mode: 0644]

index 9e2333a..b5bec9c 100644 (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
diff --git a/packages/librhash/configure.patch b/packages/librhash/configure.patch
new file mode 100644 (file)
index 0000000..761742d
--- /dev/null
@@ -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