summaryrefslogtreecommitdiff
path: root/system/incron/incron.SlackBuild
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@gmail.com>2012-09-17 07:57:24 +0700
committerRobby Workman <rworkman@slackbuilds.org>2012-09-16 23:08:12 -0500
commitecafd17f33651693b93c4648f76c89641ab1fe8f (patch)
tree3dfe0df303f572d92da8a3569b747c3dac91b3d8 /system/incron/incron.SlackBuild
parent90f6d063050adca351a006108c7e9059c30f83e0 (diff)
downloadslackbuilds-ecafd17f33651693b93c4648f76c89641ab1fe8f.tar.gz
system/incron: Upgraded to 0.5.10.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'system/incron/incron.SlackBuild')
-rw-r--r--system/incron/incron.SlackBuild8
1 files changed, 5 insertions, 3 deletions
diff --git a/system/incron/incron.SlackBuild b/system/incron/incron.SlackBuild
index d28075e4dc..7000c18b1f 100644
--- a/system/incron/incron.SlackBuild
+++ b/system/incron/incron.SlackBuild
@@ -3,9 +3,10 @@
# Slackware build script for incrond
# Written by Asaf Ohaion asaf@lingnu.com
+# Modified by Willy Sudiarto Raharjo <willysr@slackware-id.org>
PRGNAM=incron
-VERSION=${VERSION:-0.5.9}
+VERSION=${VERSION:-0.5.10}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -51,8 +52,9 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-patch -p1 < $CWD/fix-compiliation.diff
-patch -p1 < $CWD/fix-make-install.diff
+sed -i '1,1i#include <unistd.h>' inotify-cxx.cpp icd-main.cpp
+sed -i '1,1i#include <stdio.h>' icd-main.cpp inotify-cxx.cpp usertable.cpp appargs.cpp
+sed -i 's|strchr(s,|(char*)strchr(s,|' incroncfg.cpp
make PREFIX=/usr
make install DESTDIR=$PKG PREFIX=/usr MANPATH=/usr/man