Bug: https://bugs.gentoo.org/702612
Closes: https://bugs.gentoo.org/702612
Package-Manager: Portage-2.3.81, Repoman-2.3.18
Signed-off-by: Joerg Bornkessel <hd_brummy@gentoo.org>
--- /dev/null
+https://bugs.gentoo.org/702612
+compile fix for: time_ms was not declared in this scope
+
+Signed-off-by: Joerg Bornkessel <hd_brummy@gentoo.org> (12 Dec 2019)
+
+diff -Naur freecell-0.0.2.orig/cards.c freecell-0.0.2/cards.c
+--- freecell-0.0.2.orig/cards.c 2019-12-12 21:25:43.000000000 +0100
++++ freecell-0.0.2/cards.c 2019-12-12 21:27:38.000000000 +0100
+@@ -52,7 +52,7 @@
+ mX = X;
+ mY = Y;
+ mStacked = Stacked;
+- mSeed = time_ms();
++ mSeed = cTimeMs::Now();
+ }
+
+ cCardStack::~cCardStack() {
eapply -p2 "${FILESDIR}/gcc-3.4.patch"
eapply "${FILESDIR}/${P}-gentoo.diff"
eapply "${FILESDIR}/${P}_vdr-1.5.4-compile.diff"
+ eapply "${FILESDIR}/${P}_compilefix.patch"
}
src_install() {