diff --git a/fixup-gdb-6.6-buildid-locate-rpm.patch b/fixup-gdb-6.6-buildid-locate-rpm.patch new file mode 100644 index 0000000..9e134a6 --- /dev/null +++ b/fixup-gdb-6.6-buildid-locate-rpm.patch @@ -0,0 +1,39 @@ +From 95ef5612ccbf31696e05e8699196eb7dd1c78918 Mon Sep 17 00:00:00 2001 +From: Tom de Vries +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 + #include + #include ++#include + + 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 + #include + #include ++#include + ]], [[ + void *h; + const char *const *rpmverp; + +base-commit: 6ff01b957d8b1bb00484e9c0f2c695f27e0bb7cd +-- +2.35.3 + diff --git a/gdb.changes b/gdb.changes index 9a116f3..06122ab 100644 --- a/gdb.changes +++ b/gdb.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Apr 10 08:22:47 UTC 2024 - Tom de Vries + +- Patches added (bsc#1220490): + * fixup-gdb-6.6-buildid-locate-rpm.patch + ------------------------------------------------------------------- Wed Mar 20 09:53:08 UTC 2024 - Richard Biener diff --git a/gdb.spec b/gdb.spec index c42b4dc..93bcd62 100644 --- a/gdb.spec +++ b/gdb.spec @@ -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