termux-packages/packages/rhash/configure.patch

36 lines
841 B
Diff

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