diff --git a/srcpkgs/wendy/patches/fix-musl.patch b/srcpkgs/wendy/patches/fix-musl.patch index 6a873b533f0..f3a3be245af 100644 --- a/srcpkgs/wendy/patches/fix-musl.patch +++ b/srcpkgs/wendy/patches/fix-musl.patch @@ -1,17 +1,17 @@ ---- wendy.c.orig 2015-09-07 15:45:56.336193710 -0400 -+++ wendy.c 2015-09-07 15:46:12.468193218 -0400 -@@ -115,7 +115,7 @@ +--- 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 + int -execvpe(const char *program, char **argv, char **envp) +_execvpe(const char *program, char **argv, char **envp) { char **saved = environ; int rc; -@@ -258,7 +258,7 @@ - * Also, double-forking. - */ +@@ -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); diff --git a/srcpkgs/wendy/template b/srcpkgs/wendy/template index 1ccb462a880..e8d5ad6ddfe 100644 --- a/srcpkgs/wendy/template +++ b/srcpkgs/wendy/template @@ -1,12 +1,20 @@ # Template file for 'wendy' pkgname=wendy -version=0.7 -revision=2 -build_style=gnu-makefile -make_install_args="MANPREFIX=/usr/share/man" +version=1.0 +revision=1 short_desc="Inotify based directory watcher" maintainer="Steve Prybylski " -license="WTFPL" +license="ISC" homepage="http://git.z3bra.org/wendy/log.html" distfiles="http://dl.z3bra.org/releases/${pkgname}-${version}.tar.bz2" -checksum=1d8fb96cc14879863c27ef1afcd0e6e3b47c2af478f42e1b52fc9792ccb5380e +checksum=dbdccce31ec9ad52921a121ac0433f14b76cb103cddf363152c5f17f85f291d7 + +do_build() { + make CC="$CC" CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" +} + +do_install() { + vbin wendy + vman wendy.1 + vlicense LICENSE +}