diff --git a/packages/direvent/build.sh b/packages/direvent/build.sh index 5e11e86eb..9931b6a9d 100644 --- a/packages/direvent/build.sh +++ b/packages/direvent/build.sh @@ -2,10 +2,9 @@ TERMUX_PKG_HOMEPAGE=https://www.gnu.org.ua/software/direvent/ TERMUX_PKG_DESCRIPTION="Monitor of events in file system directories" TERMUX_PKG_LICENSE="GPL-2.0" TERMUX_PKG_MAINTAINER="@termux" -TERMUX_PKG_VERSION=5.2 -TERMUX_PKG_REVISION=1 +TERMUX_PKG_VERSION=5.3 TERMUX_PKG_SRCURL=https://mirrors.kernel.org/gnu/direvent/direvent-${TERMUX_PKG_VERSION}.tar.gz -TERMUX_PKG_SHA256=239822cdda9ecbbbc41a69181b34505b2d3badd4df5367e765a0ceb002883b55 +TERMUX_PKG_SHA256=9405a8a77da49fe92bbe4af18bf925ff91f6d3374c10b7d700a031bacb94c497 TERMUX_PKG_DEPENDS="libandroid-glob" termux_step_pre_configure() { diff --git a/packages/direvent/preproc.c.patch b/packages/direvent/preproc.c.patch deleted file mode 100644 index 2a226dac6..000000000 --- a/packages/direvent/preproc.c.patch +++ /dev/null @@ -1,18 +0,0 @@ -"The getdtablesize functions has been deprecated by Posix and has been - removed from Android's LB64 ABI. Replace calls to it with the modern - equivalent sysconf(_SC_OPEN_MAX)." - -- https://groups.google.com/a/chromium.org/forum/#!topic/chromium-reviews/AXhZapYuHi8 - -diff -u -r ../direvent-5.0/grecs/src/preproc.c ./grecs/src/preproc.c ---- ../direvent-5.0/grecs/src/preproc.c 2013-12-17 16:32:57.000000000 -0500 -+++ ./grecs/src/preproc.c 2016-01-03 08:46:26.663047361 -0500 -@@ -679,7 +679,7 @@ - } - - /* Close unneeded descripitors */ -- for (i = getdtablesize(); i > 2; i--) -+ for (i = sysconf(_SC_OPEN_MAX); i > 2; i--) - close(i); - - if (!grecs_log_to_stderr) {