svn commit: r434087 - in head/games/abuse_sdl: . files

Tijl Coosemans tijl at FreeBSD.org
Tue Feb 14 14:25:10 UTC 2017


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)


More information about the svn-ports-head mailing list