summaryrefslogtreecommitdiffstats
path: root/system/packagekit/force_polkit_version.patch
blob: f896a05aa7d14bf67bda4fe7cd4faa0e6ecb7d88 (plain)
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],