From owner-svn-ports-head@freebsd.org Sat Apr 13 00:57:28 2019 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 51605154EC36; Sat, 13 Apr 2019 00:57:28 +0000 (UTC) (envelope-from swills@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E4692947CE; Sat, 13 Apr 2019 00:57:27 +0000 (UTC) (envelope-from swills@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id BEDB4154E; Sat, 13 Apr 2019 00:57:27 +0000 (UTC) (envelope-from swills@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x3D0vR2x020681; Sat, 13 Apr 2019 00:57:27 GMT (envelope-from swills@FreeBSD.org) Received: (from swills@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x3D0vRwo020680; Sat, 13 Apr 2019 00:57:27 GMT (envelope-from swills@FreeBSD.org) Message-Id: <201904130057.x3D0vRwo020680@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: swills set sender to swills@FreeBSD.org using -f From: Steve Wills Date: Sat, 13 Apr 2019 00:57:27 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r498783 - head/games/diaspora X-SVN-Group: ports-head X-SVN-Commit-Author: swills X-SVN-Commit-Paths: head/games/diaspora X-SVN-Commit-Revision: 498783 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: E4692947CE X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.95 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.95)[-0.947,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US] X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Apr 2019 00:57:28 -0000 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 Approved by: lightside (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