git: a095df27d3e6 - main - games/{quake2lnx,r1q2}: unbreak the build after src commit 660331da7a
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 30 Jan 2025 06:46:49 UTC
The branch main has been updated by danfe:
URL: https://cgit.FreeBSD.org/ports/commit/?id=a095df27d3e63f6e26482f52af35c651d1d7fc12
commit a095df27d3e63f6e26482f52af35c651d1d7fc12
Author: Alexey Dokuchaev <danfe@FreeBSD.org>
AuthorDate: 2025-01-30 06:45:56 +0000
Commit: Alexey Dokuchaev <danfe@FreeBSD.org>
CommitDate: 2025-01-30 06:45:56 +0000
games/{quake2lnx,r1q2}: unbreak the build after src commit 660331da7a
Reported by: pkg-fallout
---
games/quake2lnx/Makefile | 2 ++
games/r1q2/Makefile | 2 ++
2 files changed, 4 insertions(+)
diff --git a/games/quake2lnx/Makefile b/games/quake2lnx/Makefile
index 3ea3f1121220..bfaabb175dc2 100644
--- a/games/quake2lnx/Makefile
+++ b/games/quake2lnx/Makefile
@@ -201,6 +201,8 @@ post-patch: .SILENT
${WRKSRC}/src/linux/vid_so.c
${REINPLACE_CMD} -e 's|dllname, RTLD_LAZY|& \| RTLD_GLOBAL|' \
${WRKSRC}/src/linux/qgl_linux.c
+ ${REINPLACE_CMD} -e '/param\.h/s|machine|sys|' \
+ ${WRKSRC}/src/linux/q_shlinux.c
${REINPLACE_CMD} -e 's|/js|/joy|' ${WRKSRC}/src/linux/joystick.c
${REINPLACE_CMD} -e 's|jpeg_mem_src|local_&|' \
${WRKSRC}/src/ref_candygl/gl_image.c
diff --git a/games/r1q2/Makefile b/games/r1q2/Makefile
index 95a287bd9032..8e1a41edfcd3 100644
--- a/games/r1q2/Makefile
+++ b/games/r1q2/Makefile
@@ -70,6 +70,8 @@ PLIST_SUB+= REF_GL="@comment "
post-patch:
@${REINPLACE_CMD} -e 's|game$$(ARCH)|game|g' \
${BUILD_WRKSRC}/game/Makefile
+ @${REINPLACE_CMD} -e '/param\.h/s|machine|sys|' \
+ ${WRKSRC}/linux/q_shlinux.c
@${REINPLACE_CMD} -e '/SV_FixPlayerSkin/s,__inline,static,' \
${WRKSRC}/server/sv_game.c