On Tue, Dec 17, 2019 at 02:40:32PM +0000, Visa Hankala wrote:
> On Sat, Dec 14, 2019 at 12:03:07AM +1100, Jonathan Gray wrote:
> > On Fri, Dec 13, 2019 at 12:48:32PM +0000, [email protected] wrote:
> > > bulk build on octeon.ports.openbsd.org
> > > started on Fri Dec 6 16:27:53 UTC 2019
> > > finished at Thu Dec 12 18:01:28 UTC 2019
> > > lasted 07D01h33m
> > > done with kern.version=OpenBSD 6.6-current (GENERIC.MP) #1: Tue Dec 10
> > > 16:07:33 UTC 2019
> > >
> > > built packages:8037
> > > Dec 6:1718
> > > Dec 7:1381
> > > Dec 8:736
> > > Dec 9:786
> > > Dec 10:1643
> > > Dec 11:1771
> > > Dec 12:1
> > >
> > >
> > > build failures: 50
> > > http://build-failures.rhaalovely.net/mips64/2019-12-06/cad/magic.log
> > > http://build-failures.rhaalovely.net/mips64/2019-12-06/cad/netgen.log
> > > http://build-failures.rhaalovely.net/mips64/2019-12-06/chinese/libchewing.log
> > > http://build-failures.rhaalovely.net/mips64/2019-12-06/chinese/libpinyin.log
> > > http://build-failures.rhaalovely.net/mips64/2019-12-06/devel/cgdb.log
> > > http://build-failures.rhaalovely.net/mips64/2019-12-06/devel/coccinelle.log
> > > http://build-failures.rhaalovely.net/mips64/2019-12-06/devel/libcoap.log
> > > http://build-failures.rhaalovely.net/mips64/2019-12-06/devel/py-unicorn,python3.log
> > > http://build-failures.rhaalovely.net/mips64/2019-12-06/devel/sdcc.log
> > > http://build-failures.rhaalovely.net/mips64/2019-12-06/emulators/openmsx.log
> > > http://build-failures.rhaalovely.net/mips64/2019-12-06/emulators/ppsspp.log
> > > http://build-failures.rhaalovely.net/mips64/2019-12-06/games/astromenace.log
> > > http://build-failures.rhaalovely.net/mips64/2019-12-06/games/frozen-bubble,-main.log
> > > http://build-failures.rhaalovely.net/mips64/2019-12-06/games/hyperrogue.log
> > > http://build-failures.rhaalovely.net/mips64/2019-12-06/games/postal.log
> > > http://build-failures.rhaalovely.net/mips64/2019-12-06/games/scummvm.log
> >
> > Donovan Watteau mailed me about this off list for loongson.
> >
> > Needs to be built with -mxgot on mips64 or push all the game engines
> > into shared libraries.
>
> Here is a patch that I copied from devel/doxygen-gui. It fixes the build
> at least on mips64.
thanks, ok jsg@
>
> Index: games/scummvm/Makefile
> ===================================================================
> RCS file: ports/games/scummvm/Makefile,v
> retrieving revision 1.83
> diff -u -p -r1.83 Makefile
> --- games/scummvm/Makefile 14 Oct 2019 09:18:00 -0000 1.83
> +++ games/scummvm/Makefile 17 Dec 2019 14:33:22 -0000
> @@ -31,6 +31,10 @@ LIB_DEPENDS= audio/libmad \
> graphics/jpeg \
> multimedia/libtheora
>
> +.if ${MACHINE_ARCH} == "mips64" || ${MACHINE_ARCH} == "mips64el"
> +CXXFLAGS+= -mxgot
> +.endif
> +
> CONFIGURE_STYLE=simple
> CONFIGURE_ARGS+= --disable-alsa \
> --disable-debug \
>
>