Update to 2.26.0

This commit is contained in:
Neal Gompa 2022-11-21 22:48:11 -05:00
parent 352801c0c1
commit 202763ce81
4 changed files with 7 additions and 20 deletions

1
.gitignore vendored
View File

@ -16,3 +16,4 @@
/SDL2-2.0.20.tar.gz /SDL2-2.0.20.tar.gz
/SDL2-2.0.22.tar.gz /SDL2-2.0.22.tar.gz
/SDL2-2.24.0.tar.gz /SDL2-2.24.0.tar.gz
/SDL2-2.26.0.tar.gz

View File

@ -1,15 +0,0 @@
diff -up SDL2-2.0.9/include/SDL_opengl_glext.h.khrplatform SDL2-2.0.9/include/SDL_opengl_glext.h
--- SDL2-2.0.9/include/SDL_opengl_glext.h.khrplatform 2019-02-15 20:22:39.173773779 -0500
+++ SDL2-2.0.9/include/SDL_opengl_glext.h 2019-02-15 20:22:58.176399330 -0500
@@ -469,8 +469,9 @@ GLAPI void APIENTRY glBlendEquation (GLe
typedef long GLsizeiptr;
typedef long GLintptr;
#else
-typedef ptrdiff_t GLsizeiptr;
-typedef ptrdiff_t GLintptr;
+#include <KHR/khrplatform.h>
+typedef khronos_intptr_t GLintptr;
+typedef khronos_ssize_t GLsizeiptr;
#endif
#define GL_BUFFER_SIZE 0x8764
#define GL_BUFFER_USAGE 0x8765

View File

@ -9,7 +9,7 @@
%global libdecor_majver 0 %global libdecor_majver 0
Name: SDL2 Name: SDL2
Version: 2.24.0 Version: 2.26.0
Release: 1%{?dist} Release: 1%{?dist}
Summary: Cross-platform multimedia library Summary: Cross-platform multimedia library
License: zlib and MIT License: zlib and MIT
@ -19,10 +19,8 @@ Source1: SDL_config.h
Source2: SDL_revision.h Source2: SDL_revision.h
Patch0: multilib.patch Patch0: multilib.patch
# ptrdiff_t is not the same as khronos defines on 32bit arches
Patch1: SDL2-2.0.9-khrplatform.patch
# Prefer Wayland by default # Prefer Wayland by default
Patch2: SDL2-2.0.22-prefer-wayland.patch Patch1: SDL2-2.0.22-prefer-wayland.patch
BuildRequires: git-core BuildRequires: git-core
BuildRequires: cmake BuildRequires: cmake
@ -171,6 +169,9 @@ install -p -m 644 %{SOURCE2} %{buildroot}%{_includedir}/SDL2/SDL_revision.h
%{_libdir}/cmake/SDL2/SDL2staticTargets*.cmake %{_libdir}/cmake/SDL2/SDL2staticTargets*.cmake
%changelog %changelog
* Tue Nov 22 2022 Neal Gompa <ngompa@fedoraproject.org> - 2.26.0-1
- Update to 2.26.0
* Fri Aug 19 2022 Neal Gompa <ngompa@fedoraproject.org> - 2.24.0-1 * Fri Aug 19 2022 Neal Gompa <ngompa@fedoraproject.org> - 2.24.0-1
- Update to 2.24.0 - Update to 2.24.0
- Drop backported patches included in this release - Drop backported patches included in this release

View File

@ -1 +1 @@
SHA512 (SDL2-2.24.0.tar.gz) = 5735bfc7b22f1780f80cc89f62a14ca809fe1280298d172f92dde74400db1f5378f8d3eae8834e886d3ca4f5ae6f1074d66c5c956613cf9e0cce961738514212 SHA512 (SDL2-2.26.0.tar.gz) = b4379140399e2248b28c4fe36ba6bb142cd047014c3cfc6fd2c0fee7110ad28af6553f24ca4ccf4996165940de127aafe8d744b09bea9d5684ce8244697996bf