git: c929e9474a08 - 2022Q4 - x11/controllermap: update to 2.24.2

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Sun, 13 Nov 2022 00:54:37 UTC
The branch 2022Q4 has been updated by jbeich:

URL: https://cgit.FreeBSD.org/ports/commit/?id=c929e9474a0856199913a822bd7e148da8b64de4

commit c929e9474a0856199913a822bd7e148da8b64de4
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2021-07-27 14:52:29 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2022-11-13 00:53:45 +0000

    x11/controllermap: update to 2.24.2
    
    Changes:        https://github.com/libsdl-org/SDL/commits/release-2.24.2/test/controllermap.c
    (cherry picked from commit 60bece61bcd9a53f80231da0eca58e3ffe90c171)
---
 x11/controllermap/Makefile | 5 +++--
 x11/controllermap/distinfo | 6 +++---
 2 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/x11/controllermap/Makefile b/x11/controllermap/Makefile
index 9e657adf9740..4d81d404c28f 100644
--- a/x11/controllermap/Makefile
+++ b/x11/controllermap/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	controllermap
-PORTVERSION=	2.0.22
+DISTVERSION=	2.24.2
 CATEGORIES=	x11
 MASTER_SITES=	https://www.libsdl.org/release/
 DISTNAME=	SDL2-${DISTVERSION}
@@ -22,7 +22,8 @@ PLIST_FILES=	${ALL_TARGET:S,^,bin/,}
 PORTDATA=	${PORTNAME}.bmp ${PORTNAME}_back.bmp axis.bmp button.bmp
 
 post-patch:
-	@${REINPLACE_CMD} '/bmp/s,","${DATADIR}/,' \
+	@${REINPLACE_CMD} -e '/bmp/s,","${DATADIR}/,' \
+		-e '/#include/s/\(testutils\)\.h/\1.c/' \
 		${ALL_TARGET:S,^,${WRKSRC}/,:S,$,.c,}
 
 do-install:
diff --git a/x11/controllermap/distinfo b/x11/controllermap/distinfo
index 12d5029b3b08..ec013cf2be3d 100644
--- a/x11/controllermap/distinfo
+++ b/x11/controllermap/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1650971027
-SHA256 (SDL2-2.0.22.tar.gz) = fe7cbf3127882e3fc7259a75a0cb585620272c51745d3852ab9dd87960697f2e
-SIZE (SDL2-2.0.22.tar.gz) = 7250633
+TIMESTAMP = 1627397549
+SHA256 (SDL2-2.24.2.tar.gz) = b35ef0a802b09d90ed3add0dcac0e95820804202914f5bb7b0feb710f1a1329f
+SIZE (SDL2-2.24.2.tar.gz) = 7525041