On Tue, Oct 05, 2021 at 03:20:52PM +0300, Kirill Bychkov wrote:

> > http://build-failures.rhaalovely.net/sparc64/2021-09-18/games/ja2-stracciatella.log

> Hi!
> Same fix as for openxcom which fixes build on sparc64.
> OK?

This fixes the build for sparc64

ok kmos

--Kurt

> Index: patches/patch-sgp_FileMan_cc
> ===================================================================
> RCS file: patches/patch-sgp_FileMan_cc
> diff -N patches/patch-sgp_FileMan_cc
> --- /dev/null 1 Jan 1970 00:00:00 -0000
> +++ patches/patch-sgp_FileMan_cc      5 Oct 2021 12:14:01 -0000
> @@ -0,0 +1,13 @@
> +$OpenBSD$
> +
> +Index: sgp/FileMan.cc
> +--- sgp/FileMan.cc.orig
> ++++ sgp/FileMan.cc
> +@@ -5,6 +5,7 @@
> + #include <stdlib.h>
> + #include <sys/stat.h>
> + #include <sys/types.h>
> ++#include <algorithm>
> + #include "FileMan.h"
> + #include "LibraryDataBase.h"
> + #include "MemMan.h"
> 
> 

Reply via email to