summaryrefslogtreecommitdiffstats
path: root/system/colord
diff options
context:
space:
mode:
author Willy Sudiarto Raharjo2017-07-02 10:49:36 +0200
committer Robby Workman2021-04-18 06:16:31 +0200
commit4914880aef9e58064d202384ece386088ed776f2 (patch)
treecda2c160aa1941ce6790fb71fb20feae9a577f53 /system/colord
parent421efb7a4883baab6f94267fa55954c5c71f8cc4 (diff)
downloadslackbuilds-4914880aef9e58064d202384ece386088ed776f2.tar.gz
system/colord: Patch version to build against -current's polkit.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'system/colord')
-rw-r--r--system/colord/colord.SlackBuild5
1 files changed, 5 insertions, 0 deletions
diff --git a/system/colord/colord.SlackBuild b/system/colord/colord.SlackBuild
index 2ac2cabcf3..5112df3e32 100644
--- a/system/colord/colord.SlackBuild
+++ b/system/colord/colord.SlackBuild
@@ -95,6 +95,11 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+# Since polkit in current apply upstream git
+# we have to reduce the polkit version used to test
+# https://github.com/hughsie/colord/issues/36
+sed -i "s|114|113|g" configure
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \