Package-Manager: portage-2.2.26
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
-inherit eutils gnome2-utils games
+inherit eutils gnome2-utils eutils games
MY_PN=alienarena-7.66
DESCRIPTION="Fast-paced multiplayer deathmatch game"
S=${WORKDIR}/${MY_PN/_/.}
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-format.patch
+}
+
src_configure() {
egamesconf \
--with-icondir=/usr/share/icons/hicolor/48x48/apps/ \
--- /dev/null
+--- source/game/p_client.c.old 2016-01-18 20:13:25.147714704 +0100
++++ source/game/p_client.c 2016-01-18 20:13:38.776476727 +0100
+@@ -2123,7 +2123,7 @@
+ #else\r
+ ent->ctype = 0; //alien is default\r
+ sprintf(modelpath, "players/%s/human", playermodel);\r
+- sprintf(ent->charModel, playermodel);\r
++ sprintf(ent->charModel, "%s", playermodel);\r
+ Q2_FindFile (modelpath, &file);\r
+ if(file) \r
+ { \r