summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-oe/recipes-graphics/gtkperf/gtkperf/0001-main.c-Define-prototype-for-setup_appdata.patch27
-rw-r--r--meta-oe/recipes-graphics/gtkperf/gtkperf_0.40.bb1
2 files changed, 28 insertions, 0 deletions
diff --git a/meta-oe/recipes-graphics/gtkperf/gtkperf/0001-main.c-Define-prototype-for-setup_appdata.patch b/meta-oe/recipes-graphics/gtkperf/gtkperf/0001-main.c-Define-prototype-for-setup_appdata.patch
new file mode 100644
index 0000000000..08e899b9a6
--- /dev/null
+++ b/meta-oe/recipes-graphics/gtkperf/gtkperf/0001-main.c-Define-prototype-for-setup_appdata.patch
@@ -0,0 +1,27 @@
1From 6b5f695cb206cd8b3cbcbcd7713e52772e89306b Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Fri, 2 Sep 2022 20:47:32 -0700
4Subject: [PATCH] main.c: Define prototype for setup_appdata
5
6Upstream-Status: Pending
7Signed-off-by: Khem Raj <raj.khem@gmail.com>
8---
9 src/main.c | 2 ++
10 1 file changed, 2 insertions(+)
11
12diff --git a/src/main.c b/src/main.c
13index c226799..b4ce6d1 100644
14--- a/src/main.c
15+++ b/src/main.c
16@@ -18,6 +18,8 @@
17 #include "callbacks.h"
18 #include "appdata.h"
19
20+void setup_appdata(AppData * appdata_in);
21+
22 int
23 main (int argc, char **argv)
24 {
25--
262.37.3
27
diff --git a/meta-oe/recipes-graphics/gtkperf/gtkperf_0.40.bb b/meta-oe/recipes-graphics/gtkperf/gtkperf_0.40.bb
index 0c4f819892..a70d31fed0 100644
--- a/meta-oe/recipes-graphics/gtkperf/gtkperf_0.40.bb
+++ b/meta-oe/recipes-graphics/gtkperf/gtkperf_0.40.bb
@@ -8,6 +8,7 @@ SRC_URI = "http://prdownloads.sourceforge.net/${BPN}/${BPN}_${PV}.tar.gz \
8 file://0001-Include-stdlib.h-for-exit-API.patch \ 8 file://0001-Include-stdlib.h-for-exit-API.patch \
9 file://0002-timing.c-Fix-format-security-errors.patch \ 9 file://0002-timing.c-Fix-format-security-errors.patch \
10 file://gettext.patch \ 10 file://gettext.patch \
11 file://0001-main.c-Define-prototype-for-setup_appdata.patch \
11 " 12 "
12 13
13SRC_URI[md5sum] = "4331dde4bb83865e15482885fcb0cc53" 14SRC_URI[md5sum] = "4331dde4bb83865e15482885fcb0cc53"