public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Jeff Law <law@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/ddnet] exclude-empty-files: Add missing #include for gcc-11
Date: Thu, 03 Sep 2026 00:09:58 GMT [thread overview]
Message-ID: <178839419821.1.5790361421526136263.rpms-ddnet-9c3e493ac5ae@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/ddnet
Branch : exclude-empty-files
Commit : 9c3e493ac5ae2ea7e6bcff967ec0e2232c6c1866
Author : Jeff Law <law@redhat.com>
Date : 2020-10-13T16:53:55-06:00
Stats : +18/-1 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/ddnet/c/9c3e493ac5ae2ea7e6bcff967ec0e2232c6c1866?branch=exclude-empty-files
Log:
Add missing #include for gcc-11
---
diff --git a/ddnet-gcc11.patch b/ddnet-gcc11.patch
new file mode 100644
index 0000000..57f5ea4
--- /dev/null
+++ b/ddnet-gcc11.patch
@@ -0,0 +1,12 @@
+diff --git a/src/game/editor/editor.cpp b/src/game/editor/editor.cpp
+index 29ef060..8d89563 100644
+--- a/src/game/editor/editor.cpp
++++ b/src/game/editor/editor.cpp
+@@ -2,6 +2,7 @@
+ /* If you are missing that file, acquire a complete release at teeworlds.com. */
+
+ #include <algorithm>
++#include <limits>
+
+ #include <base/color.h>
+ #include <base/system.h>
diff --git a/ddnet.spec b/ddnet.spec
index fd0b6e6..8819ec6 100644
--- a/ddnet.spec
+++ b/ddnet.spec
@@ -3,7 +3,7 @@
Name: ddnet
Version: 15.1.2
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: DDraceNetwork, a cooperative racing mod of Teeworlds
# Disabled while can't fix build
@@ -43,6 +43,9 @@ Patch2: 0002-Unbundle-md5.patch
# Unbundle json-parser
Patch3: 0003-Unbundle-json-parser.patch
+# Fix missing header for gcc-11
+Patch4: ddnet-gcc11.patch
+
# Fix warning: Could not complete Guile gdb module initialization from:
# /usr/share/gdb/guile/gdb/boot.scm
BuildRequires: gdb-headless
@@ -180,6 +183,8 @@ appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/*.appdata.xml
%changelog
+* Tue Oct 13 2020 Jeff Law <law@redhat.com> - 15.1.2-2
+- Fix missing #include for gcc-11
* Mon Oct 12 2020 Fedora Release Monitoring <release-monitoring@fedoraproject.org> - 15.1.2-1
- Update to 15.1.2 (#1887463)
reply other threads:[~2026-09-03 0:09 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178839419821.1.5790361421526136263.rpms-ddnet-9c3e493ac5ae@fedoraproject.org \
--to=law@redhat.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox