Hello community,

here is the log from the commit of package dustrac for openSUSE:Factory checked 
in at 2020-06-05 20:21:07
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/dustrac (Old)
 and      /work/SRC/openSUSE:Factory/.dustrac.new.3606 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "dustrac"

Fri Jun  5 20:21:07 2020 rev:5 rq:811633 version:2.0.5

Changes:
--------
--- /work/SRC/openSUSE:Factory/dustrac/dustrac.changes  2020-03-30 
23:07:18.228309834 +0200
+++ /work/SRC/openSUSE:Factory/.dustrac.new.3606/dustrac.changes        
2020-06-05 20:27:35.245052776 +0200
@@ -1,0 +2,6 @@
+Thu Jun  4 17:28:54 UTC 2020 - Christophe Giboudeaux <[email protected]>
+
+- Add upstream patch:
+  * 0001-Include-stdexcept-for-std-runtime_error.patch
+
+-------------------------------------------------------------------

New:
----
  0001-Include-stdexcept-for-std-runtime_error.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ dustrac.spec ++++++
--- /var/tmp/diff_new_pack.7zbxqG/_old  2020-06-05 20:27:36.737057434 +0200
+++ /var/tmp/diff_new_pack.7zbxqG/_new  2020-06-05 20:27:36.737057434 +0200
@@ -24,6 +24,8 @@
 Group:          Amusements/Games/Action/Race
 URL:            https://juzzlin.github.io/DustRacing2D/
 Source:         
https://github.com/juzzlin/DustRacing2D/archive/%{version}/dustrac-%{version}.tar.gz
+# PATCH-FIX-UPSTREAM
+Patch0:         0001-Include-stdexcept-for-std-runtime_error.patch
 BuildRequires:  cmake >= 2.8.12
 BuildRequires:  dejavu-fonts
 BuildRequires:  fdupes
@@ -46,6 +48,7 @@
 
 %prep
 %setup -q -n DustRacing2D-%{version}
+%patch0 -p1
 
 %build
 %cmake \

++++++ 0001-Include-stdexcept-for-std-runtime_error.patch ++++++
>From 6213eb96adc9674586957805b92ffedbbf516953 Mon Sep 17 00:00:00 2001
From: Pino Toscano <[email protected]>
Date: Fri, 17 Apr 2020 13:25:12 +0200
Subject: [PATCH] Include <stdexcept> for std::runtime_error

It was implicitly pulled before, and in GCC 10 it will not be anymore.
---
 src/game/audio/openaloggdata.cpp | 1 +
 src/game/audio/openalsource.cpp  | 1 +
 src/game/audio/openalwavdata.cpp | 1 +
 3 files changed, 3 insertions(+)

diff --git a/src/game/audio/openaloggdata.cpp b/src/game/audio/openaloggdata.cpp
index 56634c2..4a2ab88 100644
--- a/src/game/audio/openaloggdata.cpp
+++ b/src/game/audio/openaloggdata.cpp
@@ -19,6 +19,7 @@
 
 #include <cstdio>
 #include <vector>
+#include <stdexcept>
 
 #include <vorbis/vorbisfile.h>
 
diff --git a/src/game/audio/openalsource.cpp b/src/game/audio/openalsource.cpp
index 9d2bb7f..37a4272 100644
--- a/src/game/audio/openalsource.cpp
+++ b/src/game/audio/openalsource.cpp
@@ -19,6 +19,7 @@
 #include <AL/alc.h>
 
 #include <memory>
+#include <stdexcept>
 
 static bool checkError()
 {
diff --git a/src/game/audio/openalwavdata.cpp b/src/game/audio/openalwavdata.cpp
index 3a9fc20..015a11d 100644
--- a/src/game/audio/openalwavdata.cpp
+++ b/src/game/audio/openalwavdata.cpp
@@ -25,6 +25,7 @@
 #include <AL/alc.h>
 #include <cassert>
 #include <cstdio>
+#include <stdexcept>
 
 static bool checkError()
 {
-- 
2.26.2


Reply via email to