Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package asteroid for openSUSE:Factory 
checked in at 2025-12-09 12:48:36
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/asteroid (Old)
 and      /work/SRC/openSUSE:Factory/.asteroid.new.1939 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "asteroid"

Tue Dec  9 12:48:36 2025 rev:5 rq:1321535 version:1.2.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/asteroid/asteroid.changes        2025-04-20 
19:49:54.623734628 +0200
+++ /work/SRC/openSUSE:Factory/.asteroid.new.1939/asteroid.changes      
2025-12-09 12:56:05.666423982 +0100
@@ -1,0 +2,5 @@
+Mon Dec  8 09:28:33 UTC 2025 - Bernhard Wiedemann <[email protected]>
+
+- Add fix-build.patch
+
+-------------------------------------------------------------------

New:
----
  fix-build.patch

----------(New B)----------
  New:
- Add fix-build.patch
----------(New E)----------

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

Other differences:
------------------
++++++ asteroid.spec ++++++
--- /var/tmp/diff_new_pack.Di45BL/_old  2025-12-09 12:56:07.202488778 +0100
+++ /var/tmp/diff_new_pack.Di45BL/_new  2025-12-09 12:56:07.202488778 +0100
@@ -27,6 +27,7 @@
 Url:            https://chazomaticus.github.io/asteroid/
 Source0:        %{name}-%{version}+git-64869df.tar.bz2
 Source1:        generate-service-file.sh
+Patch0:         fix-build.patch
 BuildRequires:  cmake >= 3.5
 BuildRequires:  fdupes
 BuildRequires:  freeglut-devel
@@ -47,7 +48,7 @@
 face-melting sound effects, and infinite playability.
 
 %prep
-%setup -q -n %{name}-%{version}+git-%{shortcommit}
+%autosetup -n %{name}-%{version}+git-%{shortcommit} -p1
 
 # fix include
 sed -i -e 's|${OPENGL_LIBRARIES}|-lm ${OPENGL_LIBRARIES}|' \
@@ -56,6 +57,7 @@
 %build
 # Not works build with %%cmake
 cmake . -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \
+        -DOpenGL_GL_PREFERENCE=GLVND \
         -DCMAKE_POLICY_VERSION_MINIMUM=3.5
 make %{?_smp_mflags}
 

++++++ _service ++++++
--- /var/tmp/diff_new_pack.Di45BL/_old  2025-12-09 12:56:07.242490465 +0100
+++ /var/tmp/diff_new_pack.Di45BL/_new  2025-12-09 12:56:07.246490634 +0100
@@ -1,7 +1,7 @@
 <services>
 
    <service name="tar_scm" mode="localonly">
-     <param name="url">git://github.com/chazomaticus/asteroid.git</param>
+     <param name="url">https://github.com/chazomaticus/asteroid.git</param>
      <param name="scm">git</param>
      <param name="version">1.2.1+git-64869df</param>
      <param name="changesgenerate">enable</param>

++++++ fix-build.patch ++++++
>From eb53fb6791252e1ef550696068157de92fc99a26 Mon Sep 17 00:00:00 2001
From: "Bernhard M. Wiedemann" <[email protected]>
Date: Mon, 8 Dec 2025 10:39:38 +0100
Subject: [PATCH] Fix compilation with gcc-15

for openSUSE Tumbleweed
---
 src/main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main.c b/src/main.c
index 96b4347..0c96434 100644
--- a/src/main.c
+++ b/src/main.c
@@ -245,7 +245,7 @@ void GameTimer(int v)
 }
 
 #if(CFG_GTK)
-static gboolean DisplayDialog()
+static int DisplayDialog(void *param)
 {
    GtkWidget * dialog = gtk_message_dialog_new(NULL,
       GTK_DIALOG_MODAL, GTK_MESSAGE_INFO, GTK_BUTTONS_OK, ASTEROIDS_ABOUT);
-- 
2.52.0

Reply via email to