wendy: update to 2.1.

This commit is contained in:
Anachron 2020-09-07 19:48:13 +02:00 committed by Andrew J. Hesford
parent bdb774e630
commit f364bb84c3
2 changed files with 2 additions and 22 deletions

View file

@ -1,20 +0,0 @@
--- wendy.c.orig 2016-02-01 07:45:28.000000000 -0500
+++ wendy.c 2016-02-01 10:53:25.313600196 -0500
@@ -102,7 +102,7 @@
}
int
-execvpe(const char *program, char **argv, char **envp)
+_execvpe(const char *program, char **argv, char **envp)
{
char **saved = environ;
int rc;
@@ -262,7 +262,7 @@
setenv(ENV_MASK, strmask, 1);
setenv(ENV_PATH, EVENT_PATH(ev), 1);
if (!fork())
- if (!fork()) execvpe(cmd[0], cmd, environ);
+ if (!fork()) _execvpe(cmd[0], cmd, environ);
else exit(0);
else wait(NULL);
}

View file

@ -1,13 +1,13 @@
# Template file for 'wendy'
pkgname=wendy
version=1.0
version=2.1
revision=1
short_desc="Inotify based directory watcher"
maintainer="Steve Prybylski <sa.prybylx@gmail.com>"
license="ISC"
homepage="http://git.z3bra.org/wendy/log.html"
distfiles="http://dl.z3bra.org/releases/${pkgname}-${version}.tar.bz2"
checksum=dbdccce31ec9ad52921a121ac0433f14b76cb103cddf363152c5f17f85f291d7
checksum=2a664acd41b5ccc34b77ce188ed06efbc2375fa9a561a1f2881574a442cafb17
do_build() {
make CC="$CC" CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS"