diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2011-12-10 07:23:21 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2011-12-10 07:23:21 +0000 |
commit | 26229927703bfd30d4e19d171cd5d1e42832b839 (patch) | |
tree | 312f4731c38e7b0bc1961765291b52f3cd1ea02a /games-mud | |
parent | version bump with patch from Michael (kensington) (bug #394167) (diff) | |
download | gentoo-2-26229927703bfd30d4e19d171cd5d1e42832b839.tar.gz gentoo-2-26229927703bfd30d4e19d171cd5d1e42832b839.tar.bz2 gentoo-2-26229927703bfd30d4e19d171cd5d1e42832b839.zip |
version bump with patching from Michael (kensington) (bug #394129)
(Portage version: 2.1.10.11/cvs/Linux i686)
Diffstat (limited to 'games-mud')
-rw-r--r-- | games-mud/crystal/ChangeLog | 10 | ||||
-rw-r--r-- | games-mud/crystal/crystal-0.2.4.ebuild | 41 | ||||
-rw-r--r-- | games-mud/crystal/files/crystal-0.2.4-gcc43.patch | 11 |
3 files changed, 60 insertions, 2 deletions
diff --git a/games-mud/crystal/ChangeLog b/games-mud/crystal/ChangeLog index ca8ce351441a..b505583f030c 100644 --- a/games-mud/crystal/ChangeLog +++ b/games-mud/crystal/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for games-mud/crystal -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-mud/crystal/ChangeLog,v 1.8 2009/08/13 21:44:25 mr_bones_ Exp $ +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-mud/crystal/ChangeLog,v 1.9 2011/12/10 07:23:21 mr_bones_ Exp $ + +*crystal-0.2.4 (10 Dec 2011) + + 10 Dec 2011; Michael Sterrett <mr_bones_@gentoo.org> +crystal-0.2.4.ebuild, + +files/crystal-0.2.4-gcc43.patch: + version bump with patching from Michael (kensington) (bug #394129) 13 Aug 2009; Michael Sterrett <mr_bones_@gentoo.org> crystal-0.2.2.ebuild: avoid colliding with xscreensaver (bug #281191) diff --git a/games-mud/crystal/crystal-0.2.4.ebuild b/games-mud/crystal/crystal-0.2.4.ebuild new file mode 100644 index 000000000000..1d34452a2eb9 --- /dev/null +++ b/games-mud/crystal/crystal-0.2.4.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-mud/crystal/crystal-0.2.4.ebuild,v 1.1 2011/12/10 07:23:21 mr_bones_ Exp $ + +EAPI=2 +inherit eutils games + +DESCRIPTION="The crystal MUD client" +HOMEPAGE="http://www.evilmagic.org/crystal/" +SRC_URI="http://www.evilmagic.org/dist/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +DEPEND="sys-libs/zlib + sys-libs/ncurses + dev-libs/openssl + virtual/libiconv" + +src_prepare() { + epatch "${FILESDIR}"/${P}-gcc43.patch + # avoid colliding with xscreensaver (bug #281191) + sed -i \ + -e '/^man_MANS/s/crystal/crystal-mud/' \ + Makefile.in \ + || die "sed failed" + mv crystal.6 crystal-mud.6 +} + +src_configure() { + egamesconf \ + --disable-scripting || die +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + dodoc AUTHORS NEWS README TODO + prepgamesdirs +} diff --git a/games-mud/crystal/files/crystal-0.2.4-gcc43.patch b/games-mud/crystal/files/crystal-0.2.4-gcc43.patch new file mode 100644 index 000000000000..40623c5c22b3 --- /dev/null +++ b/games-mud/crystal/files/crystal-0.2.4-gcc43.patch @@ -0,0 +1,11 @@ +--- common.h ++++ common.h +@@ -3,6 +3,8 @@ + + #include <string> + #include <stdio.h> ++#include <cstring> ++#include <cstdlib> + #include <curses.h> + #include <termios.h> + #include <sys/ioctl.h> |