Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package endless-sky for openSUSE:Factory 
checked in at 2023-04-14 16:56:24
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/endless-sky (Old)
 and      /work/SRC/openSUSE:Factory/.endless-sky.new.19717 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "endless-sky"

Fri Apr 14 16:56:24 2023 rev:10 rq:1079465 version:0.9.14

Changes:
--------
--- /work/SRC/openSUSE:Factory/endless-sky/endless-sky.changes  2021-12-05 
22:46:35.545548047 +0100
+++ /work/SRC/openSUSE:Factory/.endless-sky.new.19717/endless-sky.changes       
2023-04-14 16:56:25.289050666 +0200
@@ -1,0 +2,5 @@
+Wed Apr 12 10:16:04 UTC 2023 - Dominique Leuenberger <[email protected]>
+
+- Add 8235.patch: upstream PR 8235 to fix build using GCC 13.
+
+-------------------------------------------------------------------

New:
----
  8235.patch

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

Other differences:
------------------
++++++ endless-sky.spec ++++++
--- /var/tmp/diff_new_pack.LnYHus/_old  2023-04-14 16:56:26.233056100 +0200
+++ /var/tmp/diff_new_pack.LnYHus/_new  2023-04-14 16:56:26.237056123 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package endless-sky
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -27,6 +27,8 @@
 Source99:       %{name}-rpmlintrc
 # PATCH-FIX-OPENSUSE fix-data-path.patch -- Fix installation path of data
 Patch0:         fix-data-path.patch
+# Patch1 based on 
https://patch-diff.githubusercontent.com/raw/endless-sky/endless-sky/pull/8235.patch
+Patch1:         8235.patch
 BuildRequires:  desktop-file-utils
 BuildRequires:  fdupes
 BuildRequires:  gcc-c++
@@ -54,12 +56,12 @@
 %autosetup -p1
 
 %build
-export CXXFLAGS="%optflags -fvisibility=hidden -fvisibility-inlines-hidden"
+export CXXFLAGS="%optflags -fvisibility=hidden -fvisibility-inlines-hidden 
-Wno-error=dangling-reference"
 export CFLAGS="%optflags -fvisibility=hidden"
 scons PREFIX=%{_prefix} DESTDIR=%{buildroot}
 
 %install
-export CXXFLAGS="%optflags -fvisibility=hidden -fvisibility-inlines-hidden"
+export CXXFLAGS="%optflags -fvisibility=hidden -fvisibility-inlines-hidden 
-Wno-error=dangling-reference"
 export CFLAGS="%optflags -fvisibility=hidden"
 scons install PREFIX=%{_prefix} DESTDIR=%{buildroot}
 

++++++ 8235.patch ++++++
>From dd13181fcd26eb574981f3c94a91ba0bf1c4b830 Mon Sep 17 00:00:00 2001
From: Heiko Becker <[email protected]>
Date: Thu, 26 Jan 2023 21:43:39 +0100
Subject: [PATCH] Fix build with gcc 13 by including <cstdint>

Like other versions before, gcc 13 moved some includes around and as a
result <cstdint> is no longer transitively included. Explicitly include
it for uint32_t.
---
 source/ImageBuffer.h | 1 +
 source/Sound.cpp     | 1 +
 2 files changed, 2 insertions(+)

Index: endless-sky-0.9.14/source/ImageBuffer.h
===================================================================
--- endless-sky-0.9.14.orig/source/ImageBuffer.h
+++ endless-sky-0.9.14/source/ImageBuffer.h
@@ -13,6 +13,7 @@ PARTICULAR PURPOSE.  See the GNU General
 #ifndef IMAGE_BUFFER_H_
 #define IMAGE_BUFFER_H_
 
+#include <cstdint>
 #include <string>
 
 
Index: endless-sky-0.9.14/source/Sound.cpp
===================================================================
--- endless-sky-0.9.14.orig/source/Sound.cpp
+++ endless-sky-0.9.14/source/Sound.cpp
@@ -21,6 +21,7 @@ PARTICULAR PURPOSE.  See the GNU General
 #include <OpenAL/al.h>
 #endif
 
+#include <cstdint>
 #include <cstdio>
 #include <vector>
 

++++++ fix-data-path.patch ++++++
--- /var/tmp/diff_new_pack.LnYHus/_old  2023-04-14 16:56:26.289056423 +0200
+++ /var/tmp/diff_new_pack.LnYHus/_new  2023-04-14 16:56:26.293056445 +0200
@@ -1,7 +1,8 @@
-diff -Nur endless-sky-0.9.14/endless-sky.6 new/endless-sky.6
---- endless-sky-0.9.14/endless-sky.6   2021-07-11 22:56:35.000000000 +0200
-+++ new/endless-sky.6  2021-12-04 14:40:42.589146795 +0100
-@@ -17,7 +17,7 @@
+Index: endless-sky-0.9.14/endless-sky.6
+===================================================================
+--- endless-sky-0.9.14.orig/endless-sky.6
++++ endless-sky-0.9.14/endless-sky.6
+@@ -17,7 +17,7 @@ Most of the controls should be self\-exp
  
  For a manual and other information, visit https://endless\-sky.github.io
  
@@ -10,10 +11,11 @@
  
  .SH OPTIONS
  .IP \fB\-h,\ \-\-help
-diff -Nur endless-sky-0.9.14/SConstruct new/SConstruct
---- endless-sky-0.9.14/SConstruct      2021-07-11 22:56:35.000000000 +0200
-+++ new/SConstruct     2021-12-04 14:40:42.589146795 +0100
-@@ -198,11 +198,11 @@
+Index: endless-sky-0.9.14/SConstruct
+===================================================================
+--- endless-sky-0.9.14.orig/SConstruct
++++ endless-sky-0.9.14/SConstruct
+@@ -198,11 +198,11 @@ def RecursiveInstall(env, target, source
                        RecursiveInstall(env, pathjoin(target, name), 
node.abspath)
                else:
                        env.Install(target, node)
@@ -30,10 +32,11 @@
  
  # Make the word "install" in the command line do an installation.
  env.Alias("install", "$DESTDIR$PREFIX")
-diff -Nur endless-sky-0.9.14/source/Files.cpp new/source/Files.cpp
---- endless-sky-0.9.14/source/Files.cpp        2021-07-11 22:56:35.000000000 
+0200
-+++ new/source/Files.cpp       2021-12-04 14:40:42.589146795 +0100
-@@ -119,7 +119,7 @@
+Index: endless-sky-0.9.14/source/Files.cpp
+===================================================================
+--- endless-sky-0.9.14.orig/source/Files.cpp
++++ endless-sky-0.9.14/source/Files.cpp
+@@ -119,7 +119,7 @@ void Files::Init(const char * const *arg
        // the executable, but are under the same prefix (/usr or /usr/local).
        static const string LOCAL_PATH = "/usr/local/";
        static const string STANDARD_PATH = "/usr/";
@@ -42,4 +45,16 @@
        if(!resources.compare(0, LOCAL_PATH.length(), LOCAL_PATH))
                resources = LOCAL_PATH + RESOURCE_PATH;
        else if(!resources.compare(0, STANDARD_PATH.length(), STANDARD_PATH))
+Index: endless-sky-0.9.14/source/News.h
+===================================================================
+--- endless-sky-0.9.14.orig/source/News.h
++++ endless-sky-0.9.14/source/News.h
+@@ -18,6 +18,7 @@ PARTICULAR PURPOSE.  See the GNU General
+ #include "Phrase.h"
+ 
+ #include <string>
++#include <cstdint>
+ #include <vector>
+ 
+ class DataNode;
 

Reply via email to