package/libfreeglut: bump version to 3.8.0

Changelog: https://github.com/freeglut/freeglut/blob/v3.8.0/ChangeLog

Removed all patches, they are included in this release.

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Julien Olivain <ju.o@free.fr>
This commit is contained in:
Bernd Kuhls
2025-11-17 19:58:36 +01:00
committed by Julien Olivain
parent 855cd60573
commit 75a566edb4
4 changed files with 2 additions and 59 deletions

View File

@@ -1,31 +0,0 @@
From 6d0178a1c43f94b046e4d5f3dfa7185a398706ae Mon Sep 17 00:00:00 2001
From: Sam James <sam@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
Upstream: 800772e993a3ceffa01ccf3fca449d3279cde338
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
---
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 592c5221..8753dc0b 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
--
2.50.1

View File

@@ -1,26 +0,0 @@
From 2294389397912c9a6505a88221abb7dca0a4fb79 Mon Sep 17 00:00:00 2001
From: John Tsiombikas <nuclear@member.fsf.org>
Date: Thu, 20 Mar 2025 09:28:29 +0200
Subject: [PATCH] Let cmake know we are aware there are newer versions and we
don't care
Closes issue #207
Upstream: https://github.com/freeglut/freeglut/commit/2294389397912c9a6505a88221abb7dca0a4fb79
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
[Bernd: rebased for version 3.6.0]
---
CMakeLists.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 791771e7..e5903ef4 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,4 +1,4 @@
-CMAKE_MINIMUM_REQUIRED(VERSION 3.1 FATAL_ERROR)
+CMAKE_MINIMUM_REQUIRED(VERSION 3.1...3.5 FATAL_ERROR)
PROJECT(freeglut LANGUAGES C)
if (POLICY CMP0072)

View File

@@ -1,3 +1,3 @@
# Locally computed
sha256 9c3d4d6516fbfa0280edc93c77698fb7303e443c1aaaf37d269e3288a6c3ea52 freeglut-3.6.0.tar.gz
sha256 674dcaff25010e09e450aec458b8870d9e98c46f99538db457ab659b321d9989 freeglut-3.8.0.tar.gz
sha256 b6593d5ec4c113a274abb85b10e8615895cb0ddb89f7912af5fe5aa8df38a275 COPYING

View File

@@ -4,7 +4,7 @@
#
################################################################################
LIBFREEGLUT_VERSION = 3.6.0
LIBFREEGLUT_VERSION = 3.8.0
LIBFREEGLUT_SOURCE = freeglut-$(LIBFREEGLUT_VERSION).tar.gz
LIBFREEGLUT_SITE = https://github.com/FreeGLUTProject/freeglut/releases/download/v$(LIBFREEGLUT_VERSION)
LIBFREEGLUT_LICENSE = MIT