diff --git a/srcpkgs/wendy/patches/fix-musl.patch b/srcpkgs/wendy/patches/fix-musl.patch new file mode 100644 index 00000000000..6a873b533f0 --- /dev/null +++ b/srcpkgs/wendy/patches/fix-musl.patch @@ -0,0 +1,20 @@ +--- 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 @@ + } + + 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. + */ + if (!fork()) +- if (!fork()) execvpe(cmd[0], cmd, environ); ++ if (!fork()) _execvpe(cmd[0], cmd, environ); + else exit(0); + else wait(NULL); + } diff --git a/srcpkgs/wendy/template b/srcpkgs/wendy/template new file mode 100644 index 00000000000..db82760a3fe --- /dev/null +++ b/srcpkgs/wendy/template @@ -0,0 +1,12 @@ +# Template file for 'wendy' +pkgname=wendy +version=0.7 +revision=1 +build_style=gnu-makefile +make_install_args="MANPREFIX=/usr/share/man" +short_desc="Inotify based directory watcher" +maintainer="Steve Prybylski " +license="WTFPL" +homepage="http://git.z3bra.org/cgit.cgi/wendy" +distfiles="http://git.z3bra.org/cgit.cgi/${pkgname}/snapshot/${pkgname}-${version}.tar.bz2" +checksum=1d8fb96cc14879863c27ef1afcd0e6e3b47c2af478f42e1b52fc9792ccb5380e