mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
games/{quake2lnx,r1q2}: unbreak the build after src commit 660331da7a
Reported by: pkg-fallout
This commit is contained in:
parent
e564411db2
commit
a095df27d3
2 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue