public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/ddnet] exclude-empty-files: Add missing #include for gcc-11
@ 2026-09-03  0:09 Jeff Law
  0 siblings, 0 replies; only message in thread
From: Jeff Law @ 2026-09-03  0:09 UTC (permalink / raw)
  To: git-commits

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)
 

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

only message in thread, other threads:[~2026-09-03  0:09 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:09 [rpms/ddnet] exclude-empty-files: Add missing #include for gcc-11 Jeff Law

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