summaryrefslogtreecommitdiffstats
path: root/slackware64-current/source/a/libcgroup
diff options
context:
space:
mode:
Diffstat (limited to 'slackware64-current/source/a/libcgroup')
-rwxr-xr-xslackware64-current/source/a/libcgroup/libcgroup.SlackBuild7
-rw-r--r--slackware64-current/source/a/libcgroup/libcgroup.loop.diff.gz1
2 files changed, 7 insertions, 1 deletions
diff --git a/slackware64-current/source/a/libcgroup/libcgroup.SlackBuild b/slackware64-current/source/a/libcgroup/libcgroup.SlackBuild
index d059f378f..6a5185a75 100755
--- a/slackware64-current/source/a/libcgroup/libcgroup.SlackBuild
+++ b/slackware64-current/source/a/libcgroup/libcgroup.SlackBuild
@@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=libcgroup
VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
-BUILD=${BUILD:-3}
+BUILD=${BUILD:-4}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
@@ -77,6 +77,9 @@ zcat $CWD/libcgroup.init.diff.gz | patch -p1 --verbose || exit 1
# Slackware does not use /etc/sysconfig:
zcat $CWD/libcgroup.conf.diff.gz | patch -p1 --verbose || exit 1
+# Apply combined patches from git, including for an infinate loop bug:
+zcat $CWD/libcgroup.loop.diff.gz | patch -p1 --verbose || exit 1
+
chown -R root:root .
find . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
@@ -84,6 +87,8 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+autoreconf -vif
+
# Configure:
CFLAGS="$SLKCFLAGS" \
./configure \
diff --git a/slackware64-current/source/a/libcgroup/libcgroup.loop.diff.gz b/slackware64-current/source/a/libcgroup/libcgroup.loop.diff.gz
new file mode 100644
index 000000000..7b179a0d2
--- /dev/null
+++ b/slackware64-current/source/a/libcgroup/libcgroup.loop.diff.gz
@@ -0,0 +1 @@
+c67f7b808deccd7fa348efe7d3e32d10595dfc3d