gnunet: update to 0.15.3

This commit is contained in:
Yaksh Bariya 2021-12-08 19:00:20 +05:30
parent a3e2147565
commit affe5b26eb
No known key found for this signature in database
GPG Key ID: F7486BA7D3D27581
2 changed files with 12 additions and 2 deletions

View File

@ -3,8 +3,7 @@ TERMUX_PKG_DESCRIPTION="A framework for secure peer-to-peer networking"
TERMUX_PKG_LICENSE="GPL-2.0"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_SRCURL=https://git.gnunet.org/git/gnunet.git
TERMUX_PKG_VERSION=0.14.1
TERMUX_PKG_REVISION=1
TERMUX_PKG_VERSION=0.15.3
TERMUX_PKG_DEPENDS="gnurl, libgcrypt, libgmp, libidn, libjansson, libltdl, libmicrohttpd, libsqlite, libunistring, libsodium"
TERMUX_PKG_BUILD_IN_SRC=true
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="ac_cv_have_decl_struct_in6_ifreq=yes"

View File

@ -0,0 +1,11 @@
--- ./src/include/gnunet_common.h 2021-12-08 19:14:43.938658667 +0530
+++ ./src/include/gnunet_common.h.mod 2021-12-08 19:35:22.328658195 +0530
@@ -143,7 +143,7 @@
*/
#if __BYTE_ORDER == __LITTLE_ENDIAN
-#if defined(__linux__)
+#if defined(__linux__) && !defined(__ANDROID__)
#define BYTE_SWAP_16(x) __bswap_16 (x)
#define BYTE_SWAP_32(x) __bswap_32 (x)
#define BYTE_SWAP_64(x) __bswap_64 (x)