Date: Sat, 13 Apr 2019 00:57:27 +0000 (UTC) From: Steve Wills <swills@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r498783 - head/games/diaspora Message-ID: <201904130057.x3D0vRwo020680@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: swills Date: Sat Apr 13 00:57:27 2019 New Revision: 498783 URL: https://svnweb.freebsd.org/changeset/ports/498783 Log: games/diaspora: fix build with GCC-based architectures PR: 237215 Submitted by: Piotr Kubaj <pkubaj@anongoth.pl> Approved by: lightside <lightside@gmx.com> (maintainer) Modified: head/games/diaspora/Makefile (contents, props changed) Modified: head/games/diaspora/Makefile ============================================================================== --- head/games/diaspora/Makefile Sat Apr 13 00:51:04 2019 (r498782) +++ head/games/diaspora/Makefile Sat Apr 13 00:57:27 2019 (r498783) @@ -31,7 +31,7 @@ LIB_DEPENDS= libjansson.so:devel/jansson \ libvorbisfile.so:audio/libvorbis \ libtheora.so:multimedia/libtheora -USES= autoreconf jpeg lua:51 openal pkgconfig tar:lzma +USES= autoreconf gl jpeg lua:51 openal pkgconfig sdl tar:lzma USE_CXXSTD= gnu++98 USE_GL= gl glu USE_SDL= sdl @@ -71,6 +71,10 @@ WXLAUNCHER_VARS= PORTDATA+="resources *.ini *.png *.bm POST_PLIST+= build-plist-empty BROKEN_aarch64= Fails to compile: cast from pointer to smaller type loses information + +.if exists(/usr/lib/libstdc++.so) +CXXFLAGS+= -fpermissive +.endif post-extract: .SILENT .for v in 1.1 1.1.1
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201904130057.x3D0vRwo020680>