diff --git a/gdb-fedora-libncursesw.patch b/gdb-fedora-libncursesw.patch deleted file mode 100644 index 99214df..0000000 --- a/gdb-fedora-libncursesw.patch +++ /dev/null @@ -1,71 +0,0 @@ -From FEDORA_PATCHES Mon Sep 17 00:00:00 2001 -From: Fedora GDB patches -Date: Fri, 27 Oct 2017 21:07:50 +0200 -Subject: gdb-fedora-libncursesw.patch - -;; Force libncursesw over libncurses to match the includes (RH BZ 1270534). -;;=push+jan - -Fedora: Force libncursesw over libncurses to match the includes. -https://bugzilla.redhat.com/show_bug.cgi?id=1270534 - -diff --git a/gdb/configure b/gdb/configure ---- a/gdb/configure -+++ b/gdb/configure -@@ -20663,6 +20663,7 @@ if test x"$prefer_curses" = xyes; then - # search /usr/local/include, if ncurses is installed in /usr/local. A - # default installation of ncurses on alpha*-dec-osf* will lead to such - # a situation. -+ # Fedora: Force libncursesw over libncurses to match the includes. - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing waddstr" >&5 - $as_echo_n "checking for library containing waddstr... " >&6; } - if ${ac_cv_search_waddstr+:} false; then : -@@ -20687,7 +20688,7 @@ return waddstr (); - return 0; - } - _ACEOF --for ac_lib in '' ncursesw ncurses cursesX curses; do -+for ac_lib in '' ncursesw; do - if test -z "$ac_lib"; then - ac_res="none required" - else -@@ -20759,6 +20760,7 @@ case $host_os in - esac - - # These are the libraries checked by Readline. -+# Fedora: Force libncursesw over libncurses to match the includes. - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing tgetent" >&5 - $as_echo_n "checking for library containing tgetent... " >&6; } - if ${ac_cv_search_tgetent+:} false; then : -@@ -20783,7 +20785,7 @@ return tgetent (); - return 0; - } - _ACEOF --for ac_lib in '' termcap tinfow tinfo curses ncursesw ncurses; do -+for ac_lib in '' ncursesw; do - if test -z "$ac_lib"; then - ac_res="none required" - else -diff --git a/gdb/configure.ac b/gdb/configure.ac ---- a/gdb/configure.ac -+++ b/gdb/configure.ac -@@ -555,7 +555,8 @@ if test x"$prefer_curses" = xyes; then - # search /usr/local/include, if ncurses is installed in /usr/local. A - # default installation of ncurses on alpha*-dec-osf* will lead to such - # a situation. -- AC_SEARCH_LIBS(waddstr, [ncursesw ncurses cursesX curses], -+ # Fedora: Force libncursesw over libncurses to match the includes. -+ AC_SEARCH_LIBS(waddstr, [ncursesw], - [curses_found=yes - AC_DEFINE([HAVE_LIBCURSES], [1], - [Define to 1 if curses is enabled.]) -@@ -595,7 +596,8 @@ case $host_os in - esac - - # These are the libraries checked by Readline. --AC_SEARCH_LIBS(tgetent, [termcap tinfow tinfo curses ncursesw ncurses]) -+# Fedora: Force libncursesw over libncurses to match the includes. -+AC_SEARCH_LIBS(tgetent, [ncursesw]) - - if test "$ac_cv_search_tgetent" = no; then - CONFIG_OBS="$CONFIG_OBS stub-termcap.o" diff --git a/gdb.changes b/gdb.changes index 13c97e4..364f027 100644 --- a/gdb.changes +++ b/gdb.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Fri Jan 24 13:37:51 UTC 2025 - Tom de Vries + +- Update to fedora rawhide @ f9386b1. +- Patches dropped: + * gdb-fedora-libncursesw.patch + ------------------------------------------------------------------- Fri Jan 24 13:34:07 UTC 2025 - Tom de Vries diff --git a/gdb.spec b/gdb.spec index 5148028..9a9ccb8 100644 --- a/gdb.spec +++ b/gdb.spec @@ -192,29 +192,28 @@ Patch22: gdb-rhbz947564-findvar-assertion-frame-failed-testcase.patch Patch23: gdb-rhbz1007614-memleak-infpy_read_memory-test.patch Patch26: gdb-rhbz1149205-catch-syscall-after-fork-test.patch Patch27: gdb-rhbz1084404-ppc64-s390x-wrong-prologue-skip-O2-g-3of3.patch -Patch28: gdb-fedora-libncursesw.patch -Patch29: gdb-rhbz1261564-aarch64-hw-watchpoint-test.patch -Patch31: gdb-rhbz2232086-refactor-selftest-support.patch -Patch32: gdb-rhbz-2232086-reduce-size-of-gdb-index.patch -Patch33: gdb-rhbz-2232086-cpp-ify-mapped-symtab.patch -Patch34: gdb-rhbz-2232086-generate-gdb-index-consistently.patch -Patch35: gdb-rhbz-2232086-generate-dwarf-5-index-consistently.patch -Patch36: gdb-rhbz2250652-gdbpy_gil.patch -Patch37: gdb-rhbz2250652-avoid-PyOS_ReadlineTState.patch -Patch38: gdb-ftbs-swapped-calloc-args.patch -Patch39: gdb-rhbz2261580-intrusive_list-assertion-fix.patch -Patch40: gdb-sync-coffread-with-elfread.patch -Patch41: gdb-merge-debug-symbol-lookup.patch -Patch42: gdb-refactor-find-and-add-separate-symbol-file.patch -Patch43: gdb-add-missing-debug-ext-lang-hook.patch -Patch44: gdb-add-missing-debug-info-python-hook.patch -Patch45: gdb-remove-use-of-py-isascii -Patch46: gdb-remove-path-in-test-name.patch -Patch47: gdb-do-not-import-py-curses-ascii-module.patch -Patch48: gdb-reformat-missing-debug-py-file.patch -Patch49: gdb-handle-no-python-gdb-module.patch -Patch50: gdb-add-rpm-suggestion-script.patch -Patch51: gdb-rhbz2277160-apx-disasm.patch +Patch28: gdb-rhbz1261564-aarch64-hw-watchpoint-test.patch +Patch30: gdb-rhbz2232086-refactor-selftest-support.patch +Patch31: gdb-rhbz-2232086-reduce-size-of-gdb-index.patch +Patch32: gdb-rhbz-2232086-cpp-ify-mapped-symtab.patch +Patch33: gdb-rhbz-2232086-generate-gdb-index-consistently.patch +Patch34: gdb-rhbz-2232086-generate-dwarf-5-index-consistently.patch +Patch35: gdb-rhbz2250652-gdbpy_gil.patch +Patch36: gdb-rhbz2250652-avoid-PyOS_ReadlineTState.patch +Patch37: gdb-ftbs-swapped-calloc-args.patch +Patch38: gdb-rhbz2261580-intrusive_list-assertion-fix.patch +Patch39: gdb-sync-coffread-with-elfread.patch +Patch40: gdb-merge-debug-symbol-lookup.patch +Patch41: gdb-refactor-find-and-add-separate-symbol-file.patch +Patch42: gdb-add-missing-debug-ext-lang-hook.patch +Patch43: gdb-add-missing-debug-info-python-hook.patch +Patch44: gdb-remove-use-of-py-isascii +Patch45: gdb-remove-path-in-test-name.patch +Patch46: gdb-do-not-import-py-curses-ascii-module.patch +Patch47: gdb-reformat-missing-debug-py-file.patch +Patch48: gdb-handle-no-python-gdb-module.patch +Patch49: gdb-add-rpm-suggestion-script.patch +Patch50: gdb-rhbz2277160-apx-disasm.patch #Fedora Packages end # Fedora patches fixup @@ -723,7 +722,7 @@ find -name "*.info*"|xargs rm -f %patch -P 26 -p1 %patch -P 27 -p1 %patch -P 28 -p1 -%patch -P 29 -p1 +%patch -P 30 -p1 %patch -P 31 -p1 %patch -P 32 -p1 %patch -P 33 -p1 @@ -744,7 +743,6 @@ find -name "*.info*"|xargs rm -f %patch -P 48 -p1 %patch -P 49 -p1 %patch -P 50 -p1 -%patch -P 51 -p1 #Fedora patching end %patch -P 1003 -p1