diff options
author | Javier Tiá | 2016-09-27 08:40:59 -0600 |
---|---|---|
committer | Javier Tiá | 2016-09-27 08:40:59 -0600 |
commit | a3e4d63fd032be72a7564148f48f3675452e8fe2 (patch) | |
tree | ae900ccb3aced006b3542e0beb4034d2afbe37d3 | |
parent | c8bef993c31d258bf3af0c0681d76b563f1154bd (diff) | |
download | aur-a3e4d63fd032be72a7564148f48f3675452e8fe2.tar.gz |
Bump up fsniper 1.3.1-3
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 14 | ||||
-rw-r--r-- | wait3_argument.patch | 12 |
3 files changed, 27 insertions, 5 deletions
@@ -1,9 +1,9 @@ # Generated by mksrcinfo v8 -# Sun Jun 5 20:01:40 UTC 2016 +# Tue Sep 27 14:38:45 UTC 2016 pkgbase = fsniper pkgdesc = Daemon to run scripts based on changes in files monitored by inotify pkgver = 1.3.1 - pkgrel = 2 + pkgrel = 3 url = http://projects.l3ib.org/fsniper/ arch = i686 arch = x86_64 @@ -15,7 +15,9 @@ pkgbase = fsniper depends = pcre depends = file source = http://projects.l3ib.org/fsniper/files/fsniper-1.3.1.tar.gz + source = wait3_argument.patch sha256sums = e65a34221fc05eb7ececcd2fb783e3418de032f89082e09be3a8f75f6b056e6b + sha256sums = 60e8390538728b463845c595cb035529fbaaa311a54b6a12eaee2c53688de55d pkgname = fsniper @@ -1,17 +1,25 @@ # Maintainer: Javier Tiá <javier dot tia at gmail dot com> +# Contributor: András Wacha <wacha dot andras at ttk dot mta dot hu> pkgname=fsniper pkgver=1.3.1 -pkgrel=2 +pkgrel=3 pkgdesc='Daemon to run scripts based on changes in files monitored by inotify' url='http://projects.l3ib.org/fsniper/' license=('GPL3') depends=('pcre' 'file') makedepends=('autoconf' 'automake' 'libtool' 'gcc') -source=("http://projects.l3ib.org/fsniper/files/${pkgname}-${pkgver}.tar.gz") -sha256sums=('e65a34221fc05eb7ececcd2fb783e3418de032f89082e09be3a8f75f6b056e6b') +source=("http://projects.l3ib.org/fsniper/files/${pkgname}-${pkgver}.tar.gz" + "wait3_argument.patch") +sha256sums=('e65a34221fc05eb7ececcd2fb783e3418de032f89082e09be3a8f75f6b056e6b' + '60e8390538728b463845c595cb035529fbaaa311a54b6a12eaee2c53688de55d') arch=('i686' 'x86_64') +prepare() { + cd ${srcdir}/${pkgname}-${pkgver} + patch -p1 <${srcdir}/wait3_argument.patch +} + build() { cd ${srcdir}/${pkgname}-${pkgver} diff --git a/wait3_argument.patch b/wait3_argument.patch new file mode 100644 index 000000000000..802da0493398 --- /dev/null +++ b/wait3_argument.patch @@ -0,0 +1,12 @@ +diff -Naur fsniper-1.3.1/src/main.c fsniper_new-1.3.1/src/main.c +--- fsniper-1.3.1/src/main.c 2008-10-18 19:30:37.000000000 +0200 ++++ fsniper_new-1.3.1/src/main.c 2016-09-27 09:49:54.689836092 +0200 +@@ -190,7 +190,7 @@ + /* handler for reaping children after the fork is done. */ + void handle_child_signal() + { +- union wait status; ++ int status; + while (wait3(&status, WNOHANG, 0) > 0) {} + } + |