version bump with patching from Michael (kensington) (bug #394129)
authorMichael Sterrett <mr_bones_@gentoo.org>
Sat, 10 Dec 2011 07:23:21 +0000 (07:23 +0000)
committerMichael Sterrett <mr_bones_@gentoo.org>
Sat, 10 Dec 2011 07:23:21 +0000 (07:23 +0000)
Package-Manager: portage-2.1.10.11/cvs/Linux i686

games-mud/crystal/ChangeLog
games-mud/crystal/Manifest
games-mud/crystal/crystal-0.2.4.ebuild [new file with mode: 0644]
games-mud/crystal/files/crystal-0.2.4-gcc43.patch [new file with mode: 0644]

index ca8ce351441a28ff43a87353f57cce5c4839df0b..b505583f030ce2803c5b62acb6f8e5791e5ba34c 100644 (file)
@@ -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)
index afc2b850b90fd5bfc8aeaa849b50e42d9b12b0cc..6f3325ad52f37b518425a2bbe42ff2588bc3b183 100644 (file)
@@ -1,7 +1,10 @@
 AUX crystal-0.2.2-64bit.patch 283 RMD160 cfafc4157a816c3fa291bfe76810c579c2ca890e SHA1 3925c6e9ca50e13aeff88e3905cf6fe050c9b48a SHA256 6d33b8f92cf7af45a48e5f46c6db4effdfc600160fea1e3ac04f4cbdf12f8fe2
 AUX crystal-0.2.2-gcc43.patch 190 RMD160 271e84ccfff610ca7035bde52d6e492f7fb89840 SHA1 f9b4d0c767a9586988f80620f356f47a3c8d8ddc SHA256 fc1a5a9911f54da5120d65aabf542d083de65a1c044ce06cf98f69895fe96606
 AUX crystal-0.2.2-glibc2.10.patch 266 RMD160 8c62d6e79f7285ccceb487cdba90c99227bda7e2 SHA1 0c41f9dfe087f83e6faae6c76fb33fdbff248592 SHA256 31392d94c1325b27b2d3b257510d38bd49c3733675969c16cb1725eb65891965
+AUX crystal-0.2.4-gcc43.patch 190 RMD160 271e84ccfff610ca7035bde52d6e492f7fb89840 SHA1 f9b4d0c767a9586988f80620f356f47a3c8d8ddc SHA256 fc1a5a9911f54da5120d65aabf542d083de65a1c044ce06cf98f69895fe96606
 DIST crystal-0.2.2.tar.gz 96400 RMD160 28339b6d01fc99c3bc5423611421b90bda0dc77a SHA1 5c031ac5c89c6ae43773f9d6b4969f8979bda63c SHA256 379576a9197a3be38f0efd390ee09b72b6772d4598910d0988d5dc8771ed7670
+DIST crystal-0.2.4.tar.gz 146962 RMD160 7b75a252876e9066da7d09a28b1f8de1c8afe429 SHA1 f52e300cc3aa6fe4e7303acc7457710e28dc9854 SHA256 1f5843034d897977430cf1d84040cd6e50bcc1d1b7fdda4e9f07f4ea6d6db6ce
 EBUILD crystal-0.2.2.ebuild 1004 RMD160 c1618e44d3db7122fa6d07a51e1e5168577f2676 SHA1 ce1e4a5f11d8302d018e936feda2d0ecae986243 SHA256 d35c89431f2bfa9b2fb184fd1ce632d678d618fea60b4dc79734d164db414b7f
-MISC ChangeLog 1173 RMD160 f38b049b1352755c6dca5f3fcb1cd9714e641bbb SHA1 6fd647878719dae9e709a25bf8c7b5f4643d2ee9 SHA256 5f2fb20fcb8955b835d9713ca373847a8f4cf224121f082ae311f50e78999fce
+EBUILD crystal-0.2.4.ebuild 945 RMD160 41c24f1cc124329b70dd4bdee2935e6cf4235390 SHA1 4aff777351684778446c4bb7479bcf64eede5f6f SHA256 0c6f01d94a8882e70492797f9734bad2d1aeacc6cca4de0348dfca56373be2d8
+MISC ChangeLog 1387 RMD160 bf75647bfdbde05f7921765587aa688fec78d944 SHA1 50015806202945b191c2012878b9b63a1a889984 SHA256 c5c9b2f63586d906ec5a0355da2f3196ff6418dc69df4c87c494a8b8f5a8347b
 MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3
diff --git a/games-mud/crystal/crystal-0.2.4.ebuild b/games-mud/crystal/crystal-0.2.4.ebuild
new file mode 100644 (file)
index 0000000..1d34452
--- /dev/null
@@ -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 (file)
index 0000000..40623c5
--- /dev/null
@@ -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>