Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package freeglut for openSUSE:Factory 
checked in at 2025-04-07 17:34:54
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/freeglut (Old)
 and      /work/SRC/openSUSE:Factory/.freeglut.new.1907 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "freeglut"

Mon Apr  7 17:34:54 2025 rev:41 rq:1267042 version:3.2.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/freeglut/freeglut.changes        2022-03-28 
16:58:19.796787506 +0200
+++ /work/SRC/openSUSE:Factory/.freeglut.new.1907/freeglut.changes      
2025-04-07 17:35:00.832799999 +0200
@@ -1,0 +2,6 @@
+Wed Apr  2 17:38:46 UTC 2025 - Friedrich Haubensak <hs...@mail.de>
+
+- add freeglut-gcc15.patch from upstream to fix gcc-15 compile time
+  error
+
+-------------------------------------------------------------------

New:
----
  freeglut-gcc15.patch

BETA DEBUG BEGIN:
  New:
- add freeglut-gcc15.patch from upstream to fix gcc-15 compile time
  error
BETA DEBUG END:

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

Other differences:
------------------
++++++ freeglut.spec ++++++
--- /var/tmp/diff_new_pack.Bfjh8a/_old  2025-04-07 17:35:01.400823758 +0200
+++ /var/tmp/diff_new_pack.Bfjh8a/_new  2025-04-07 17:35:01.404823925 +0200
@@ -26,6 +26,8 @@
 Source:         
https://downloads.sourceforge.net/project/freeglut/%{name}/%{version}/%{name}-%{version}.tar.gz
 Source1:        
https://downloads.sourceforge.net/openglut/openglut-0.6.3-doc.tar.gz
 Source2:        baselibs.conf
+# PATCH-FIX-UPSTREAM
+Patch1:         freeglut-gcc15.patch
 BuildRequires:  cmake
 BuildRequires:  gcc-c++
 BuildRequires:  pkgconfig
@@ -107,6 +109,7 @@
 
 %prep
 %setup -q -a1
+%autopatch -p1
 
 %build
 %cmake \

++++++ freeglut-gcc15.patch ++++++

github.com/freeglut/freeglut/issues/186
github.com/freeglut/freeglut/pull/187


>From 800772e993a3ceffa01ccf3fca449d3279cde338 Mon Sep 17 00:00:00 2001
From: Sam James <s...@gentoo.org>
Date: Sun, 17 Nov 2024 01:14:26 +0000
Subject: [PATCH] egl: fix fgPlatformDestroyContext prototype for C23

C23 removes unprototyped functions, so this conflicted with the definition
in fg_init_x11.c.

Bug: https://github.com/freeglut/freeglut/issues/186
---
 src/egl/fg_init_egl.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/egl/fg_init_egl.h b/src/egl/fg_init_egl.h
index 592c5221d..8753dc0bc 100644
--- a/src/egl/fg_init_egl.h
+++ b/src/egl/fg_init_egl.h
@@ -28,6 +28,6 @@
 
 extern void fghPlatformInitializeEGL();
 extern void fghPlatformCloseDisplayEGL();
-extern void fgPlatformDestroyContext();
+extern void fgPlatformDestroyContext ( SFG_PlatformDisplay pDisplay, 
SFG_WindowContextType MContext );
 
 #endif

Reply via email to