summaryrefslogtreecommitdiff
path: root/games/xfreecell
diff options
context:
space:
mode:
authorjoerg <joerg>2006-01-12 23:59:02 +0000
committerjoerg <joerg>2006-01-12 23:59:02 +0000
commit15a4b009e00044a1cc2c2c8cb121089b1334181a (patch)
tree8701269764b8908844eef4c939db85c9ef4034b6 /games/xfreecell
parent09c30a2b2a2a83f0ff3ee7c0dd119b0ccc7ccece (diff)
downloadpkgsrc-15a4b009e00044a1cc2c2c8cb121089b1334181a.tar.gz
Fix errno.
Diffstat (limited to 'games/xfreecell')
-rw-r--r--games/xfreecell/distinfo3
-rw-r--r--games/xfreecell/patches/patch-ae19
2 files changed, 21 insertions, 1 deletions
diff --git a/games/xfreecell/distinfo b/games/xfreecell/distinfo
index 351ebee0dc7..c0d8d1a414a 100644
--- a/games/xfreecell/distinfo
+++ b/games/xfreecell/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.6 2005/02/23 23:12:04 agc Exp $
+$NetBSD: distinfo,v 1.7 2006/01/12 23:59:02 joerg Exp $
SHA1 (xfreecell-1.0.5b.tgz) = b0453b09ea2211822a5f03f532097c9eb14db2a6
RMD160 (xfreecell-1.0.5b.tgz) = 2629217bf29734bb25b30ca8aaec62ae19d0ff6f
@@ -7,3 +7,4 @@ SHA1 (patch-aa) = 6fde8f98f3587fcd07b91e517d08c268f9ee4e47
SHA1 (patch-ab) = 74326c5b4e731a32a404210cdc13b87a5b15119a
SHA1 (patch-ac) = 4fcb28840a4619c8ceb06dd86ffea351d1b8a2c5
SHA1 (patch-ad) = ab39728f9cb2f9cfb8b55c87185546e93ae5a231
+SHA1 (patch-ae) = 88a9048924d083c7903501302e224df5897c6838
diff --git a/games/xfreecell/patches/patch-ae b/games/xfreecell/patches/patch-ae
new file mode 100644
index 00000000000..cbb70e5bb2a
--- /dev/null
+++ b/games/xfreecell/patches/patch-ae
@@ -0,0 +1,19 @@
+$NetBSD: patch-ae,v 1.1 2006/01/12 23:59:02 joerg Exp $
+
+--- subwindows.cpp.orig 2006-01-12 23:55:23.000000000 +0000
++++ subwindows.cpp
+@@ -1,5 +1,6 @@
+ #include <sys/stat.h>
+ #include <sys/types.h>
++#include <errno.h>
+ #include <fcntl.h>
+ #include <dirent.h>
+ #include <unistd.h>
+@@ -62,7 +63,6 @@ void QueryWindow::waitForEvent()
+ }
+
+ //Score
+-extern int errno;
+
+ const int winScore = 10;
+ const int defeatScore = 10;