summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel/sysprof/files/0001-Disable-check-for-polkit-for-UI.patch
diff options
context:
space:
mode:
authorJussi Kukkonen <jussi.kukkonen@intel.com>2016-05-04 12:49:28 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-06-15 18:05:24 +0100
commitdda59ddc1c123b8bcfcbc76a41cedf7bb9bf0490 (patch)
treed2726405774a0adc75c4a53ed8fff0647a94d2f5 /meta/recipes-kernel/sysprof/files/0001-Disable-check-for-polkit-for-UI.patch
parentc0725452d5d299f4ee7409cf2337ef8b8044fb70 (diff)
downloadpoky-dda59ddc1c123b8bcfcbc76a41cedf7bb9bf0490.tar.gz
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>
Diffstat (limited to 'meta/recipes-kernel/sysprof/files/0001-Disable-check-for-polkit-for-UI.patch')
-rw-r--r--meta/recipes-kernel/sysprof/files/0001-Disable-check-for-polkit-for-UI.patch32
1 files changed, 32 insertions, 0 deletions
diff --git a/meta/recipes-kernel/sysprof/files/0001-Disable-check-for-polkit-for-UI.patch b/meta/recipes-kernel/sysprof/files/0001-Disable-check-for-polkit-for-UI.patch
new file mode 100644
index 0000000000..608523272a
--- /dev/null
+++ b/meta/recipes-kernel/sysprof/files/0001-Disable-check-for-polkit-for-UI.patch
@@ -0,0 +1,32 @@
1From 765d578145e31ddc9495adfab8037ade33c6a9cc Mon Sep 17 00:00:00 2001
2From: Jussi Kukkonen <jussi.kukkonen@intel.com>
3Date: Wed, 4 May 2016 10:59:36 +0300
4Subject: [PATCH] Disable check for polkit for UI
5
6The check is not technically required: sysprof just needs
7to be able to access system perf counters at runtime.
8
9Upstream-Status: Pending
10Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
11---
12 configure.ac | 4 ++--
13 1 file changed, 2 insertions(+), 2 deletions(-)
14
15diff --git a/configure.ac b/configure.ac
16index 8559597..ecf93ad 100644
17--- a/configure.ac
18+++ b/configure.ac
19@@ -131,8 +131,8 @@ AS_IF([test "$enable_gtk" = auto],[
20 AS_IF([test "$have_gtk" = "yes" && test "$have_polkit" = "yes"],[enable_gtk=yes],[enable_gtk=no])
21 ])
22 AS_IF([test "$enable_gtk" = "yes"],[
23- AS_IF([test "$have_gtk" = "yes" && test "$have_polkit" = "yes"],[],[
24- AC_MSG_ERROR([--enable-gtk requires gtk+-3.0 >= gtk_required_version and polkit-gobject-1])
25+ AS_IF([test "$have_gtk" = "yes"],[],[
26+ AC_MSG_ERROR([--enable-gtk requires gtk+-3.0 >= gtk_required_version])
27 ])
28 ])
29 AM_CONDITIONAL(ENABLE_GTK, test "$enable_gtk" = "yes")
30--
312.8.1
32