libsdl2-32: 2.0.12 -> 2.0.14

This commit is contained in:
Danny Rawlins 2021-01-03 01:17:42 +11:00
parent 1bdf4438f7
commit 0bf139bbe6
4 changed files with 9 additions and 59 deletions

View File

@ -4,11 +4,11 @@ drwxr-xr-x root/root usr/lib32/cmake/
drwxr-xr-x root/root usr/lib32/cmake/SDL2/
-rw-r--r-- root/root usr/lib32/cmake/SDL2/sdl2-config-version.cmake
-rw-r--r-- root/root usr/lib32/cmake/SDL2/sdl2-config.cmake
lrwxrwxrwx root/root usr/lib32/libSDL2-2.0.so.0 -> libSDL2-2.0.so.0.12.0
-rwxr-xr-x root/root usr/lib32/libSDL2-2.0.so.0.12.0
lrwxrwxrwx root/root usr/lib32/libSDL2-2.0.so.0 -> libSDL2-2.0.so.0.14.0
-rwxr-xr-x root/root usr/lib32/libSDL2-2.0.so.0.14.0
-rw-r--r-- root/root usr/lib32/libSDL2.a
-rwxr-xr-x root/root usr/lib32/libSDL2.la
lrwxrwxrwx root/root usr/lib32/libSDL2.so -> libSDL2-2.0.so.0.12.0
lrwxrwxrwx root/root usr/lib32/libSDL2.so -> libSDL2-2.0.so.0.14.0
-rw-r--r-- root/root usr/lib32/libSDL2_test.a
-rwxr-xr-x root/root usr/lib32/libSDL2_test.la
-rw-r--r-- root/root usr/lib32/libSDL2main.a

View File

@ -1,6 +1,5 @@
untrusted comment: verify with /etc/ports/compat-32.pub
RWSwxGo/zH7eXbJOYxvp1bTCAjjCZW+7/Hz1aXvuYc4+dMNFDgebv3b8L7qn3JVLeCW/XZBvYHxnY5v6lEnDtm6f30nNxovYPA4=
SHA256 (Pkgfile) = 74d79dd7da40cf1210b9cf21bc6a77c44e267099533dad6fbb8cd8b1c72a6842
SHA256 (.footprint) = 35767ee5c642682d1e16e70825bf1dd212d2de7c86de3525970a8838d31f4d0e
SHA256 (SDL2-2.0.12.tar.gz) = 349268f695c02efbc9b9148a70b85e58cefbbf704abd3e91be654db7f1e2c863
SHA256 (SDL2-2.0.10-opengl_include_fix-1.patch) = 65d088c18457cc7edb2802ccc7ed32a2ee8b3c211f310e326aac3e8cdbe9f79b
RWSwxGo/zH7eXeBDpDK+ZNo9NP2xalIU8sUaWmNgBDl9U4ysCjTy4nGVVuVe8bRPjTkqOMDJQILzGqnLchYSkLzwRVbZXymFBgU=
SHA256 (Pkgfile) = 143a3f04bfec9fa092395b16e1bc0d19864e0aeb9049fd32acfe4c51967c2f7d
SHA256 (.footprint) = eb5b27124f037d561d839c137f4b2a557b0d78daccb97ff5bb0982f75b992f0c
SHA256 (SDL2-2.0.14.tar.gz) = d8215b571a581be1332d2106f8036fcb03d12a70bae01e20f424976d275432bc

View File

@ -4,18 +4,13 @@
# Depends on: alsa-lib-32 libsdl2 mesa-32
name=libsdl2-32
version=2.0.12
version=2.0.14
release=1
source=(https://www.libsdl.org/release/SDL2-$version.tar.gz
SDL2-2.0.10-opengl_include_fix-1.patch)
source=(https://www.libsdl.org/release/SDL2-$version.tar.gz)
build() {
cd SDL2-$version
# https://www.mail-archive.com/blfs-book@lists.linuxfromscratch.org/msg40028.html
patch -p1 -i $SRC/SDL2-2.0.10-opengl_include_fix-1.patch
CONFIG_SHELL=/bin/bash \
./configure \
--prefix=/usr \
--libdir=/usr/lib32

View File

@ -1,44 +0,0 @@
Submitted By: Douglas R. Reno <renodr at linuxfromscratch dot org>
Date: 2019-10-29
Initial Package Version: 2.0.10
Upstream Status: Submitted
Origin: Self
Description: Fixes problems with compilation on i686 systems by
including compatible versions of the OpenGL data types.
See BLFS Ticket #12633.
diff -Naurp SDL2-2.0.10.orig/include/SDL_opengl_glext.h SDL2-2.0.10/include/SDL_opengl_glext.h
--- SDL2-2.0.10.orig/include/SDL_opengl_glext.h 2019-07-24 23:32:36.000000000 -0500
+++ SDL2-2.0.10/include/SDL_opengl_glext.h 2019-10-29 20:00:11.739525454 -0500
@@ -1,5 +1,6 @@
#ifndef __glext_h_
#define __glext_h_ 1
+#endif
#ifdef __cplusplus
extern "C" {
@@ -43,6 +44,14 @@ extern "C" {
#include <windows.h>
#endif
+#ifdef __IPHONEOS__
+#include <OpenGLES/ES1/gl.h>
+#include <OpenGLES/ES1/glext.h>
+#else
+#include <GLES/gl.h>
+#include <GLES/glext.h>
+#endif
+
#ifndef APIENTRY
#define APIENTRY
#endif
@@ -469,9 +478,6 @@ GLAPI void APIENTRY glBlendEquation (GLe
typedef long GLsizeiptr;
typedef long GLintptr;
#else
-typedef ptrdiff_t GLsizeiptr;
-typedef ptrdiff_t GLintptr;
-#endif
#define GL_BUFFER_SIZE 0x8764
#define GL_BUFFER_USAGE 0x8765
#define GL_QUERY_COUNTER_BITS 0x8864