diff options
-rw-r--r-- | meta-gnome/recipes-gnome/sysprof/sysprof/0001-sysprof-Define-NT_GNU_BUILD_ID-if-undefined.patch | 35 | ||||
-rw-r--r-- | meta-gnome/recipes-gnome/sysprof/sysprof/0002-tests-use-G_GSIZE_FORMAT-instead-of-G_GUINT64_FORMAT.patch | 31 | ||||
-rw-r--r-- | meta-gnome/recipes-gnome/sysprof/sysprof_3.42.0.bb (renamed from meta-gnome/recipes-gnome/sysprof/sysprof_3.36.0.bb) | 7 |
3 files changed, 1 insertions, 72 deletions
diff --git a/meta-gnome/recipes-gnome/sysprof/sysprof/0001-sysprof-Define-NT_GNU_BUILD_ID-if-undefined.patch b/meta-gnome/recipes-gnome/sysprof/sysprof/0001-sysprof-Define-NT_GNU_BUILD_ID-if-undefined.patch deleted file mode 100644 index 75aa86cdbf..0000000000 --- a/meta-gnome/recipes-gnome/sysprof/sysprof/0001-sysprof-Define-NT_GNU_BUILD_ID-if-undefined.patch +++ /dev/null | |||
@@ -1,35 +0,0 @@ | |||
1 | From 3025d80aaacc5f67aa9eb1e6fde30f71d9c5b04b Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Mon, 18 Jul 2011 16:00:17 -0700 | ||
4 | Subject: [PATCH 1/2] sysprof: Define NT_GNU_BUILD_ID if undefined | ||
5 | |||
6 | On uclibc elf.h does not have GNU extentions but we need this define | ||
7 | so we define it locally if its not getting it from elf.h | ||
8 | |||
9 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
10 | |||
11 | Upstream-Status: Pending | ||
12 | |||
13 | %% original patch: define-NT_GNU_BUILD_ID.patch | ||
14 | --- | ||
15 | src/libsysprof/elfparser.h | 4 ++++ | ||
16 | 1 file changed, 4 insertions(+) | ||
17 | |||
18 | diff --git a/src/libsysprof/elfparser.h b/src/libsysprof/elfparser.h | ||
19 | index 160e4c9..94fa5c0 100644 | ||
20 | --- a/src/libsysprof/elfparser.h | ||
21 | +++ b/src/libsysprof/elfparser.h | ||
22 | @@ -18,6 +18,10 @@ | ||
23 | |||
24 | #include <glib.h> | ||
25 | |||
26 | +#ifndef NT_GNU_BUILD_ID | ||
27 | +#define NT_GNU_BUILD_ID 3 | ||
28 | +#endif | ||
29 | + | ||
30 | typedef struct ElfSym ElfSym; | ||
31 | typedef struct ElfParser ElfParser; | ||
32 | |||
33 | -- | ||
34 | 2.17.1 | ||
35 | |||
diff --git a/meta-gnome/recipes-gnome/sysprof/sysprof/0002-tests-use-G_GSIZE_FORMAT-instead-of-G_GUINT64_FORMAT.patch b/meta-gnome/recipes-gnome/sysprof/sysprof/0002-tests-use-G_GSIZE_FORMAT-instead-of-G_GUINT64_FORMAT.patch deleted file mode 100644 index d8fffbb7e9..0000000000 --- a/meta-gnome/recipes-gnome/sysprof/sysprof/0002-tests-use-G_GSIZE_FORMAT-instead-of-G_GUINT64_FORMAT.patch +++ /dev/null | |||
@@ -1,31 +0,0 @@ | |||
1 | From 5dea152c7728f5a37370ad8a229115833e36b4f6 Mon Sep 17 00:00:00 2001 | ||
2 | From: Rasmus Thomsen <oss@cogitri.dev> | ||
3 | Date: Sat, 7 Mar 2020 10:44:16 +0100 | ||
4 | Subject: [PATCH] tests: use G_GSIZE_FORMAT instead of G_GUINT64_FORMAT for | ||
5 | gsize | ||
6 | |||
7 | This fixes the build on 32-bit platforms with -Werror-format | ||
8 | |||
9 | fixes #32 | ||
10 | |||
11 | Upstream-Status: Applied[https://gitlab.gnome.org/GNOME/sysprof/-/commit/5dea152c7728f5a37370ad8a229115833e36b4f6] | ||
12 | --- | ||
13 | src/tests/allocs-by-size.c | 2 +- | ||
14 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
15 | |||
16 | diff --git a/src/tests/allocs-by-size.c b/src/tests/allocs-by-size.c | ||
17 | index 666113a..6260d4b 100644 | ||
18 | --- a/src/tests/allocs-by-size.c | ||
19 | +++ b/src/tests/allocs-by-size.c | ||
20 | @@ -109,7 +109,7 @@ allocs_by_size (SysprofCaptureReader *reader) | ||
21 | { | ||
22 | const Item *item = &g_array_index (ar, Item, i); | ||
23 | |||
24 | - g_print ("%"G_GUINT64_FORMAT",%"G_GUINT64_FORMAT",%"G_GUINT64_FORMAT"\n", | ||
25 | + g_print ("%"G_GSIZE_FORMAT",%"G_GSIZE_FORMAT",%"G_GSIZE_FORMAT"\n", | ||
26 | item->size, item->cmp, item->count); | ||
27 | } | ||
28 | } | ||
29 | -- | ||
30 | 2.21.3 | ||
31 | |||
diff --git a/meta-gnome/recipes-gnome/sysprof/sysprof_3.36.0.bb b/meta-gnome/recipes-gnome/sysprof/sysprof_3.42.0.bb index 1f8351fc39..bb8f90c19b 100644 --- a/meta-gnome/recipes-gnome/sysprof/sysprof_3.36.0.bb +++ b/meta-gnome/recipes-gnome/sysprof/sysprof_3.42.0.bb | |||
@@ -14,12 +14,7 @@ DEPENDS += " \ | |||
14 | glib-2.0 \ | 14 | glib-2.0 \ |
15 | " | 15 | " |
16 | 16 | ||
17 | SRC_URI[archive.md5sum] = "3956e82b8744715006dde59e0ce8910b" | 17 | SRC_URI[archive.sha256sum] = "3c16e03efdfe5d3e71c4d239c67741ad37f72ce8971e2f7faf168dbd5e93e886" |
18 | SRC_URI[archive.sha256sum] = "8670db4dacf7b219d30c575c465b17c8ed6724dbade347f2cde9548bff039108" | ||
19 | SRC_URI += " \ | ||
20 | file://0001-sysprof-Define-NT_GNU_BUILD_ID-if-undefined.patch \ | ||
21 | file://0002-tests-use-G_GSIZE_FORMAT-instead-of-G_GUINT64_FORMAT.patch \ | ||
22 | " | ||
23 | 18 | ||
24 | PACKAGECONFIG ?= "${@bb.utils.contains('DISTRO_FEATURES', 'polkit', 'sysprofd', '', d)} \ | 19 | PACKAGECONFIG ?= "${@bb.utils.contains('DISTRO_FEATURES', 'polkit', 'sysprofd', '', d)} \ |
25 | ${@bb.utils.contains('DISTRO_FEATURES', 'polkit', 'libsysprof', '', d)} \ | 20 | ${@bb.utils.contains('DISTRO_FEATURES', 'polkit', 'libsysprof', '', d)} \ |