SHA256
1
0
forked from pool/dpdk
Ana Guerrero 2024-09-08 09:59:08 +00:00 committed by Git OBS Bridge
commit 6a4f372221
3 changed files with 41 additions and 1 deletions

View File

@ -0,0 +1,32 @@
From a351bb62c81223c8e4727484ae54766ca8a6926f Mon Sep 17 00:00:00 2001
From: Guillaume Gardet <Guillaume.Gardet@arm.com>
Date: Thu, 29 Aug 2024 16:33:19 +0200
Subject: [PATCH] examples/vm_power_manager: add missing header
strtol is defined in stdlib.h
Bugzilla ID: 1530
Signed-off-by: Guillaume Gardet <guillaume.gardet@arm.com>
EDIT: drop .mailmap part for backport
---
.mailmap | 1 +
examples/vm_power_manager/guest_cli/vm_power_cli_guest.c | 1 +
2 files changed, 2 insertions(+)
diff --git a/examples/vm_power_manager/guest_cli/vm_power_cli_guest.c b/examples/vm_power_manager/guest_cli/vm_power_cli_guest.c
index 5eddb47847..c153a1f8e0 100644
--- a/examples/vm_power_manager/guest_cli/vm_power_cli_guest.c
+++ b/examples/vm_power_manager/guest_cli/vm_power_cli_guest.c
@@ -6,6 +6,7 @@
#include <stdint.h>
#include <string.h>
#include <stdio.h>
+#include <stdlib.h>
#include <termios.h>
#include <cmdline_rdline.h>
--
2.46.0

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Sep 5 11:40:32 UTC 2024 - Guillaume GARDET <guillaume.gardet@opensuse.org>
- Fix build on aarch64 with gcc14:
* 0001-examples-vm_power_manager-add-missing-header.patch
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Sep 2 06:15:32 UTC 2024 - Duraisankar P <Duraisankar.pitchumani@suse.com> Mon Sep 2 06:15:32 UTC 2024 - Duraisankar P <Duraisankar.pitchumani@suse.com>

View File

@ -1,5 +1,5 @@
# #
# spec file # spec file for package dpdk
# #
# Copyright (c) 2024 SUSE LLC # Copyright (c) 2024 SUSE LLC
# #
@ -54,6 +54,8 @@ URL: https://www.dpdk.org/
Source: https://fast.dpdk.org/rel/dpdk-%{version}.tar.xz Source: https://fast.dpdk.org/rel/dpdk-%{version}.tar.xz
# PATCH-FIX-OPENSUSE PATCH-FEATURE-UPSTREAM # PATCH-FIX-OPENSUSE PATCH-FEATURE-UPSTREAM
Patch0: 0001-fix-cpu-compatibility.patch Patch0: 0001-fix-cpu-compatibility.patch
# PATCH-FIX-UPSTREAM - https://bugs.dpdk.org/show_bug.cgi?id=1530
Patch1: 0001-examples-vm_power_manager-add-missing-header.patch
BuildRequires: binutils BuildRequires: binutils
BuildRequires: doxygen BuildRequires: doxygen
BuildRequires: fdupes BuildRequires: fdupes