Index | Thread | Search

From:
Thomas Frohwein <tfrohwein@fastmail.com>
Subject:
Update: devel/sdl2 to latest release 2.30.3
To:
ports@openbsd.org
Date:
Fri, 3 May 2024 14:10:22 -0400

Download raw body.

Thread
  • Thomas Frohwein:

    Update: devel/sdl2 to latest release 2.30.3

Hi,

This diff catches up to the latest release of SDL, 2.30.3. No dynamic
export changes from our current version in ports (2.30.0). The release
notes (see [1]) show 2.30.1-2.30.3 are stable bugfix releases that also
add support for a few more game controllers.

I built and ran a handful of consumers without any breakage. Planning
to commit this in the next days if no concerns/issues, but feel free to
test!

[1] https://github.com/libsdl-org/SDL/releases

Index: Makefile
===================================================================
RCS file: /cvs/ports/devel/sdl2/Makefile,v
retrieving revision 1.57
diff -u -p -r1.57 Makefile
--- Makefile	24 Feb 2024 17:34:36 -0000	1.57
+++ Makefile	3 May 2024 18:04:32 -0000
@@ -1,9 +1,8 @@
 COMMENT=	cross-platform multimedia library
 
-V=		2.30.0
+V=		2.30.3
 DISTNAME=	SDL2-${V}
 PKGNAME=	sdl2-${V}
-REVISION=	1
 CATEGORIES=	devel
 SITES=		https://www.libsdl.org/release/
 
Index: distinfo
===================================================================
RCS file: /cvs/ports/devel/sdl2/distinfo,v
retrieving revision 1.23
diff -u -p -r1.23 distinfo
--- distinfo	23 Feb 2024 20:33:55 -0000	1.23
+++ distinfo	3 May 2024 18:04:32 -0000
@@ -1,2 +1,2 @@
-SHA256 (SDL2-2.30.0.tar.gz) = NuLkFVfg+koVGTFcD1lYqHzLJ+JcUXdr628SOVJkR7A=
-SIZE (SDL2-2.30.0.tar.gz) = 7428037
+SHA256 (SDL2-2.30.3.tar.gz) = ggRABy+PW1AYjB2uEE8q0lmE3iaHhb5AxBoJmlEPCuw=
+SIZE (SDL2-2.30.3.tar.gz) = 7425677
Index: patches/patch-configure
===================================================================
RCS file: /cvs/ports/devel/sdl2/patches/patch-configure,v
retrieving revision 1.2
diff -u -p -r1.2 patch-configure
--- patches/patch-configure	23 Feb 2024 20:33:55 -0000	1.2
+++ patches/patch-configure	3 May 2024 18:04:32 -0000
@@ -2,7 +2,7 @@ prevent from using linux/input.h if pres
 Index: configure
 --- configure.orig
 +++ configure
-@@ -26476,7 +26476,7 @@ main (void)
+@@ -26412,7 +26412,7 @@ main (void)
  _ACEOF
  if ac_fn_c_try_compile "$LINENO"
  then :
Index: patches/patch-src_joystick_SDL_gamecontrollerdb_h
===================================================================
RCS file: /cvs/ports/devel/sdl2/patches/patch-src_joystick_SDL_gamecontrollerdb_h,v
retrieving revision 1.11
diff -u -p -r1.11 patch-src_joystick_SDL_gamecontrollerdb_h
--- patches/patch-src_joystick_SDL_gamecontrollerdb_h	24 Feb 2024 17:34:36 -0000	1.11
+++ patches/patch-src_joystick_SDL_gamecontrollerdb_h	3 May 2024 18:04:32 -0000
@@ -1,7 +1,7 @@
 Index: src/joystick/SDL_gamecontrollerdb.h
 --- src/joystick/SDL_gamecontrollerdb.h.orig
 +++ src/joystick/SDL_gamecontrollerdb.h
-@@ -870,6 +870,7 @@ static const char *s_ControllerMappings[] = {
+@@ -871,6 +871,7 @@ static const char *s_ControllerMappings[] = {
      "030000004c050000c405000000010000,PS4 Controller,a:b1,b:b2,back:b8,dpdown:h0.4,dpleft:h0.8,dpright:h0.2,dpup:h0.1,guide:b12,leftshoulder:b4,leftstick:b10,lefttrigger:a3,leftx:a0,lefty:a1,rightshoulder:b5,rightstick:b11,righttrigger:a4,rightx:a2,righty:a5,start:b9,x:b0,y:b3,",
      "030000004c050000e60c000000010000,PS5 Controller,a:b1,b:b2,back:b8,dpdown:h0.4,dpleft:h0.8,dpright:h0.2,dpup:h0.1,guide:b12,leftshoulder:b4,leftstick:b10,lefttrigger:a3,leftx:a0,lefty:a1,rightshoulder:b5,rightstick:b11,righttrigger:a4,rightx:a2,righty:a5,start:b9,x:b0,y:b3,",
      "030000005e0400008e02000010010000,Xbox 360 Controller,a:b0,b:b1,back:b6,dpdown:h0.4,dpleft:h0.8,dpright:h0.2,dpup:h0.1,guide:b10,leftshoulder:b4,leftstick:b8,lefttrigger:a2,leftx:a0,lefty:a1~,rightshoulder:b5,rightstick:b9,righttrigger:a5,rightx:a3,righty:a4~,start:b7,x:b2,y:b3,",