diff options
author | Matteo Bernardini | 2019-08-18 16:29:50 +0200 |
---|---|---|
committer | Matteo Bernardini | 2019-08-18 16:29:50 +0200 |
commit | e81a89f1b6ccd3da8cffc51b431e0026126e34b9 (patch) | |
tree | d58abd1dad22c526d4bebefe25d34800370d6392 /system/packagekit/force_polkit_version.patch | |
parent | d04189e642ca17186cb9b2b5899fa9c12aceb782 (diff) | |
download | slackbuilds-5f2831c3d36a91082430233bca817afd27cec528.tar.gz |
20190818.2 global branch merge.current-20190818.2
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'system/packagekit/force_polkit_version.patch')
-rw-r--r-- | system/packagekit/force_polkit_version.patch | 16 |
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], |