summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--games-board/qgo/ChangeLog6
-rw-r--r--games-board/qgo/files/1.0.1-gcc.patch24
-rw-r--r--games-board/qgo/qgo-1.0.1.ebuild4
3 files changed, 31 insertions, 3 deletions
diff --git a/games-board/qgo/ChangeLog b/games-board/qgo/ChangeLog
index 3347e89063b4..cdd65764ec72 100644
--- a/games-board/qgo/ChangeLog
+++ b/games-board/qgo/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-board/qgo
# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-board/qgo/ChangeLog,v 1.11 2005/05/24 20:54:34 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-board/qgo/ChangeLog,v 1.12 2005/05/24 21:06:01 mr_bones_ Exp $
+
+ 24 May 2005; Michael Sterrett <mr_bones_@gentoo.org>
+ +files/1.0.1-gcc.patch, qgo-1.0.1.ebuild:
+ add back in a better named patch
24 May 2005; Michael Sterrett <mr_bones_@gentoo.org>
-files/0.2.2-gcc.patch, -qgo-0.2.2.ebuild, -qgo-1.0.0.ebuild:
diff --git a/games-board/qgo/files/1.0.1-gcc.patch b/games-board/qgo/files/1.0.1-gcc.patch
new file mode 100644
index 000000000000..0d113732b156
--- /dev/null
+++ b/games-board/qgo/files/1.0.1-gcc.patch
@@ -0,0 +1,24 @@
+--- qgo-0.2/qgo/src/wavfile.c.orig 2004-06-08 09:20:12.783379736 -0400
++++ qgo-0.2/qgo/src/wavfile.c 2004-06-08 09:20:25.304476240 -0400
+@@ -134,6 +134,10 @@
+ static char emsg[2048];
+
+
++static void
++_v_erf(const char *format,va_list ap) {
++ vsprintf(emsg,format,ap); /* Capture message into emsg[] */
++}
+
+ /*
+ * Error reporting function for this source module:
+@@ -150,10 +154,6 @@
+ }
+
+
+-static void
+-_v_erf(const char *format,va_list ap) {
+- vsprintf(emsg,format,ap); /* Capture message into emsg[] */
+-}
+
+
+
diff --git a/games-board/qgo/qgo-1.0.1.ebuild b/games-board/qgo/qgo-1.0.1.ebuild
index 9096f580b016..2c3d64ea6be3 100644
--- a/games-board/qgo/qgo-1.0.1.ebuild
+++ b/games-board/qgo/qgo-1.0.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-board/qgo/qgo-1.0.1.ebuild,v 1.1 2005/03/31 17:36:05 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-board/qgo/qgo-1.0.1.ebuild,v 1.2 2005/05/24 21:06:01 mr_bones_ Exp $
inherit kde-functions eutils
need-qt 3
@@ -17,7 +17,7 @@ IUSE=""
src_unpack() {
unpack ${A}
cd "${S}"
- epatch "${FILESDIR}"/0.2.2-gcc.patch
+ epatch "${FILESDIR}"/${PV}-gcc.patch
}
src_install() {