public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/ddnet] exclude-empty-files: Remove now unnecessary patch
@ 2026-09-03 0:10 Rafael Fontenelle
0 siblings, 0 replies; only message in thread
From: Rafael Fontenelle @ 2026-09-03 0:10 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/ddnet
Branch : exclude-empty-files
Commit : 547a23d1540478fcc2a1bfc9d288a8d61d746e04
Author : Rafael Fontenelle <rafaelff@gnome.org>
Date : 2025-05-12T18:22:25+00:00
Stats : +1/-41 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/ddnet/c/547a23d1540478fcc2a1bfc9d288a8d61d746e04?branch=exclude-empty-files
Log:
Remove now unnecessary patch
---
diff --git a/0003-let-dbg_assert-format-the-string.patch b/0003-let-dbg_assert-format-the-string.patch
deleted file mode 100644
index dafc6b1..0000000
--- a/0003-let-dbg_assert-format-the-string.patch
+++ /dev/null
@@ -1,38 +0,0 @@
-From 7b9a9f231868c1cb0e7b413f39b5d26f9964f1e9 Mon Sep 17 00:00:00 2001
-From: BlaiZephyr <arbeit.t.lechner@gmail.com>
-Date: Sat, 29 Mar 2025 23:20:53 +0100
-Subject: [PATCH] let dbg_assert format the string
-
----
- src/base/system.cpp | 4 +---
- src/engine/client/backend_sdl.cpp | 2 +-
- 2 files changed, 2 insertions(+), 4 deletions(-)
-
-diff --git a/src/base/system.cpp b/src/base/system.cpp
-index 75a76de4309..7daf1528d82 100644
---- a/src/base/system.cpp
-+++ b/src/base/system.cpp
-@@ -1166,9 +1166,7 @@ void net_addr_str(const NETADDR *addr, char *string, int max_length, bool add_po
- }
- else
- {
-- char error[64];
-- str_format(error, sizeof(error), "unknown NETADDR type %d", addr->type);
-- dbg_assert(false, error);
-+ dbg_assert(false, "unknown NETADDR type %d", addr->type);
- }
- }
-
-diff --git a/src/engine/client/backend_sdl.cpp b/src/engine/client/backend_sdl.cpp
-index 48c5c420d5e..00d041c16d3 100644
---- a/src/engine/client/backend_sdl.cpp
-+++ b/src/engine/client/backend_sdl.cpp
-@@ -165,7 +165,7 @@ void CGraphicsBackend_Threaded::ProcessError(const SGfxErrorContainer &Error)
- else
- VerboseStr.append(ErrStr.m_Err);
- }
-- dbg_assert(false, VerboseStr.c_str());
-+ dbg_assert(false, "%s", VerboseStr.c_str());
- }
-
- bool CGraphicsBackend_Threaded::GetWarning(std::vector<std::string> &WarningStrings)
diff --git a/ddnet.spec b/ddnet.spec
index 3eaaa9e..519bd97 100644
--- a/ddnet.spec
+++ b/ddnet.spec
@@ -37,9 +37,6 @@ Source0: https://github.com/ddnet/ddnet/archive/%{version}/%{name}-%{vers
Patch1: 0001-Disabled-network-lookup-test.patch
# Unbundle md5 and json-parser
Patch2: 0002-Unbundle-md5_and_json-parser.patch
-# Fixes "format not a string literal and no format arguments [-Werror=format-security]"
-# https://github.com/ddnet/ddnet/issues/9961
-Patch3: 0003-let-dbg_assert-format-the-string.patch
BuildRequires: desktop-file-utils
BuildRequires: libappstream-glib
@@ -184,6 +181,7 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop
* Mon May 12 2025 Packit <hello@packit.dev> - 19.2-1
- Update to version 19.2
- Resolves: rhbz#2363940
+- Remove 0003-let-dbg_assert-format-the-string.patch
* Thu Apr 03 2025 Rafael Fontenelle <rafaelff@gnome.org> - 19.1-2
- Disable Ipv4AndIpv6Work network test
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-09-03 0:10 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-03 0:10 [rpms/ddnet] exclude-empty-files: Remove now unnecessary patch Rafael Fontenelle
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox