summaryrefslogtreecommitdiffstats
path: root/system/packagekit/force_polkit_version.patch
diff options
context:
space:
mode:
Diffstat (limited to 'system/packagekit/force_polkit_version.patch')
-rw-r--r--system/packagekit/force_polkit_version.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/system/packagekit/force_polkit_version.patch b/system/packagekit/force_polkit_version.patch
new file mode 100644
index 0000000000..f896a05aa7
--- /dev/null
+++ b/system/packagekit/force_polkit_version.patch
@@ -0,0 +1,16 @@
+https://www.linuxquestions.org/questions/slackware-14/sbo-scripts-not-building-on-current-read-1st-post-pls-4175561999/page27.html#post5884683
+
+--- configure.ac.orig 2018-04-03 12:29:51.000000000 +0000
++++ configure.ac 2018-07-27 17:03:50.260951817 +0000
+@@ -183,7 +183,10 @@
+ polkit-gobject-1 >= $POLKIT_GOBJECT_REQUIRED)
+
+ # 0.114 introduced autocleanup functions for its types.
+-PKG_CHECK_MODULES([POLKIT_0_114], [polkit-gobject-1 >= 0.114],
++# LAR 20180727 - Slackware patches 0.113 polkit to make it add
++# something from 0.114. DIRTY HACK to trick PackageKit into thinking it
++# 0.113 shipped by slackware-current is actually 0.114.
++PKG_CHECK_MODULES([POLKIT_0_114], [polkit-gobject-1 >= 0.113],
+ [have_polkit_0_114=yes], [have_polkit_0_114=no])
+ AS_IF([test "$have_polkit_0_114" = "yes"], [
+ AC_DEFINE([HAVE_POLKIT_0_114],[1],