--- /dev/null
+From 85384c42758748a3e17ce0e64bf96f78588d5e17 Mon Sep 17 00:00:00 2001
+From: wchang kim <wchang.kim@samsung.com>
+Date: Tue, 18 Jun 2024 18:38:32 +0900
+Subject: [PATCH] Fixed the build error for gcc-14
+
+Change-Id: I1c774596cd973cb59a593d2d4511c92d5edd5c70
+---
+ testdemangle.c | 1 +
+ unwind.h | 2 +-
+ 2 files changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/testdemangle.c b/testdemangle.c
+index c2b3d56..5d95926 100644
+--- a/testdemangle.c
++++ b/testdemangle.c
+@@ -1,4 +1,5 @@
+ #include "elfparser.h"
++#include <stdio.h>
+
+ int
+ main ()
+diff --git a/unwind.h b/unwind.h
+index 2827e74..0924462 100644
+--- a/unwind.h
++++ b/unwind.h
+@@ -1,3 +1,3 @@
+ #include <glib.h>
+
+-void unwind (const guchar *data);
++void unwind (ElfParser *elf);
+--
+2.25.1
+
Url: http://sysprof.com/
Source: sysprof-%version.tar.bz2
Source1001: sysprof.manifest
+Source1002: fixed_the_build_error_for_gcc014.patch
Recommends: sysprof-cli
%description
%prep
%setup -q -n sysprof-%version
cp %{SOURCE1001} .
+%{__patch} -p1 < %{SOURCE1002}
%build
NOCONFIGURE=1 ./autogen.sh