diff options
Diffstat (limited to 'system/incron/incron.SlackBuild')
-rw-r--r-- | system/incron/incron.SlackBuild | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/system/incron/incron.SlackBuild b/system/incron/incron.SlackBuild index d28075e4dc057..7000c18b1faf0 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 |