summaryrefslogtreecommitdiffstats
path: root/source/ap/cups/cups.SlackBuild
diff options
context:
space:
mode:
author Patrick J Volkerding <volkerdi@slackware.com>2018-06-09 16:57:58 +0000
committer Eric Hameleers <alien@slackware.com>2018-06-10 08:58:04 +0200
commit548843b225f281a8d0583e3bf1ee77ac57d648a3 (patch)
treee913c5ec936caf9ec4bbe2218aed24a5583b76c5 /source/ap/cups/cups.SlackBuild
parent8f0b1c57c99036007acd8a798ee81d938df67b98 (diff)
downloadcurrent-548843b225f281a8d0583e3bf1ee77ac57d648a3.tar.gz
current-548843b225f281a8d0583e3bf1ee77ac57d648a3.tar.xz
Sat Jun 9 16:57:58 UTC 201820180609165758
ap/cups-2.2.8-x86_64-2.txz: Rebuilt. Applied upstream patch to fix high CPU usage in some situations.
Diffstat (limited to 'source/ap/cups/cups.SlackBuild')
-rwxr-xr-xsource/ap/cups/cups.SlackBuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/source/ap/cups/cups.SlackBuild b/source/ap/cups/cups.SlackBuild
index fe8fd16c3..44cd7c674 100755
--- a/source/ap/cups/cups.SlackBuild
+++ b/source/ap/cups/cups.SlackBuild
@@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=cups
VERSION=${VERSION:-$(echo $PKGNAM-*-source.tar.?z | cut -f 2 -d -)}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
@@ -81,6 +81,9 @@ cd cups-$VERSION || exit 1
sed -i.orig -e 's#$exec_prefix/lib/cups#$libdir/cups#g' configure
+# Upstream patch to fix high CPU usage:
+zcat $CWD/455c52a027ab3548953372a0b7bdb0008420e9ba.patch.gz | patch -p1 --verbose || exit 1
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \