summaryrefslogtreecommitdiff
path: root/games/xfreecell/patches
diff options
context:
space:
mode:
authorkristerw <kristerw@pkgsrc.org>2004-07-18 16:06:59 +0000
committerkristerw <kristerw@pkgsrc.org>2004-07-18 16:06:59 +0000
commit3a0cc98629c771f6ac823d36e89a5a6b0c8fde79 (patch)
treeb520c05c6ddedb8a8bc414703315d9946a18f644 /games/xfreecell/patches
parent549308aff4dd661e820718c5ba2d77b330d566c3 (diff)
downloadpkgsrc-3a0cc98629c771f6ac823d36e89a5a6b0c8fde79.tar.gz
Modify the patch so that it does not break build on NetBSD 1.6.
Diffstat (limited to 'games/xfreecell/patches')
-rw-r--r--games/xfreecell/patches/patch-ac14
1 files changed, 8 insertions, 6 deletions
diff --git a/games/xfreecell/patches/patch-ac b/games/xfreecell/patches/patch-ac
index 4072db57d95..8b82504a98c 100644
--- a/games/xfreecell/patches/patch-ac
+++ b/games/xfreecell/patches/patch-ac
@@ -1,16 +1,18 @@
-$NetBSD: patch-ac,v 1.1 2004/07/10 23:03:47 wiz Exp $
+$NetBSD: patch-ac,v 1.2 2004/07/18 16:06:59 kristerw Exp $
---- gnmanager.h.orig 1999-03-29 15:07:19.000000000 +0200
-+++ gnmanager.h
-@@ -2,7 +2,10 @@
+--- gnmanager.h.orig Mon Mar 29 15:07:19 1999
++++ gnmanager.h Sun Jul 18 18:01:51 2004
+@@ -2,7 +2,13 @@
#define GNManager_H
#include <string>
--#include <hash_set>
++#if __GNUC__ < 3
+ #include <hash_set>
++#else
+#include <ext/hash_set>
-+
+using namespace __gnu_cxx;
+using namespace std;
++#endif
class GameNumberManager {
public: