summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2007-10-14 22:07:05 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2007-10-14 22:07:05 +0000
commit8294a61a07fcda96f02a81cfb7aa088b4175ba12 (patch)
tree57e638ed7b39c44327b3fbfaaa2bf50aee61a423 /games-mud/kmuddy
parentfix from James Le Cuirot to check to see if the directory to search exists be... (diff)
downloadgentoo-2-8294a61a07fcda96f02a81cfb7aa088b4175ba12.tar.gz
gentoo-2-8294a61a07fcda96f02a81cfb7aa088b4175ba12.tar.bz2
gentoo-2-8294a61a07fcda96f02a81cfb7aa088b4175ba12.zip
add patch from Tanktalus@gmail.com to fix random crash (bug #190363)
(Portage version: 2.1.3.9)
Diffstat (limited to 'games-mud/kmuddy')
-rw-r--r--games-mud/kmuddy/ChangeLog6
-rw-r--r--games-mud/kmuddy/files/kmuddy-0.8-nocrash.patch13
-rw-r--r--games-mud/kmuddy/kmuddy-0.8.ebuild10
3 files changed, 26 insertions, 3 deletions
diff --git a/games-mud/kmuddy/ChangeLog b/games-mud/kmuddy/ChangeLog
index f81fcab1ebf8..0433f97caef4 100644
--- a/games-mud/kmuddy/ChangeLog
+++ b/games-mud/kmuddy/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-mud/kmuddy
# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-mud/kmuddy/ChangeLog,v 1.16 2007/07/21 19:26:41 nyhm Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-mud/kmuddy/ChangeLog,v 1.17 2007/10/14 22:07:04 mr_bones_ Exp $
+
+ 14 Oct 2007; Michael Sterrett <mr_bones_@gentoo.org>
+ +files/kmuddy-0.8-nocrash.patch, kmuddy-0.8.ebuild:
+ add patch from Tanktalus@gmail.com to fix random crash (bug #190363)
21 Jul 2007; Tristan Heaven <nyhm@gentoo.org> kmuddy-0.8.ebuild:
HOMEPAGE update, bug #185457
diff --git a/games-mud/kmuddy/files/kmuddy-0.8-nocrash.patch b/games-mud/kmuddy/files/kmuddy-0.8-nocrash.patch
new file mode 100644
index 000000000000..c67956ac8d93
--- /dev/null
+++ b/games-mud/kmuddy/files/kmuddy-0.8-nocrash.patch
@@ -0,0 +1,13 @@
+diff -ru kmuddy-0.8/kmuddy/cmxpmanager.cpp kmuddy-0.8.patch/kmuddy/cmxpmanager.cpp
+--- kmuddy-0.8/kmuddy/cmxpmanager.cpp 2006-10-12 02:47:23.000000000 -0600
++++ kmuddy-0.8.patch/kmuddy/cmxpmanager.cpp 2007-08-26 22:05:44.000000000 -0600
+@@ -134,7 +134,7 @@
+ if (s && (strcmp (s, "\r\n") == 0)) //newlines are always sent separately
+ emit gotNewLine ();
+ else
+- if ((s[0] == 0x1f) && (s[1] == '\0'))
++ if (s && (s[0] == 0x1f) && (s[1] == '\0'))
+ //<SBR> tag - ignored - converted into a space
+ emit gotNewText (QString (" "));
+ else
+Only in kmuddy-0.8.patch/kmuddy: cmxpmanager.cpp~
diff --git a/games-mud/kmuddy/kmuddy-0.8.ebuild b/games-mud/kmuddy/kmuddy-0.8.ebuild
index 7f2fd723be93..c97a33061104 100644
--- a/games-mud/kmuddy/kmuddy-0.8.ebuild
+++ b/games-mud/kmuddy/kmuddy-0.8.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-mud/kmuddy/kmuddy-0.8.ebuild,v 1.3 2007/07/21 19:26:41 nyhm Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-mud/kmuddy/kmuddy-0.8.ebuild,v 1.4 2007/10/14 22:07:04 mr_bones_ Exp $
-inherit kde-functions
+inherit eutils kde-functions
DESCRIPTION="MUD client for KDE"
HOMEPAGE="http://www.kmuddy.com/"
@@ -18,6 +18,12 @@ DEPEND="arts? ( kde-base/arts )
need-kde 3
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}/${P}-nocrash.patch"
+}
+
src_compile() {
econf \
$(use_with arts) \