summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-06-08 13:29:29 +0000
committerMike Frysinger <vapier@gentoo.org>2004-06-08 13:29:29 +0000
commit438cf93e6418086a3a0b3ec97719e7d48b49954e (patch)
tree64b933630e6deef6141fd231fbb6baa42c185dcd /games-board/qgo
parentMarked stable on hppa. (diff)
downloadhistorical-438cf93e6418086a3a0b3ec97719e7d48b49954e.tar.gz
historical-438cf93e6418086a3a0b3ec97719e7d48b49954e.tar.bz2
historical-438cf93e6418086a3a0b3ec97719e7d48b49954e.zip
small compile fix
Diffstat (limited to 'games-board/qgo')
-rw-r--r--games-board/qgo/Manifest17
-rw-r--r--games-board/qgo/files/0.2-gcc.patch24
-rw-r--r--games-board/qgo/qgo-0.2.ebuild12
3 files changed, 47 insertions, 6 deletions
diff --git a/games-board/qgo/Manifest b/games-board/qgo/Manifest
index 97184ee3923d..bcb400b149f6 100644
--- a/games-board/qgo/Manifest
+++ b/games-board/qgo/Manifest
@@ -1,6 +1,17 @@
-MD5 4eb3c276a5e9f9f05d31829d3857d419 ChangeLog 675
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+MD5 430b931d7a6030eebe39830578fbce5d ChangeLog 674
MD5 7be057a9771e6eb03103063d47a366b8 metadata.xml 388
-MD5 f3fa98f81920c0ac01d3ae7f5d62e8b9 qgo-0.1.3.ebuild 714
-MD5 6b91429be60baf79a5e7ddd21f73a010 qgo-0.2.ebuild 553
+MD5 1885e54a7874cb88c4511f67ad436976 qgo-0.1.3.ebuild 713
+MD5 baa93969da9bd59d69f6dfae7187cb4f qgo-0.2.ebuild 634
MD5 ea7f21cf900889be2ff0f258234dab0d files/digest-qgo-0.1.3 62
+MD5 c8d87e22089221af58773e0115d51003 files/0.2-gcc.patch 520
MD5 5a2efa67c8d2fe8776b7989246d2d620 files/digest-qgo-0.2 60
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.9.8 (GNU/Linux)
+
+iD8DBQFAxb9eHTu7gpaalycRAniGAJ9LVXUu+wliiG3BpJI+5qtkmEp6/wCg0/bv
+wUYNy55R8yMilIx18FutvyU=
+=HLzM
+-----END PGP SIGNATURE-----
diff --git a/games-board/qgo/files/0.2-gcc.patch b/games-board/qgo/files/0.2-gcc.patch
new file mode 100644
index 000000000000..0d113732b156
--- /dev/null
+++ b/games-board/qgo/files/0.2-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-0.2.ebuild b/games-board/qgo/qgo-0.2.ebuild
index f81dc2c2ccd9..75e347ce7bca 100644
--- a/games-board/qgo/qgo-0.2.ebuild
+++ b/games-board/qgo/qgo-0.2.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-board/qgo/qgo-0.2.ebuild,v 1.2 2004/06/04 09:10:03 dholm Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-board/qgo/qgo-0.2.ebuild,v 1.3 2004/06/08 13:29:29 vapier Exp $
-inherit kde-functions
+inherit kde-functions eutils
need-qt 3
DESCRIPTION="A c++/qt go client and sgf editor"
@@ -11,9 +11,15 @@ SRC_URI="mirror://sourceforge/qgo/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~x86 ~ppc"
+KEYWORDS="x86 ppc"
IUSE=""
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/${PV}-gcc.patch
+}
+
src_install() {
make DESTDIR="${D}" install || die "make install failed"
dodoc qgo/README ChangeLog TODO