- Patches added (bsc#1220490):

* fixup-gdb-6.6-buildid-locate-rpm.patch

OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gdb?expand=0&rev=380
This commit is contained in:
Tom de Vries 2024-04-10 15:43:01 +00:00 committed by Git OBS Bridge
parent 93003f4505
commit 9a26e73894
3 changed files with 47 additions and 0 deletions

View File

@ -0,0 +1,39 @@
From 95ef5612ccbf31696e05e8699196eb7dd1c78918 Mon Sep 17 00:00:00 2001
From: Tom de Vries <tdevries@suse.de>
Date: Sat, 9 Mar 2024 11:48:38 +0100
Subject: [PATCH] fixup
---
gdb/configure | 1 +
gdb/configure.ac | 1 +
2 files changed, 2 insertions(+)
diff --git a/gdb/configure b/gdb/configure
index a4e6de5bdbd..304e90ab07b 100755
--- a/gdb/configure
+++ b/gdb/configure
@@ -17920,6 +17920,7 @@ else
#include <rpm/rpmlib.h>
#include <dlfcn.h>
#include <errno.h>
+#include <string.h>
int
main ()
diff --git a/gdb/configure.ac b/gdb/configure.ac
index 831ecbb136b..845710f9098 100644
--- a/gdb/configure.ac
+++ b/gdb/configure.ac
@@ -206,6 +206,7 @@ if test "x$with_rpm" != "xno"; then
#include <rpm/rpmlib.h>
#include <dlfcn.h>
#include <errno.h>
+#include <string.h>
]], [[
void *h;
const char *const *rpmverp;
base-commit: 6ff01b957d8b1bb00484e9c0f2c695f27e0bb7cd
--
2.35.3

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Apr 10 08:22:47 UTC 2024 - Tom de Vries <tdevries@suse.com>
- Patches added (bsc#1220490):
* fixup-gdb-6.6-buildid-locate-rpm.patch
-------------------------------------------------------------------
Wed Mar 20 09:53:08 UTC 2024 - Richard Biener <rguenther@suse.com>

View File

@ -243,6 +243,7 @@ Patch1009: fixup-gdb-6.3-gstack-20050411.patch
Patch1010: fixup-gdb-6.3-attach-see-vdso-test.patch
Patch1011: fixup-gdb-lineno-makeup-test.patch
Patch1012: fixup-gdb-rhbz1261564-aarch64-hw-watchpoint-test.pat.patch
Patch1013: fixup-gdb-6.6-buildid-locate-rpm.patch
# openSUSE specific
@ -760,6 +761,7 @@ find -name "*.info*"|xargs rm -f
%patch -P 1010 -p1
%patch -P 1011 -p1
%patch -P 1012 -p1
%patch -P 1013 -p1
%patch -P 1100 -p1
%patch -P 1101 -p1