Files
poky/meta/recipes-kernel/sysprof/files/0001-Disable-check-for-polkit-for-UI.patch
Jussi Kukkonen dda59ddc1c sysprof: Upgrade to git version slightly past 3.20
New version uses Gtk+3. 3.20 release requires a bunch of fixes to
build without polkit, this git revision inclues those fixes.

* Add patch to use proper U64_TO_POINTER macro to fix build on
  32 bit platforms.
* Forward port memory barrier patches for arm & mips
* sysprof builds with loads of warnings and git builds also use
  -Werror: avoid that by setting "--enable-compile-warnings"

(From OE-Core rev: ab2d5e397d30999929108c9d929767205fee9db4)

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-06-15 18:05:24 +01:00

33 lines
1.1 KiB
Diff

From 765d578145e31ddc9495adfab8037ade33c6a9cc Mon Sep 17 00:00:00 2001
From: Jussi Kukkonen <jussi.kukkonen@intel.com>
Date: Wed, 4 May 2016 10:59:36 +0300
Subject: [PATCH] Disable check for polkit for UI
The check is not technically required: sysprof just needs
to be able to access system perf counters at runtime.
Upstream-Status: Pending
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
---
configure.ac | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/configure.ac b/configure.ac
index 8559597..ecf93ad 100644
--- a/configure.ac
+++ b/configure.ac
@@ -131,8 +131,8 @@ AS_IF([test "$enable_gtk" = auto],[
AS_IF([test "$have_gtk" = "yes" && test "$have_polkit" = "yes"],[enable_gtk=yes],[enable_gtk=no])
])
AS_IF([test "$enable_gtk" = "yes"],[
- AS_IF([test "$have_gtk" = "yes" && test "$have_polkit" = "yes"],[],[
- AC_MSG_ERROR([--enable-gtk requires gtk+-3.0 >= gtk_required_version and polkit-gobject-1])
+ AS_IF([test "$have_gtk" = "yes"],[],[
+ AC_MSG_ERROR([--enable-gtk requires gtk+-3.0 >= gtk_required_version])
])
])
AM_CONDITIONAL(ENABLE_GTK, test "$enable_gtk" = "yes")
--
2.8.1