svn commit: r547148 - in head/games: q2pro qstat quetoo/files r1q2/files

Mathieu Arnold mat at freebsd.org
Mon Aug 31 16:23:24 UTC 2020


On Mon, Aug 31, 2020 at 04:00:21AM +0000, Alexey Dokuchaev wrote:
> +# Fix the build with -fno-common (for Clang 11 and GCC 10)
> +	@${REINPLACE_CMD} -e '/^unsigned[[:blank:]]*d_8to24table/,+1d' \
> +		${WRKSRC}/ref_soft/sw_main.c
> +	@${REINPLACE_CMD} -e '/\*cl_paused/,+1d' \
> +		${WRKSRC}/source/cl_null.c

Just a reminder folkds, REINPLACE_CMD is to be used only when replacing
dynamic content, static replacements like this must go in patch files.

Especially as there is alreardy a patch file just for that:

> Modified: head/games/quetoo/files/patch-clang-fixes
> ==============================================================================
> --- head/games/quetoo/files/patch-clang-fixes	Mon Aug 31 03:57:11 2020	(r547147)
> +++ head/games/quetoo/files/patch-clang-fixes	Mon Aug 31 04:00:21 2020	(r547148)
> @@ -11,6 +11,25 @@

-- 
Mathieu Arnold
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-ports-all/attachments/20200831/78b0a9ba/attachment.sig>


More information about the svn-ports-all mailing list