public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/gdb] gdb-17.2-rebase-f44: Add -Wno-deprecated-declarations to --enable-gdb-build-warnings to work
@ 2026-06-28  0:00 Kevin Buettner
  0 siblings, 0 replies; only message in thread
From: Kevin Buettner @ 2026-06-28  0:00 UTC (permalink / raw)
  To: git-commits

          A new commit has been pushed.

          Repo   : rpms/gdb
          Branch : gdb-17.2-rebase-f44
          Commit : 08e6f457a25b5fd786f82843f32032b9253dede6
          Author : Kevin Buettner <kevinb@redhat.com>
          Date   : 2021-12-06T13:20:59-07:00
          Stats  : +6/-2 in 1 file(s)
          URL    : https://src.fedoraproject.org/rpms/gdb/c/08e6f457a25b5fd786f82843f32032b9253dede6?branch=gdb-17.2-rebase-f44

          Log:
          Add -Wno-deprecated-declarations to --enable-gdb-build-warnings to work

around the python 3.11 deprecation of Py_SetProgramName.

---
diff --git a/gdb.spec b/gdb.spec
index 3509e9b..2b5240b 100644
--- a/gdb.spec
+++ b/gdb.spec
@@ -37,7 +37,7 @@ Version: 11.1
 
 # The release always contains a leading reserved number, start it at 1.
 # `upstream' is not a part of `name' to stay fully rpm dependencies compatible for the testing.
-Release: 6%{?dist}
+Release: 7%{?dist}
 
 License: GPLv3+ and GPLv3+ with exceptions and GPLv2+ and GPLv2+ with exceptions and GPL+ and LGPLv2+ and LGPLv3+ and BSD and Public Domain and GFDL
 # Do not provide URL for snapshots as the file lasts there only for 2 days.
@@ -518,7 +518,7 @@ COMMON_GDB_CONFIGURE_FLAGS="\
 	--mandir=%{_mandir}					\
 	--infodir=%{_infodir}					\
 	--with-gdb-datadir=%{_datadir}/gdb			\
-	--enable-gdb-build-warnings=,-Wno-unused		\
+	--enable-gdb-build-warnings=,-Wno-unused,-Wno-deprecated-declarations \
 	--enable-build-with-cxx					\
 %ifnarch %{ix86} alpha ppc s390 s390x x86_64 ppc64 ppc64le sparc sparcv9 sparc64 %{arm} aarch64
 	--disable-werror					\
@@ -1144,6 +1144,10 @@ fi
 %endif
 
 %changelog
+* Mon Dec 6 2021 Kevin Buettner - 11.1-7
+- Add -Wno-deprecated-declarations to --enable-gdb-build-warnings to work
+  around the python 3.11 deprecation of Py_SetProgramName.
+
 * Fri Nov 12 2021 Timm Bäder <tbaeder@redhat.com> - 11.1-6
 - Use %%set_build_flags to populate all relevant build flags
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-06-28  0:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-28  0:00 [rpms/gdb] gdb-17.2-rebase-f44: Add -Wno-deprecated-declarations to --enable-gdb-build-warnings to work Kevin Buettner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox