fwd, preload-hacks: New packages.
[termux-packages] / packages / librhash / configure.patch
CommitLineData
d8f62921
FF
1diff -u -r ../RHash-1.3.6/configure ./configure
2--- ../RHash-1.3.6/configure 2018-03-14 02:42:17.000000000 +0100
3+++ ./configure 2018-04-22 21:56:37.741263688 +0200
4@@ -193,8 +193,7 @@
5 BUILD_EXTRA_LDFLAGS=$(get_opt_value $OPT)
6 ;;
7 *)
8- echo "unknown option $OPT"
9- exit 1
10+ echo "WARNING: unknown option $OPT"
11 ;;
12 esac
13 shift
14@@ -897,4 +896,4 @@
15 Libs.private: ${OPENSSL_LDFLAGS}
16
17 EOF
18-fi
19\ No newline at end of file
20+fi
21diff -u -r ../RHash-1.3.6/librhash/byte_order.h ./librhash/byte_order.h
22--- ../RHash-1.3.6/librhash/byte_order.h 2018-03-14 02:42:17.000000000 +0100
23+++ ./librhash/byte_order.h 2018-04-22 21:55:52.997763406 +0200
24@@ -14,6 +14,10 @@
25 #endif
26
27
28+#ifdef __ANDROID__
29+# include <sys/endian.h>
30+#endif
31+
32 #ifdef __cplusplus
33 extern "C" {
34 #endif
35Only in ./librhash: byte_order.h.orig