--- /dev/null
+# ChangeLog for media-plugins/vdr-freecell
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-freecell/ChangeLog,v 1.1 2007/01/08 22:07:15 hd_brummy Exp $
+
+*vdr-freecell-0.0.2-r2 (08 Jan 2007)
+
+ 08 Jan 2007; Joerg Bornkessel <hd_brummy@gentoo.org>
+ +files/vdr-freecell-0.0.2-gentoo.diff, +files/gcc-3.4.patch,
+ +files/vdr-freecell-time_ms.diff, +metadata.xml,
+ +vdr-freecell-0.0.2-r2.ebuild:
+ initial ebuild; moved from gentoo.de overlay
+
--- /dev/null
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+AUX gcc-3.4.patch 4244 RMD160 a301d36b5ddca9802d30ba78a803f3a9d1dca443 SHA1 f9b7005c3a00bce7dfe985b2faee79d31fc6f2e8 SHA256 2db423ec8b0b1b4d23055b375a3d685dad90030c19e4e81d94ff36b292f90ae1
+MD5 2ec6995daa9281bcf874e8dd52e72cd7 files/gcc-3.4.patch 4244
+RMD160 a301d36b5ddca9802d30ba78a803f3a9d1dca443 files/gcc-3.4.patch 4244
+SHA256 2db423ec8b0b1b4d23055b375a3d685dad90030c19e4e81d94ff36b292f90ae1 files/gcc-3.4.patch 4244
+AUX vdr-freecell-0.0.2-gentoo.diff 997 RMD160 18400e9f5325f01cb06bb2a4372a9db0c4639153 SHA1 5e0f4505a7957a49e177b6a1811e6a8d212bf3a7 SHA256 fd0f3274a38c4a7f8010bc6fef9726e601b2468d847979c5111eb2f16d5ee276
+MD5 3459464ec1026600e019b88a9d907d1e files/vdr-freecell-0.0.2-gentoo.diff 997
+RMD160 18400e9f5325f01cb06bb2a4372a9db0c4639153 files/vdr-freecell-0.0.2-gentoo.diff 997
+SHA256 fd0f3274a38c4a7f8010bc6fef9726e601b2468d847979c5111eb2f16d5ee276 files/vdr-freecell-0.0.2-gentoo.diff 997
+AUX vdr-freecell-time_ms.diff 332 RMD160 b2d79f5abf310e36d28780325ec6f8ec7344bdff SHA1 13ecf6d196e63288c6b32fa8b2d68cccbba692b0 SHA256 52a2a95849e168704ac9dcae92b6cb1ac4250aa1aedc8ab0f37402c69c653f6f
+MD5 9cc48db2f722653c735597ea1d08e767 files/vdr-freecell-time_ms.diff 332
+RMD160 b2d79f5abf310e36d28780325ec6f8ec7344bdff files/vdr-freecell-time_ms.diff 332
+SHA256 52a2a95849e168704ac9dcae92b6cb1ac4250aa1aedc8ab0f37402c69c653f6f files/vdr-freecell-time_ms.diff 332
+DIST vdr-freecell-0.0.2.tgz 44019 RMD160 be2ce22392716ddbbb5590b911321409f7a4f335 SHA1 8456ce9e14835d5f99c1bf3967bd6eb5638bdc52 SHA256 ca3aa2823b59f100ff2d1b7a5a3000e7320ac1e822f94bfc530c3a2b47654bba
+EBUILD vdr-freecell-0.0.2-r2.ebuild 801 RMD160 425593a2b682589325fbb74e9c2a22db4de98c3a SHA1 63172494356b0ff044edd8c24b620dbc89604cd6 SHA256 d632cde18bcc715ccf133d6850e8dc848b07cdda3874172cd9b60e2a165820d5
+MD5 8d01fd30666782d798143264bb70279b vdr-freecell-0.0.2-r2.ebuild 801
+RMD160 425593a2b682589325fbb74e9c2a22db4de98c3a vdr-freecell-0.0.2-r2.ebuild 801
+SHA256 d632cde18bcc715ccf133d6850e8dc848b07cdda3874172cd9b60e2a165820d5 vdr-freecell-0.0.2-r2.ebuild 801
+MISC ChangeLog 516 RMD160 61c3c240274d4b19d50b80b91b20c32bdf798b79 SHA1 fbb89d6714d46e0747055b67b9a3fd64e0169406 SHA256 8f8a4679e98a81881c4df457a8de6655b2859b3c90856f9cf0ebe5f37b24bf83
+MD5 af92fbe2be78d6b9c7035d3e313a6617 ChangeLog 516
+RMD160 61c3c240274d4b19d50b80b91b20c32bdf798b79 ChangeLog 516
+SHA256 8f8a4679e98a81881c4df457a8de6655b2859b3c90856f9cf0ebe5f37b24bf83 ChangeLog 516
+MISC metadata.xml 261 RMD160 5492467546275b17a36bea7c8d1d653e7597e626 SHA1 a27c0bf97b3058f45e3a53a52bc7cfa61a4e0211 SHA256 0f6cdaca412d6fadb859b73b4f872d707040f27369f4dbcbd8f62b0629b864a9
+MD5 e349d9fc54cbb014c6e48a54665d3086 metadata.xml 261
+RMD160 5492467546275b17a36bea7c8d1d653e7597e626 metadata.xml 261
+SHA256 0f6cdaca412d6fadb859b73b4f872d707040f27369f4dbcbd8f62b0629b864a9 metadata.xml 261
+MD5 a75b387fe6468eee29787a2802737419 files/digest-vdr-freecell-0.0.2-r2 244
+RMD160 8a4214dfa882261c63e5077deab793f2230a6e5b files/digest-vdr-freecell-0.0.2-r2 244
+SHA256 ec5e713c3bd4bbe653e2d0be6ed67bd6cc62e34190f9143107b48e87f9a83f02 files/digest-vdr-freecell-0.0.2-r2 244
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.5 (GNU/Linux)
+Comment: GnuPG-Pack Basics: http://home.arcor.de/rose-indorf
+
+iD8DBQFFosD9dn07HTTCgIoRArCGAKC8RgGZQzgIBiCiA31pQgMGZ/ZSLgCgunxQ
+2vvN1dxWMphddU0o9uPRxQc=
+=Gwni
+-----END PGP SIGNATURE-----
--- /dev/null
+MD5 c6a5e0d94105a67d89a331185b3acc3e vdr-freecell-0.0.2.tgz 44019
+RMD160 be2ce22392716ddbbb5590b911321409f7a4f335 vdr-freecell-0.0.2.tgz 44019
+SHA256 ca3aa2823b59f100ff2d1b7a5a3000e7320ac1e822f94bfc530c3a2b47654bba vdr-freecell-0.0.2.tgz 44019
--- /dev/null
+#! /bin/sh /usr/share/dpatch/dpatch-run
+
+## 02_gcc3.4-fix.dpatch by Thomas Schmidt <thomas.schmidt@in.stud.tu-ilmenau.de>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Fix from Andreas Jochens <aj@andaco.de>, to compile the plugin
+## DP: with gcc-3.4
+
+@DPATCH@
+diff -urNad /home/chelli/vdr/cvs/vdr/vdr-plugin-freecell/tools/list.h vdr-plugin-freecell/tools/list.h
+--- /home/chelli/vdr/cvs/vdr/vdr-plugin-freecell/tools/list.h 2004-02-11 13:33:26.000000000 +0100
++++ vdr-plugin-freecell/tools/list.h 2004-09-11 16:00:20.000000000 +0200
+@@ -90,22 +90,22 @@
+ T &SetNextCurrent ();
+ T &SetPrevCurrent ();
+
+- friend cTBList<T> &operator+= <> (cTBList<T> &list1, const cTBList<T> &list2);
+- friend cTBList<T> &operator+= <> (cTBList<T> &list, const T &element);
++// friend cTBList<T> &operator+= <> (cTBList<T> &list1, const cTBList<T> &list2);
++// friend cTBList<T> &operator+= <> (cTBList<T> &list, const T &element);
+
+- friend cTBList<T> operator+ <> (const cTBList<T> &list1, const cTBList<T> &list2);
+- friend cTBList<T> operator+ <> (const T &element, const cTBList<T> &list);
+- friend cTBList<T> operator+ <> (const cTBList<T> &list, const T &element);
++// friend cTBList<T> operator+ <> (const cTBList<T> &list1, const cTBList<T> &list2);
++// friend cTBList<T> operator+ <> (const T &element, const cTBList<T> &list);
++// friend cTBList<T> operator+ <> (const cTBList<T> &list, const T &element);
+
+ /*friend cSource &operator<< <> (cSource &dest, const cTBList<T> &list);
+- friend cSource &operator>> <> (cSource &dest, cTBList<T> &list);*/
++// friend cSource &operator>> <> (cSource &dest, cTBList<T> &list);*/
+ };
+
+ // Template Implementation (inline funcs)
+
+ template<class T>
+ inline int cTBList<T>::Find (const T & i) {
+- cTBList<T>::cItem *item = m_First;
++ typename cTBList<T>::cItem *item = m_First;
+ int index = 0;
+
+ while (item && (item->Data != i)) {
+@@ -203,7 +203,7 @@
+
+ template<class T>
+ typename cTBList<T>::cItem *cTBList<T>::NewItem (cTBList<T>::cItem *pBefore, cTBList<T>::cItem *pAfter) const {
+- cTBList<T>::cItem *item = new cTBList<T>::cItem;
++ typename cTBList<T>::cItem *item = new typename cTBList<T>::cItem;
+
+ item->Next = pAfter;
+ item->Prev = pBefore;
+@@ -235,7 +235,7 @@
+ if ((int)idx == m_CurPos)
+ return m_Current;
+
+- cTBList<T>::cItem *item;
++ typename cTBList<T>::cItem *item;
+ int dist = idx - m_CurPos;
+ bool direct;
+
+@@ -271,7 +271,7 @@
+
+ template<class T>
+ T &cTBList<T>::Prepend () {
+- cTBList<T>::cItem *item = NewItem(NULL, m_First);
++ typename cTBList<T>::cItem *item = NewItem(NULL, m_First);
+
+ m_First = m_Current = item;
+ if (!m_Last)
+@@ -285,7 +285,7 @@
+
+ template<class T>
+ T &cTBList<T>::Append () {
+- cTBList<T>::cItem *item = NewItem(m_Last, NULL);
++ typename cTBList<T>::cItem *item = NewItem(m_Last, NULL);
+
+ m_Last = m_Current = item;
+ if (!m_First)
+@@ -317,13 +317,13 @@
+ return true;
+ }
+
+- cTBList<T>::cItem *nextItem = Locate(idx);
++ typename cTBList<T>::cItem *nextItem = Locate(idx);
+ if (!nextItem)
+ return false;
+
+- cTBList<T>::cItem *prevItem = nextItem->Prev;
++ typename cTBList<T>::cItem *prevItem = nextItem->Prev;
+
+- cTBList<T>::cItem *item = NewItem(prevItem, nextItem);
++ typename cTBList<T>::cItem *item = NewItem(prevItem, nextItem);
+ item->Data = i;
+
+ m_CurPos = idx;
+@@ -338,7 +338,7 @@
+ if (!m_Current)
+ return NULL;
+
+- cTBList<T>::cItem *item = m_Current;
++ typename cTBList<T>::cItem *item = m_Current;
+ if (item == m_First) {
+ if (m_First = item->Next)
+ m_First->Prev = NULL;
+@@ -370,7 +370,7 @@
+ if (Find(i) == -1)
+ return false;
+
+- cTBList<T>::cItem *item = Unlink();
++ typename cTBList<T>::cItem *item = Unlink();
+ if (!item)
+ return false;
+
+@@ -383,7 +383,7 @@
+ if (!Locate(idx))
+ return false;
+
+- cTBList<T>::cItem *item = Unlink();
++ typename cTBList<T>::cItem *item = Unlink();
+ if (!item)
+ return false;
+
+@@ -412,13 +412,13 @@
+
+ template<class T>
+ void cTBList<T>::Clear () {
+- cTBList<T>::cItem *item = m_First;
++ typename cTBList<T>::cItem *item = m_First;
+
+ m_First = m_Last = m_Current = NULL;
+ m_Count = 0;
+ m_CurPos = -1;
+
+- cTBList<T>::cItem *Prev;
++ typename cTBList<T>::cItem *Prev;
+ while (item) {
+ Prev = item;
+ item = item->Next;
+
--- /dev/null
+diff -Naur freecell-0.0.2.orig/cards.c freecell-0.0.2/cards.c
+--- freecell-0.0.2.orig/cards.c 2007-01-08 22:50:05.921165375 +0100
++++ freecell-0.0.2/cards.c 2007-01-08 22:53:55.358240251 +0100
+@@ -34,7 +34,7 @@
+ mShape = Shape;
+ mValue = Value;
+
+- asprintf(&filename, "%s/%s_%s.xpm", cPlugin::ConfigDirectory("freecell"),
++ asprintf(&filename, "%s/%s_%s.xpm", cPlugin::ConfigDirectory("../../../usr/share/vdr/freecell"),
+ ShapeNames[mShape], ValueNames[mValue]);
+ ::LoadXpm(this, filename);
+ free(filename);
+diff -Naur freecell-0.0.2.orig/cursor.c freecell-0.0.2/cursor.c
+--- freecell-0.0.2.orig/cursor.c 2007-01-08 22:50:05.921165375 +0100
++++ freecell-0.0.2/cursor.c 2007-01-08 22:52:58.234984984 +0100
+@@ -8,7 +8,7 @@
+
+ mX = mY = -1;
+
+- asprintf(&filename, "%s/cursor.xpm", cPlugin::ConfigDirectory("freecell"));
++ asprintf(&filename, "%s/cursor.xpm", cPlugin::ConfigDirectory("../../../usr/share/vdr/freecell"));
+ ::LoadXpm(this, filename, clrTransparent);
+ free(filename);
+ }
--- /dev/null
+diff -ru freecell-0.0.2-orig/cards.c freecell-0.0.2/cards.c
+--- freecell-0.0.2-orig/cards.c 2005-11-20 21:19:31.000000000 +0100
++++ freecell-0.0.2/cards.c 2005-11-20 21:19:15.000000000 +0100
+@@ -52,7 +52,7 @@
+ mX = X;
+ mY = Y;
+ mStacked = Stacked;
+- mSeed = time_ms();
++ mSeed = cTimeMs::Now();
+ }
+
+ cCardStack::~cCardStack() {
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>media-tv</herd>
+ <maintainer>
+ <email>vdr@gentoo.org</email>
+ <name>Gentoo VDR Project</name>
+ </maintainer>
+</pkgmetadata>
--- /dev/null
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-freecell/vdr-freecell-0.0.2-r2.ebuild,v 1.1 2007/01/08 22:07:15 hd_brummy Exp $
+
+inherit vdr-plugin
+
+DESCRIPTION="VDR plugin: play 'Freecell' on the On Screen Display"
+HOMEPAGE="http://www.magoa.net/linux/index.php?view=freecell"
+SRC_URI="http://www.magoa.net/linux/files/${P}.tgz
+ mirror://vdrfiles/${PN}/${P}.tgz"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~x86 ~amd64"
+IUSE=""
+
+DEPEND=">=media-video/vdr-1.2.6"
+
+PATCHES="${FILESDIR}/${PN}-time_ms.diff
+ ${FILESDIR}/gcc-3.4.patch
+ ${FILESDIR}/${P}-gentoo.diff"
+
+src_install() {
+ vdr-plugin_src_install
+
+ insopts -m0644 -ovdr -gvdr
+ insinto /usr/share/vdr/freecell
+ doins ${S}/${VDRPLUGIN}/*
+}