direvent: update to 5.3
This commit is contained in:
parent
f5b175b21a
commit
0448c65aa0
|
@ -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_DESCRIPTION="Monitor of events in file system directories"
|
||||||
TERMUX_PKG_LICENSE="GPL-2.0"
|
TERMUX_PKG_LICENSE="GPL-2.0"
|
||||||
TERMUX_PKG_MAINTAINER="@termux"
|
TERMUX_PKG_MAINTAINER="@termux"
|
||||||
TERMUX_PKG_VERSION=5.2
|
TERMUX_PKG_VERSION=5.3
|
||||||
TERMUX_PKG_REVISION=1
|
|
||||||
TERMUX_PKG_SRCURL=https://mirrors.kernel.org/gnu/direvent/direvent-${TERMUX_PKG_VERSION}.tar.gz
|
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_PKG_DEPENDS="libandroid-glob"
|
||||||
|
|
||||||
termux_step_pre_configure() {
|
termux_step_pre_configure() {
|
||||||
|
|
|
@ -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) {
|
|
Loading…
Reference in New Issue