diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2014-10-30 03:53:36 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2014-10-30 03:53:36 +0000 |
commit | d3559567a0dba0b99aff902f4defb53f4819a433 (patch) | |
tree | d79a0dc9d645876ebe1656fd266a61595d0e6516 /games-board/qgo | |
parent | Drop old (diff) | |
download | gentoo-2-d3559567a0dba0b99aff902f4defb53f4819a433.tar.gz gentoo-2-d3559567a0dba0b99aff902f4defb53f4819a433.tar.bz2 gentoo-2-d3559567a0dba0b99aff902f4defb53f4819a433.zip |
EAPI=5; fix compile warning
(Portage version: 2.2.8-r2/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'games-board/qgo')
-rw-r--r-- | games-board/qgo/ChangeLog | 8 | ||||
-rw-r--r-- | games-board/qgo/files/qgo-1.5.4_p20100322-buffer.patch | 11 | ||||
-rw-r--r-- | games-board/qgo/qgo-1.5.4_p20100322.ebuild | 12 |
3 files changed, 24 insertions, 7 deletions
diff --git a/games-board/qgo/ChangeLog b/games-board/qgo/ChangeLog index aa853c5ea5f6..fbf882a5f546 100644 --- a/games-board/qgo/ChangeLog +++ b/games-board/qgo/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for games-board/qgo -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-board/qgo/ChangeLog,v 1.44 2013/03/02 21:13:33 hwoarang Exp $ +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-board/qgo/ChangeLog,v 1.45 2014/10/30 03:53:36 mr_bones_ Exp $ + + 30 Oct 2014; Michael Sterrett <mr_bones_@gentoo.org> + +files/qgo-1.5.4_p20100322-buffer.patch, qgo-1.5.4_p20100322.ebuild: + EAPI=5; fix compile warning 02 Mar 2013; Markos Chandras <hwoarang@gentoo.org> qgo-1.5.4_p20100322.ebuild: Move Qt dependencies to the new category diff --git a/games-board/qgo/files/qgo-1.5.4_p20100322-buffer.patch b/games-board/qgo/files/qgo-1.5.4_p20100322-buffer.patch new file mode 100644 index 000000000000..cb0f0156dd3b --- /dev/null +++ b/games-board/qgo/files/qgo-1.5.4_p20100322-buffer.patch @@ -0,0 +1,11 @@ +--- src/network/tygemconnection.cpp.orig 2014-10-29 23:49:21.436929924 -0400 ++++ src/network/tygemconnection.cpp 2014-10-29 23:50:43.481183852 -0400 +@@ -4768,7 +4768,7 @@ + unsigned int i; + + QString encoded_name; +- name[15] = 0x00; ++ name[14] = 0x00; + int records = (msg[0] << 8) + msg[1]; + if((records * 16) + 4 != (int)size) + { diff --git a/games-board/qgo/qgo-1.5.4_p20100322.ebuild b/games-board/qgo/qgo-1.5.4_p20100322.ebuild index 41df03b26baa..edf2986da2ee 100644 --- a/games-board/qgo/qgo-1.5.4_p20100322.ebuild +++ b/games-board/qgo/qgo-1.5.4_p20100322.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2013 Gentoo Foundation +# Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-board/qgo/qgo-1.5.4_p20100322.ebuild,v 1.9 2013/03/02 21:13:33 hwoarang Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-board/qgo/qgo-1.5.4_p20100322.ebuild,v 1.10 2014/10/30 03:53:36 mr_bones_ Exp $ -EAPI=2 +EAPI=5 inherit eutils qt4-r2 games DESCRIPTION="An ancient boardgame, very common in Japan, China and Korea" @@ -18,6 +18,7 @@ DEPEND="media-libs/alsa-lib dev-qt/qtcore:4 dev-qt/qtgui:4 dev-qt/qttest:4" +RDEPEND="${DEPEND}" src_prepare() { sed -i \ @@ -32,7 +33,8 @@ src_prepare() { epatch \ "${FILESDIR}"/${P}-gcc45.patch \ - "${FILESDIR}"/${P}-qt47.patch + "${FILESDIR}"/${P}-qt47.patch \ + "${FILESDIR}"/${P}-buffer.patch } src_configure() { @@ -45,7 +47,7 @@ src_install() { dodoc AUTHORS insinto "${GAMES_DATADIR}"/qgo/languages - doins src/translations/*.qm || die + doins src/translations/*.qm prepgamesdirs } |