summaryrefslogtreecommitdiffstats
path: root/source/a/sysvinit/sysvinit.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'source/a/sysvinit/sysvinit.SlackBuild')
-rwxr-xr-xsource/a/sysvinit/sysvinit.SlackBuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/source/a/sysvinit/sysvinit.SlackBuild b/source/a/sysvinit/sysvinit.SlackBuild
index 6cfe01e97..457307e1d 100755
--- a/source/a/sysvinit/sysvinit.SlackBuild
+++ b/source/a/sysvinit/sysvinit.SlackBuild
@@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=sysvinit
VERSION=${VERSION:-2.93}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
@@ -65,6 +65,9 @@ find . \
# Fix paths for /etc/forcefsck and /etc/fastboot:
zcat $CWD/sysvinit.paths.diff.gz | patch -p1 -E --verbose --backup --suffix=.orig || exit 1
+# Fix failure to show program version:
+zcat $CWD/sysvinit.version.2.93.diff.gz | patch -p1 --verbose || exit 1
+
# Use /dev/initctl instead of /run/initctl ; this is a named pipe and probably
# should be in /dev anyway, but more importantly, having the upgraded package
# expect it in /run breaks shutdown/reboot without manual intervention: