+++ /dev/null
---- ggz-gtk/ggzclient.c.orig 2004-12-26 17:57:46.578440888 -0500
-+++ ggz-gtk/ggzclient.c 2004-12-26 17:58:35.865948048 -0500
-@@ -67,7 +67,6 @@
- static GGZHookReturn ggz_entered_fail(GGZServerEvent id, void* event_data, void* user_data);
- static GGZHookReturn ggz_logout(GGZServerEvent id, void* event_data, void* user_data);
- static GGZHookReturn ggz_motd_loaded(GGZServerEvent id, void* event_data, void* user_data);
--static GGZHookReturn ggz_table_left(GGZServerEvent id, void* event_data, void* user_data);
- static GGZHookReturn ggz_server_error(GGZServerEvent id, void* event_data, void* user_data);
- static GGZHookReturn ggz_net_error(GGZServerEvent id, void* event_data, void* user_data);
-
+++ /dev/null
-MD5 5607b66d6a75e3de9706342a0aebff03 ggz-gtk-client-0.0.13.tar.gz 724743
-RMD160 23b3be9b6d274e58dc45ff19a849fe4f5948e3bc ggz-gtk-client-0.0.13.tar.gz 724743
-SHA256 c947392a28ce3011c7b9e3de883ee7c4fdfbfb42569c141a04246275a05c9413 ggz-gtk-client-0.0.13.tar.gz 724743
+++ /dev/null
-MD5 65a989fee6b0df22cbbf22eb603668b8 ggz-gtk-client-0.0.9.tar.gz 383193
-RMD160 b15dcfe8b4b1284b29eb6fc5dc7035abc3590ec8 ggz-gtk-client-0.0.9.tar.gz 383193
-SHA256 3def0ba123483c842205ce4b16129e2aa814adfb0a6f6b39c5475b973533e875 ggz-gtk-client-0.0.9.tar.gz 383193
+++ /dev/null
---- configure.ac
-+++ configure.ac
-@@ -28,8 +28,23 @@
-
- dnl Gaim plugin check
- dnl =================
--AC_GAIM
--
-+AC_ARG_ENABLE([gaim],
-+ AC_HELP_STRING([--enable-gaim], [build gaim plugin]),,
-+ [enable_gaim=no])
-+
-+if test x$enable_gaim = xyes ; then
-+ PKG_CHECK_MODULES(GAIM, [gaim])
-+
-+ GAIM_LIBDIR=`pkg-config --variable=libdir gaim`
-+ GAIM_DATADIR=`pkg-config --variable=datadir gaim`
-+ GAIMPLUGIN=gaim-plugin
-+
-+ AC_SUBST(GAIM_CFLAGS)
-+ AC_SUBST(GAIM_LIBS)
-+ AC_SUBST(GAIM_LIBDIR)
-+ AC_SUBST(GAIM_DATADIR)
-+ AC_SUBST(GAIMPLUGIN)
-+fi
-
- dnl Check for header files
- dnl ======================
-@@ -118,7 +133,7 @@
- echo " GDB Debugging......$enable_debug_gdb"
- echo " Dmalloc Debugging..$enable_debug_mem"
- echo ""
--echo " Gaim plugin........$have_gaim"
-+echo " Gaim plugin........$enable_gaim"
- echo ""
- echo "At the prompt type \"make\" to compile the GGZ gtk client"
- echo ""
-
---- gaim-plugin/Makefile.am
-+++ gaim-plugin/Makefile.am
-@@ -1,15 +1,15 @@
- ## Process this file with automake to produce Makefile.in
- # $Id: ggz-gtk-client-0.0.13-gaim.patch,v 1.1 2006/10/11 15:35:26 nyhm Exp $
-
--plugindir = $(libdir)/gaim
-+plugindir = @GAIM_LIBDIR@/gaim
-
- plugin_LTLIBRARIES = ggzgaim.la
-
- ggzgaim_la_SOURCES = simple.c
- ggzgaim_la_LDFLAGS = -module -avoid-version @GTK_CFLAGS@ $(LIBGGZ_LDFLAGS)
--ggzgaim_la_LIBADD = @GTK_LIBS@ $(LIB_GGZ)
-+ggzgaim_la_LIBADD = @GTK_LIBS@ @GAIM_LIBS@ $(LIB_GGZ)
-
--AM_CPPFLAGS = @GTK_CFLAGS@ $(LIBGGZ_INCLUDES)
-+AM_CPPFLAGS = @GTK_CFLAGS@ @GAIM_CFLAGS@ $(LIBGGZ_INCLUDES)
-
- EXTRA_DIST = ggz.xpm
-
+++ /dev/null
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-board/ggz-gtk-client/ggz-gtk-client-0.0.13.ebuild,v 1.6 2006/10/11 15:35:26 nyhm Exp $
-
-WANT_AUTOCONF="latest"
-WANT_AUTOMAKE="latest"
-inherit autotools eutils games
-
-DESCRIPTION="The gtk client for the GGZ Gaming Zone"
-HOMEPAGE="http://www.ggzgamingzone.org/"
-SRC_URI="http://ftp.belnet.be/packages/ggzgamingzone/ggz/${PV}/${P}.tar.gz
- http://mirrors.ibiblio.org/pub/mirrors/ggzgamingzone/ggz/${PV}/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="-amd64 ppc x86"
-IUSE="gaim"
-RESTRICT="userpriv"
-
-RDEPEND="~dev-games/ggz-client-libs-${PV}
- =x11-libs/gtk+-2*
- virtual/libintl
- gaim? ( =net-im/gaim-1.5* )"
-DEPEND="${RDEPEND}
- sys-devel/gettext
- dev-util/pkgconfig"
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- epatch "${FILESDIR}"/${P}-gaim.patch
-
- sed -i '/desktopdir/s:$(datadir):/usr/share:' \
- Makefile.am || die "sed Makefile.am failed"
-
- eautoreconf
-
- sed -i 's:$(includedir):/usr/include:' \
- ggz-gtk/Makefile.in || die "sed Makefile.in failed"
-
- sed -i '/locale/s:$(prefix):/usr:' \
- po/Makefile.in || die "sed configure.ac failed"
-}
-
-src_compile() {
- egamesconf \
- --disable-debug \
- $(use_enable gaim) \
- || die
- emake || die "emake failed"
-}
-
-src_install() {
- dodir /usr/include
- emake DESTDIR="${D}" install || die "emake install failed"
- rmdir "${D}/${GAMES_PREFIX}"/include
-
- dodoc AUTHORS ChangeLog NEWS QuickStart.GGZ README* TODO
- prepgamesdirs
-}
+++ /dev/null
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-board/ggz-gtk-client/ggz-gtk-client-0.0.9.ebuild,v 1.5 2006/07/09 01:42:22 wormo Exp $
-
-inherit eutils games
-
-DESCRIPTION="The gtk client for GGZ Gaming Zone"
-HOMEPAGE="http://ggz.sourceforge.net/"
-SRC_URI="http://ftp.ggzgamingzone.org/pub/ggz/${PV}/${P}.tar.gz
- http://mirrors.ibiblio.org/pub/mirrors/ggzgamingzone/ggz/${PV}/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="ppc ~x86"
-IUSE="nls"
-
-DEPEND="~dev-games/ggz-client-libs-${PV}
- =x11-libs/gtk+-2* "
-
-src_unpack() {
- unpack ${A}
- cd ${S}
- epatch ${FILESDIR}/${PV}-duplicate-prototypes.patch
- sed -i 's:dir=$(prefix):dir=$(DESTDIR)$(prefix):' po/Makefile.in
-}
-
-src_compile() {
- egamesconf \
- --disable-debug \
- $(use_enable nls) \
- --enable-gtk=gtk2 \
- || die
- emake || die
-}
-
-src_install() {
- make DESTDIR="${D}" install || die
- dodoc AUTHORS ChangeLog NEWS QuickStart.GGZ README* TODO
- prepgamesdirs
-}
+++ /dev/null
-MD5 7c055af049f523f0956b012e4b54b7c5 ggz-gtk-games-0.0.13.tar.gz 1615436
-RMD160 f7ebb6b1125f3ec6f9a7198e1c4680d4a0142a17 ggz-gtk-games-0.0.13.tar.gz 1615436
-SHA256 08ec15eb3c9ebd7dd71da33c20ef419992da777799bf485d95ad6e0c22f63562 ggz-gtk-games-0.0.13.tar.gz 1615436
+++ /dev/null
-MD5 d13b6d52c3b06d74b25ae4ea352bb3d9 ggz-gtk-games-0.0.9.tar.gz 1737708
-RMD160 c9fcef678f18f46ad86bdec159fa73f17e3a363a ggz-gtk-games-0.0.9.tar.gz 1737708
-SHA256 6822dd99a758d9e4a11248eff440f38373a2339810a0a64be0ab8440744f1f50 ggz-gtk-games-0.0.9.tar.gz 1737708
+++ /dev/null
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-board/ggz-gtk-games/ggz-gtk-games-0.0.13.ebuild,v 1.5 2007/02/17 09:29:58 nyhm Exp $
-
-inherit games
-
-DESCRIPTION="These are the GTK+ versions of the games made by GGZ Gaming Zone"
-HOMEPAGE="http://www.ggzgamingzone.org/"
-SRC_URI="http://ftp.belnet.be/packages/ggzgamingzone/ggz/${PV}/${P}.tar.gz
- http://mirrors.ibiblio.org/pub/mirrors/ggzgamingzone/ggz/${PV}/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="-amd64 ppc x86"
-IUSE="nls"
-RESTRICT="userpriv"
-
-RDEPEND="~games-board/ggz-gtk-client-${PV}
- =x11-libs/gtk+-2*
- nls? ( virtual/libintl )"
-DEPEND="${RDEPEND}
- nls? ( sys-devel/gettext )"
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
- sed -i 's:$[{(]prefix[)}]/share/locale:/usr/share/locale:' \
- $(find po -name 'Makefile.in*') \
- configure \
- || die "sed failed"
-}
-
-src_compile() {
- egamesconf \
- --disable-debug \
- --disable-dependency-tracking \
- $(use_enable nls) \
- || die
- emake || die "emake failed"
-}
-
-src_install() {
- if [[ -f ${GAMES_SYSCONFDIR}/ggz/ggz.modules ]] ; then
- dodir "${GAMES_SYSCONFDIR}"/ggz
- cp {,"${D}"}/"${GAMES_SYSCONFDIR}"/ggz/ggz.modules
- fi
- emake DESTDIR="${D}" install || die "emake install failed"
- dodoc AUTHORS ChangeLog NEWS QuickStart.GGZ README* TODO
- prepgamesdirs
-}
+++ /dev/null
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-board/ggz-gtk-games/ggz-gtk-games-0.0.9.ebuild,v 1.5 2006/07/09 01:41:24 wormo Exp $
-
-DESCRIPTION="These are the gtk versions of the games made by GGZ Gaming Zone"
-HOMEPAGE="http://ggz.sourceforge.net/"
-SRC_URI="http://ftp.ggzgamingzone.org/pub/ggz/${PV}/${P}.tar.gz
- http://mirrors.ibiblio.org/pub/mirrors/ggzgamingzone/ggz/${PV}/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="ppc ~x86"
-IUSE=""
-
-DEPEND="~games-board/ggz-gtk-client-${PV}
- =x11-libs/gtk+-2*"
-
-src_compile() {
- myconf="--enable-gtk2"
-
- econf ${myconf} || die
- make || die
-}
-
-src_install() {
- make DESTDIR="${D}" install || die
- dodoc AUTHORS ChangeLog NEWS QuickStart.GGZ README* TODO
-}
+++ /dev/null
-MD5 ea112d9773be8d0025de6c7c18ceee66 ggz-kde-client-0.0.13.tar.gz 1746272
-RMD160 7c461102ddd8980085ba2f8f4440f98c56513def ggz-kde-client-0.0.13.tar.gz 1746272
-SHA256 c8da2b970825dc9474c49a03a09d83499f1f38cfb56e2e9614c20d30160d381e ggz-kde-client-0.0.13.tar.gz 1746272
+++ /dev/null
-MD5 2f365d2883d3bf00a800a15a8704abf9 ggz-kde-client-0.0.9.tar.gz 2453121
-RMD160 7661e34a14d265813bd42d3b2ef567913379e036 ggz-kde-client-0.0.9.tar.gz 2453121
-SHA256 1c7b0c71639a0afd4084d13bb8eb85b0b02f71d6477f30f4c7b86cfe1add3ee3 ggz-kde-client-0.0.9.tar.gz 2453121
+++ /dev/null
---- ggz-kde/src/KGGZCommon.h
-+++ ggz-kde/src/KGGZCommon.h
-@@ -83,12 +83,6 @@
- //#ifndef __USE_ISO9CX
- // #define __USE_ISO9CX
- //#endif
-- #ifndef atoll
-- #define atoll(x) atol(x)
-- #endif
-- #ifndef strdup
-- #define strdup(x) strcpy(((char*)malloc(strlen(x) + 1)), x)
-- #endif
- #else
- #define KGGZDEBUGF(fmt, args...) printf("KGGZ >> " fmt, ##args)
- #define KGGZDEBUG(fmt, args...) printf(">>> " fmt, ##args)
+++ /dev/null
---- ggz-kde/src/abstract/Makefile.in.old 2006-04-28 23:38:18.000000000 +0200
-+++ ggz-kde/src/abstract/Makefile.in 2006-04-28 23:38:51.000000000 +0200
-@@ -262,7 +262,7 @@
-
- AM_CXXFLAGS = @COMPILEOPTIONS@ $(GGZCORE_INCLUDES)
-
--INCLUDES = $(ggzcorepp_includes) -I $(top_srcdir)/ggz-kde/src -I $(kde_includes)
-+INCLUDES = $(ggzcorepp_includes) -I $(top_srcdir)/ggz-kde/src -I $(qt_includes) -I $(kde_includes)
- subdir = ggz-kde/src/abstract
- ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
- mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
---- shadowbridge/shadownet.cpp.old 2006-04-28 23:53:33.000000000 +0200
-+++ shadowbridge/shadownet.cpp 2006-04-28 23:55:20.000000000 +0200
-@@ -132,43 +132,43 @@
- void ShadowNet::slotRead(int sock)
- {
- QDataStream *s;
-- char transmit = '\0';
-+ Q_INT8 transmit = Q_INT8('\0');
-
- //cout << "game -> ggzcore: " << sock << endl;
-
- s = list.at(m_activated);
- if((!s) || (!net)) return;
-
-- *s >> (Q_INT8)transmit;
-- *net << (Q_INT8)transmit;
-+ *s >> transmit;
-+ *net << transmit;
-
- if(!m_incoming.isEmpty())
- {
- emit signalIncoming(m_incoming);
- m_incoming = "";
- }
-- m_outgoing.append(convert(transmit));
-+ m_outgoing.append(convert(char(transmit)));
- }
-
- void ShadowNet::slotWrite(int sock)
- {
- QDataStream *s;
-- char transmit = '\0';
-+ Q_INT8 transmit = Q_INT8('\0');
-
- //cout << "ggzcore -> game " << sock << endl;
-
- s = list.at(m_activated);
- if((!s) || (!net)) return;
-
-- *net >> (Q_INT8)transmit;
-- *s << (Q_INT8)transmit;
-+ *net >> transmit;
-+ *s << transmit;
-
- if(!m_outgoing.isEmpty())
- {
- emit signalOutgoing(m_outgoing);
- m_outgoing = "";
- }
-- m_incoming.append(convert(transmit));
-+ m_incoming.append(convert(char(transmit)));
- }
-
- void ShadowNet::slotActivated(int index)
---- kcm_ggz/kcm_ggz.cpp.old 2006-04-29 00:16:59.000000000 +0200
-+++ kcm_ggz/kcm_ggz.cpp 2006-04-29 00:22:39.000000000 +0200
-@@ -15,7 +15,7 @@
-
- #include "config.h"
-
--typedef KCMGGZPane* (*panefunc)(QWidget *parent = NULL, const char *name = NULL);
-+typedef KCMGGZPane* (*panefunc)(QWidget *parent, const char *name);
-
- KCMGGZ::KCMGGZ(KInstance *instance, QWidget *parent, const char *name)
- : KCModule(instance, parent, name)
-@@ -50,7 +50,7 @@
- if(func)
- {
- init = (panefunc)func;
-- pane = (*init)(ctl);
-+ pane = (*init)(ctl, NULL);
- if(pane)
- {
- panelist.append(pane);
+++ /dev/null
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-board/ggz-kde-client/ggz-kde-client-0.0.13.ebuild,v 1.3 2006/11/15 11:43:12 nyhm Exp $
-
-inherit eutils kde-functions multilib games
-
-DESCRIPTION="The KDE client for GGZ Gaming Zone"
-HOMEPAGE="http://www.ggzgamingzone.org/"
-SRC_URI="http://ftp.ggzgamingzone.org/pub/ggz/${PV}/${P}.tar.gz
- http://mirrors.ibiblio.org/pub/mirrors/ggzgamingzone/ggz/${PV}/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~ppc ~x86"
-IUSE="arts"
-RESTRICT="userpriv"
-
-DEPEND="~dev-games/ggz-client-libs-${PV}
- arts? ( kde-base/arts )"
-
-need-kde 3
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
- sed -i 's:$(prefix)/share:$(datadir):' \
- ggz-kde/ggzcore++/doc/{,html/}Makefile.in \
- || die "sed failed"
- sed -i "s:\${prefix}/share:/usr/share:" \
- configure || die "sed failed"
- epatch "${FILESDIR}"/${P}-defines.patch
-}
-
-src_compile() {
- egamesconf \
- --disable-dependency-tracking \
- --libdir=/usr/$(get_libdir) \
- --datadir=/usr/share \
- --disable-debug \
- $(use_with arts) \
- || die
- emake || die "emake failed"
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die "emake install failed"
- dodoc AUTHORS ChangeLog NEWS *.GGZ README TODO
- prepgamesdirs
-}
+++ /dev/null
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-board/ggz-kde-client/ggz-kde-client-0.0.9.ebuild,v 1.4 2006/07/02 14:56:54 pylon Exp $
-
-inherit kde
-
-DESCRIPTION="The kde client for GGZ Gaming Zone"
-HOMEPAGE="http://ggz.sourceforge.net/"
-SRC_URI="http://ftp.ggzgamingzone.org/pub/ggz/${PV}/${P}.tar.gz
- http://mirrors.ibiblio.org/pub/mirrors/ggzgamingzone/ggz/${PV}/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="ppc ~x86"
-IUSE=""
-
-DEPEND="~dev-games/ggz-client-libs-${PV}"
-
-PATCHES="${FILESDIR}/${P}-gcc41.patch"
-
-need-kde 3
+++ /dev/null
-MD5 6a2b3ae346ae593003c31d3b92cf2655 ggz-kde-games-0.0.13.tar.gz 2281666
-RMD160 0a6ef811f5fb83980c11c6d151ea7019f3a13083 ggz-kde-games-0.0.13.tar.gz 2281666
-SHA256 6f7415b649785c5715e648f8bda13d172dd7ab2fd50ec76e33b0c4c001384ede ggz-kde-games-0.0.13.tar.gz 2281666
+++ /dev/null
-MD5 e3fe8da7e0a3d83bc951fac463d06e8a ggz-kde-games-0.0.9.tar.gz 2023088
-RMD160 c22bdea98f04e199c36e64a00558f23a76c0528d ggz-kde-games-0.0.9.tar.gz 2023088
-SHA256 82f72637037ecedb60c42792162cedc25540c14c4c1944b1d254f6cf506d9b32 ggz-kde-games-0.0.9.tar.gz 2023088
+++ /dev/null
---- kdots/kdots.cpp.old 2006-04-29 02:10:41.000000000 +0200
-+++ kdots/kdots.cpp 2006-04-29 02:14:43.000000000 +0200
-@@ -160,39 +160,39 @@
-
- switch(op)
- {
-- case proto->msgseat:
-+ case KDotsProto::msgseat:
- proto->getSeat();
- if(proto->num == 1) emit signalColor(QColor(0, 0, 250));
- else if(proto->num == 0) emit signalColor(QColor(0, 0, 50));
- else emit signalColor(QColor(255, 255, 255));
- break;
-- case proto->msgplayers:
-+ case KDotsProto::msgplayers:
- proto->getPlayers();
- if(proto->state != proto->statechoose) proto->state = proto->statewait;
- break;
-- case proto->msgoptions:
-+ case KDotsProto::msgoptions:
- proto->getOptions();
- dots->resizeBoard(proto->width - 1, proto->height - 1);
- dots->refreshBoard();
- break;
-- case proto->reqmove:
-+ case KDotsProto::reqmove:
- emit signalStatus(i18n("Your turn."));
- proto->state = proto->statemove;
- proto->turn = proto->num;
- break;
-- case proto->msgmoveh:
-+ case KDotsProto::msgmoveh:
- proto->getOppMove(proto->sndmoveh);
- dots->setBorderValue(proto->movex, proto->movey, QDots::right, proto->turn, Dots::move);
- dots->repaint();
- if(proto->num < 0) proto->turn = !proto->turn;
- break;
-- case proto->msgmovev:
-+ case KDotsProto::msgmovev:
- proto->getOppMove(proto->sndmovev);
- dots->setBorderValue(proto->movex, proto->movey, QDots::down, proto->turn, Dots::move);
- dots->repaint();
- if(proto->num < 0) proto->turn = !proto->turn;
- break;
-- case proto->rspmove:
-+ case KDotsProto::rspmove:
- if(proto->getMove() != -1)
- {
- dots->setBorderValue(proto->m_lastx, proto->m_lasty, proto->m_lastdir, proto->turn, Dots::move);
-@@ -204,7 +204,7 @@
- emit signalStatus(i18n("Invalid move, please try again!"));
- }
- break;
-- case proto->msggameover:
-+ case KDotsProto::msggameover:
- savepath = QDir::home().path() + "/.ggz";
- dir.mkdir(savepath);
- savepath += "/games";
-@@ -229,10 +229,10 @@
- exit(-1);
- }
- break;
-- case proto->sndsync:
-+ case KDotsProto::sndsync:
- gamesync();
- break;
-- case proto->reqoptions:
-+ case KDotsProto::reqoptions:
- slotOptions();
- break;
- default:
---- ktictactux/ktictactux.cpp.old 2006-04-29 02:26:43.000000000 +0200
-+++ ktictactux/ktictactux.cpp 2006-04-29 02:34:11.000000000 +0200
-@@ -82,15 +82,15 @@
- QWhiteFrame *tmp;
- int id;
-
-- if(proto->state != proto->statemove) return;
-+ if(proto->state != (int)proto->statemove) return;
- if(m_turn != proto->num) return;
-
- //id = widget->winId() - m_firstid;
- tmp = reinterpret_cast<QWhiteFrame*>(widget);
- id = tmp->id();
-
-- if(proto->board[id % 3][id / 3] == proto->player) return;
-- if(proto->board[id % 3][id / 3] == proto->opponent) return;
-+ if(proto->board[id % 3][id / 3] == (int)proto->player) return;
-+ if(proto->board[id % 3][id / 3] == (int)proto->opponent) return;
-
- if(m_opponent == PLAYER_AI)
- {
-@@ -110,7 +110,7 @@
- // Prepare your turn
- void KTicTacTux::yourTurn()
- {
-- if((m_opponent == PLAYER_AI) || (proto->state == proto->statemove)) emit signalStatus(i18n("Your turn"));
-+ if((m_opponent == PLAYER_AI) || (proto->state == (int)proto->statemove)) emit signalStatus(i18n("Your turn"));
- proto->state = proto->statemove;
- }
-
-@@ -166,7 +166,7 @@
- // Check for draw (no empty fields left)
- for(int j = 0; j < 3; j++)
- for(int i = 0; i < 3; i++)
-- if(proto->board[i][j] == proto->none)
-+ if(proto->board[i][j] == (int)proto->none)
- {
- m_x = i;
- m_y = j;
-@@ -283,14 +283,14 @@
- {
- if((proto->board[i][j] == c)
- && (proto->board[2 - i][2 - j] != c)
-- && (proto->board[2 - i][2 - j] != proto->none))
-+ && (proto->board[2 - i][2 - j] != (int)proto->none))
- {
-- if(proto->board[i][2 - j] == proto->none)
-+ if(proto->board[i][2 - j] == (int)proto->none)
- {
- m_x = i;
- m_y = 2 - j;
- }
-- if(proto->board[2 - i][j] == proto->none)
-+ if(proto->board[2 - i][j] == (int)proto->none)
- {
- m_x = 2 - i;
- m_y = j;
-@@ -319,17 +319,17 @@
- {
- x = xo + xp * i;
- y = yo + yp * i;
-- if((proto->board[trip(x)][trip(y)] != proto->none)
-+ if((proto->board[trip(x)][trip(y)] != (int)proto->none)
- && (proto->board[trip(x + xp)][trip(y + yp)] == proto->board[trip(x)][trip(y)]))
- {
- if(proto->board[trip(x + xp * 2)][trip(y + yp * 2)] != proto->board[trip(x)][trip(y)])
- {
-- if((proto->board[trip(x + xp * 2)][trip(y + yp * 2)] == proto->none) && (!m_seewinner))
-+ if((proto->board[trip(x + xp * 2)][trip(y + yp * 2)] == (int)proto->none) && (!m_seewinner))
- {
- m_x = trip(x + xp * 2);
- m_y = trip(y + yp * 2);
- // take unlimited chance
-- if(proto->board[trip(x)][trip(y)] == proto->opponent) m_seewinner = 1;
-+ if(proto->board[trip(x)][trip(y)] == (int)proto->opponent) m_seewinner = 1;
- }
- }
- else m_winner = proto->board[trip(x + xp * 2)][trip(y + yp * 2)];
-@@ -389,33 +389,33 @@
-
- switch(op)
- {
-- case proto->msgseat:
-+ case KTicTacTuxProto::msgseat:
- proto->getSeat();
- break;
-- case proto->msgplayers:
-+ case KTicTacTuxProto::msgplayers:
- proto->getPlayers();
- proto->state = proto->statewait;
- if((proto->num >= 0) && (proto->names[!proto->num][0]))
- emit signalScore(i18n("Network game with %1").arg(proto->names[!proto->num]));
- break;
-- case proto->reqmove:
-+ case KTicTacTuxProto::reqmove:
- proto->state = proto->statemove;
- m_turn = proto->num;
- emit signalStatus(i18n("Your move"));
- break;
-- case proto->rspmove:
-+ case KTicTacTuxProto::rspmove:
- switch(proto->getMoveStatus())
- {
-- case proto->errstate:
-+ case KTicTacTuxProto::errstate:
- emit signalStatus(i18n("*server*"));
- break;
-- case proto->errturn:
-+ case KTicTacTuxProto::errturn:
- emit signalStatus(i18n("*turn*"));
- break;
-- case proto->errbound:
-+ case KTicTacTuxProto::errbound:
- emit signalStatus(i18n("*bounds*"));
- break;
-- case proto->errfull:
-+ case KTicTacTuxProto::errfull:
- emit signalStatus(i18n("*occupied*"));
- break;
- default:
-@@ -423,18 +423,18 @@
- }
- getNextTurn();
- break;
-- case proto->msgmove:
-+ case KTicTacTuxProto::msgmove:
- proto->getOpponentMove();
- if(proto->num < 0) emit signalStatus(i18n("Watching the game"));
- break;
-- case proto->sndsync:
-+ case KTicTacTuxProto::sndsync:
- proto->getSync();
- break;
- // case proto->sndstats:
- // proto->getStatistics();
- // emit signalNetworkScore(proto->stats[0], proto->stats[1]);
- // break;
-- case proto->msggameover:
-+ case KTicTacTuxProto::msggameover:
- proto->getGameOver();
- proto->state = proto->statedone;
- gameOver();
-@@ -450,10 +450,10 @@
- {
- switch(proto->board[i % 3][i / 3])
- {
-- case proto->player:
-+ case KTicTacTuxProto::player:
- frame[i % 3][i / 3]->setPaletteBackgroundPixmap(QPixmap(m_t1));
- break;
-- case proto->opponent:
-+ case KTicTacTuxProto::opponent:
- frame[i % 3][i / 3]->setPaletteBackgroundPixmap(QPixmap(m_t2));
- break;
- default:
---- koenig/game.cc.old 2006-04-29 02:41:38.000000000 +0200
-+++ koenig/game.cc 2006-04-29 02:41:48.000000000 +0200
-@@ -95,10 +95,10 @@
- case CHESS_MSG_PLAYERS:
- kdDebug(12101) << "Got an MSG_PLAYERS" << endl;
-
-- if (GGZ_SEAT_OPEN != (chessInfo.assign[0] = ggz->getChar()))
-+ if ((int)GGZ_SEAT_OPEN != (chessInfo.assign[0] = ggz->getChar()))
- chessInfo.name[0] = ggz->getString();
-
-- if (GGZ_SEAT_OPEN != (chessInfo.assign[1] = ggz->getChar()))
-+ if ((int)GGZ_SEAT_OPEN != (chessInfo.assign[1] = ggz->getChar()))
- chessInfo.name[1] = ggz->getString();
-
- kdDebug(12101) << "Got players " << chessInfo.name[0]
---- kcc/kcc.cpp.old 2006-04-29 02:50:16.000000000 +0200
-+++ kcc/kcc.cpp 2006-04-29 02:53:19.000000000 +0200
-@@ -152,7 +152,7 @@
- // Check for draw (no empty fields left)
- for(int j = 0; j < 3; j++)
- for(int i = 0; i < 3; i++)
-- if(proto->board[i][j] == KCCProto::none)
-+ if(proto->board[i][j] == (int)KCCProto::none)
- {
- m_x = i;
- m_y = j;
-@@ -298,30 +298,30 @@
-
- switch(op)
- {
-- case proto->cc_msg_seat:
-+ case KCCProto::cc_msg_seat:
- proto->getSeat();
- kdDebug() << "*proto* got my seat: " << proto->num << endl;
- break;
-- case proto->cc_msg_players:
-+ case KCCProto::cc_msg_players:
- proto->getPlayers();
- proto->state = KCCProto::statewait;
- emit signalScore(i18n("Network game"));
- kdDebug() << "*proto* got players " << endl;
- break;
-- case proto->cc_req_move:
-+ case KCCProto::cc_req_move:
- proto->state = KCCProto::statemove;
- m_turn = proto->num;
- emit signalStatus(i18n("Your move"));
- kdDebug() << "*proto* move requested" << endl;
- break;
-- case proto->cc_rsp_move:
-+ case KCCProto::cc_rsp_move:
- proto->getMoveStatus();
- switch(proto->status)
- {
-- case proto->errnone:
-+ case KCCProto::errnone:
- status = i18n("Move accepted");
- break;
-- case proto->errstate:
-+ case KCCProto::errstate:
- status = i18n("Table not yet full");
- break;
- default:
-@@ -332,7 +332,7 @@
- //getNextTurn();
- kdDebug() << "*proto* rsp_move " << status << ": " << (int)proto->status << endl;
-
-- if(proto->status == KCCProto::errnone)
-+ if(proto->status == (int)KCCProto::errnone)
- {
- findTarget(QPoint(m_fx, m_fy), QPoint(m_tx, m_ty), false);
- tmp = proto->board[m_fx][m_fy];
-@@ -342,7 +342,7 @@
- }
- m_fx = -1;
- break;
-- case proto->cc_msg_move:
-+ case KCCProto::cc_msg_move:
- kdDebug() << "*proto* msg_move" << endl;
- proto->getOpponentMove();
- //if(proto->num < 0) emit signalStatus(i18n("Watching the game"));
-@@ -352,11 +352,11 @@
- proto->board[proto->m_ox1][proto->m_oy1] = 1;
- proto->board[proto->m_ox2][proto->m_oy2] = tmp;
- break;
-- case proto->cc_msg_sync:
-+ case KCCProto::cc_msg_sync:
- proto->getSync();
- kdDebug() << "*proto* sync" << endl;
- break;
-- case proto->cc_msg_gameover:
-+ case KCCProto::cc_msg_gameover:
- proto->getGameOver();
- kdDebug() << "*proto* gameover" << endl;
- proto->state = KCCProto::statedone;
-@@ -376,7 +376,7 @@
- //setMask(QBitmap(QString("%1/kcc/mask.png").arg(GGZDATADIR)));
- p.begin(&b);
-
-- if(proto->state != KCCProto::statenone)
-+ if(proto->state != (int)KCCProto::statenone)
- for(int j = 0; j < 17; j++)
- for(int i = 0; i < 15; i++)
- {
+++ /dev/null
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-board/ggz-kde-games/ggz-kde-games-0.0.13.ebuild,v 1.4 2007/02/17 09:31:23 nyhm Exp $
-
-inherit kde-functions games
-
-DESCRIPTION="The KDE versions of the games for GGZ Gaming Zone"
-HOMEPAGE="http://www.ggzgamingzone.org/"
-SRC_URI="http://ftp.ggzgamingzone.org/pub/ggz/${PV}/${P}.tar.gz
- http://mirrors.ibiblio.org/pub/mirrors/ggzgamingzone/ggz/${PV}/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~ppc ~x86"
-IUSE="arts"
-RESTRICT="userpriv"
-
-DEPEND="~games-board/ggz-kde-client-${PV}
- arts? ( kde-base/arts )"
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
- sed -i 's:@prefix@:/usr:' \
- $(find . -name module.dsc.in) \
- || die "sed failed"
- # bug 155184
- sed -i '/^\/\//d' koenig/ai.c || die "sed ai.c failed"
-}
-
-src_compile() {
- egamesconf \
- --disable-dependency-tracking \
- --datadir=/usr/share \
- $(use_with arts) \
- || die
- emake || die "emake failed"
-}
-
-src_install() {
- if [[ -f ${GAMES_SYSCONFDIR}/ggz/ggz.modules ]] ; then
- dodir "${GAMES_SYSCONFDIR}"/ggz
- cp {,"${D}"}/"${GAMES_SYSCONFDIR}"/ggz/ggz.modules
- fi
- emake DESTDIR="${D}" install || die "emake install failed"
- dodoc AUTHORS ChangeLog NEWS *.GGZ README TODO
- prepgamesdirs
-}
+++ /dev/null
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-board/ggz-kde-games/ggz-kde-games-0.0.9.ebuild,v 1.4 2006/07/02 14:57:40 pylon Exp $
-
-inherit kde
-
-DESCRIPTION="These are the kde versions of the games made by GGZ Gaming Zone"
-HOMEPAGE="http://ggz.sourceforge.net/"
-SRC_URI="http://ftp.ggzgamingzone.org/pub/ggz/${PV}/${P}.tar.gz
- http://mirrors.ibiblio.org/pub/mirrors/ggzgamingzone/ggz/${PV}/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="ppc ~x86"
-IUSE=""
-
-DEPEND="~dev-games/ggz-client-libs-${PV}
- ~games-board/ggz-kde-client-${PV}"
-
-PATCHES="${FILESDIR}/${P}"-gcc41.patch
-
-need-kde 3
+++ /dev/null
-MD5 051b7455e14c765445e5cf4e196eea48 ggz-sdl-games-0.0.13.tar.gz 240778
-RMD160 9913208f2c9f72b6c2301e67e93074c7e1a496ce ggz-sdl-games-0.0.13.tar.gz 240778
-SHA256 f6d7ca48b4926931f1d9f8fec6f9f542a6e079e1e701d678bacb75f0468ba86d ggz-sdl-games-0.0.13.tar.gz 240778
+++ /dev/null
-MD5 95f00ee698af27374425f1d0a924d017 ggz-sdl-games-0.0.9.tar.gz 175949
-RMD160 85aa64d3a5f9a5de58243e7f218c13e50292add7 ggz-sdl-games-0.0.9.tar.gz 175949
-SHA256 55375bff0eb3e6aa4de2fb692b8831c5ee05740dea20deadc901b1f43b8595d7 ggz-sdl-games-0.0.9.tar.gz 175949
+++ /dev/null
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-board/ggz-sdl-games/ggz-sdl-games-0.0.13.ebuild,v 1.9 2007/02/17 09:33:05 nyhm Exp $
-
-inherit games
-
-DESCRIPTION="These are the SDL versions of the games made by GGZ Gaming Zone"
-HOMEPAGE="http://www.ggzgamingzone.org/"
-SRC_URI="http://ftp.belnet.be/packages/ggzgamingzone/ggz/${PV}/${P}.tar.gz
- http://mirrors.ibiblio.org/pub/mirrors/ggzgamingzone/ggz/${PV}/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="-amd64 ppc x86"
-IUSE=""
-RESTRICT="userpriv"
-
-DEPEND="~dev-games/libggz-${PV}
- ~dev-games/ggz-client-libs-${PV}
- media-libs/libsdl
- media-libs/sdl-image
- media-libs/sdl-mixer
- media-libs/sdl-ttf
- virtual/opengl
- x11-libs/libXcursor"
-
-src_install() {
- if [[ -f ${GAMES_SYSCONFDIR}/ggz/ggz.modules ]] ; then
- dodir "${GAMES_SYSCONFDIR}"/ggz
- cp {,"${D}"}/"${GAMES_SYSCONFDIR}"/ggz/ggz.modules
- fi
- emake DESTDIR="${D}" install || die "emake install failed"
- dodoc AUTHORS ChangeLog NEWS QuickStart.GGZ README*
- prepgamesdirs
-}
+++ /dev/null
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-board/ggz-sdl-games/ggz-sdl-games-0.0.9.ebuild,v 1.5 2006/03/24 16:27:28 wolf31o2 Exp $
-
-DESCRIPTION="These are the sdl versions of the games made by GGZ Gaming Zone"
-HOMEPAGE="http://ggz.sourceforge.net/"
-SRC_URI="http://ftp.ggzgamingzone.org/pub/ggz/${PV}/${P}.tar.gz
- http://mirrors.ibiblio.org/pub/mirrors/ggzgamingzone/ggz/${PV}/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~ppc ~x86"
-IUSE=""
-
-DEPEND="~dev-games/ggz-client-libs-${PV}
- >=media-libs/libsdl-1.2.0
- >=media-libs/sdl-image-1.2.0
- >=media-libs/sdl-ttf-1.2.0"
-
-src_install() {
- make DESTDIR="${D}" install || die
- dodoc AUTHORS ChangeLog NEWS QuickStart.GGZ README* TODO
-}
+++ /dev/null
-MD5 7eb25d2612c06f5324d1b1bfda631fc2 ggz-txt-client-0.0.13.tar.gz 145746
-RMD160 620e3eef566748c0ce38d25145288511e1e18611 ggz-txt-client-0.0.13.tar.gz 145746
-SHA256 c8db34bbe64bf46cf23428629554d2f867efaa61b6f1eafc0c5f146462368470 ggz-txt-client-0.0.13.tar.gz 145746
+++ /dev/null
-MD5 c9ef37dd4b8c2679f9136cdf4f714b76 ggz-txt-client-0.0.9.tar.gz 132926
-RMD160 72a4d5ee4dc44046c8129ba08700c8a4856d0330 ggz-txt-client-0.0.9.tar.gz 132926
-SHA256 6799459928f6667d67132f1fc5b51b476f6fd5154b7753d9867179785f4198a4 ggz-txt-client-0.0.9.tar.gz 132926
+++ /dev/null
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-board/ggz-txt-client/ggz-txt-client-0.0.13.ebuild,v 1.8 2007/02/17 09:34:26 nyhm Exp $
-
-inherit games
-
-DESCRIPTION="The textbased client for GGZ Gaming Zone"
-HOMEPAGE="http://www.ggzgamingzone.org/"
-SRC_URI="http://ftp.belnet.be/packages/ggzgamingzone/ggz/${PV}/${P}.tar.gz
- http://mirrors.ibiblio.org/pub/mirrors/ggzgamingzone/ggz/${PV}/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="-amd64 ppc x86"
-IUSE=""
-RESTRICT="userpriv"
-
-RDEPEND="~dev-games/ggz-client-libs-${PV}
- sys-libs/ncurses
- sys-libs/readline
- virtual/libintl"
-DEPEND="${RDEPEND}
- sys-devel/gettext"
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
- sed -i 's:$(prefix)/share:/usr/share:' \
- po/Makefile.in || die "sed failed"
-}
-
-src_compile() {
- egamesconf \
- --disable-debug \
- --datadir=/usr/share \
- || die
- emake || die "emake failed"
-}
-
-src_install() {
- if [[ -f ${GAMES_SYSCONFDIR}/ggz/ggz.modules ]] ; then
- dodir "${GAMES_SYSCONFDIR}"/ggz
- cp {,"${D}"}/"${GAMES_SYSCONFDIR}"/ggz/ggz.modules
- fi
- emake DESTDIR="${D}" install || die "emake install failed"
- dodoc AUTHORS ChangeLog NEWS QuickStart.GGZ README* TODO
- prepgamesdirs
-}
+++ /dev/null
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-board/ggz-txt-client/ggz-txt-client-0.0.9.ebuild,v 1.4 2006/07/09 01:39:47 wormo Exp $
-
-DESCRIPTION="The textbased client for GGZ Gaming Zone"
-HOMEPAGE="http://ggz.sourceforge.net/"
-SRC_URI="http://ftp.ggzgamingzone.org/pub/ggz/${PV}/${P}.tar.gz
- http://mirrors.ibiblio.org/pub/mirrors/ggzgamingzone/ggz/${PV}/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="ppc ~x86"
-IUSE=""
-
-DEPEND="~dev-games/ggz-client-libs-${PV}
- sys-libs/ncurses
- sys-libs/readline"
-
-src_unpack() {
- unpack ${A}
- cd ${S}
- sed -i 's:-lreadline:-lreadline -lncurses:' configure
- sed -i 's:dir=$(prefix):dir=$(DESTDIR)$(prefix):' po/Makefile.in
-}
-
-src_install() {
- make DESTDIR="${D}" install || die
- dodoc AUTHORS ChangeLog NEWS QuickStart.GGZ README* TODO
-}