From owner-svn-ports-all@freebsd.org Tue Feb 14 14:25:10 2017 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 72FE9CDE5F9; Tue, 14 Feb 2017 14:25:10 +0000 (UTC) (envelope-from tijl@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 mx1.freebsd.org (Postfix) with ESMTPS id 41D701CAD; Tue, 14 Feb 2017 14:25:10 +0000 (UTC) (envelope-from tijl@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v1EEP9qo077937; Tue, 14 Feb 2017 14:25:09 GMT (envelope-from tijl@FreeBSD.org) Received: (from tijl@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v1EEP99N077935; Tue, 14 Feb 2017 14:25:09 GMT (envelope-from tijl@FreeBSD.org) Message-Id: <201702141425.v1EEP99N077935@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: tijl set sender to tijl@FreeBSD.org using -f From: Tijl Coosemans Date: Tue, 14 Feb 2017 14:25:09 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r434087 - in head/games/abuse_sdl: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Feb 2017 14:25:10 -0000 Author: tijl Date: Tue Feb 14 14:25:09 2017 New Revision: 434087 URL: https://svnweb.freebsd.org/changeset/ports/434087 Log: Remove -fPIC and fix the real problem where S_BUTTON_PRESS_SND is sometimes declared as int and sometimes as long which have a different size and alignment on 64 bit architectures. Added: head/games/abuse_sdl/files/patch-src-gui.cpp (contents, props changed) Modified: head/games/abuse_sdl/Makefile Modified: head/games/abuse_sdl/Makefile ============================================================================== --- head/games/abuse_sdl/Makefile Tue Feb 14 14:14:16 2017 (r434086) +++ head/games/abuse_sdl/Makefile Tue Feb 14 14:25:09 2017 (r434087) @@ -3,7 +3,7 @@ PORTNAME= abuse_sdl PORTVERSION= 0.8 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= games MASTER_SITES= GENTOO \ http://abuse.zoy.org/raw-attachment/wiki/download/ @@ -20,7 +20,6 @@ USE_SDL= mixer sdl GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-assetdir=${DATADIR} --enable-release -CFLAGS_aarch64= -fPIC CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib Added: head/games/abuse_sdl/files/patch-src-gui.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/abuse_sdl/files/patch-src-gui.cpp Tue Feb 14 14:25:09 2017 (r434087) @@ -0,0 +1,11 @@ +--- src/gui.cpp.orig 2011-05-06 09:46:43 UTC ++++ src/gui.cpp +@@ -117,7 +117,7 @@ void ico_button::draw(int active, image + + } + +-extern long S_BUTTON_PRESS_SND; ++extern int S_BUTTON_PRESS_SND; + extern int sfx_volume; + + void ico_button::handle_event(event &ev, image *screen, InputManager *im)