gatling: fix builds with NDK r23

Thanks to OpenSSL 3 for making me fix this
This commit is contained in:
Yaksh Bariya 2022-02-16 19:03:11 +05:30
parent c0ce5cf24f
commit 323bfe55cd
No known key found for this signature in database
GPG Key ID: F7486BA7D3D27581
2 changed files with 12 additions and 0 deletions

View File

@ -3,6 +3,7 @@ TERMUX_PKG_DESCRIPTION="A high performance http, ftp and smb server"
TERMUX_PKG_LICENSE="GPL-2.0"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=0.15
TERMUX_PKG_REVISION=1
TERMUX_PKG_SRCURL=https://www.fefe.de/gatling/gatling-$TERMUX_PKG_VERSION.tar.xz
TERMUX_PKG_SHA256=6fa329d0ced0c80deb8dde5460e9d9e984bee94f265043d7fdec0e253dce9aa4
TERMUX_PKG_DEPENDS="libcrypt, libiconv, openssl, zlib"

View File

@ -0,0 +1,11 @@
--- ./dirfd.h.orig 2022-02-16 19:00:47.650173530 +0530
+++ ./dirfd.h 2022-02-16 19:01:03.830173524 +0530
@@ -21,7 +21,7 @@
* given dir, and it will return the fd or -1 on error. */
#ifdef __linux__
-int ifd; /* inotify fd */
+extern int ifd; /* inotify fd */
#endif
struct dircacheentry {