summaryrefslogtreecommitdiff
path: root/games/xfreecell/patches/patch-ad
blob: 0dcfd601eaa05c79d26927a06d48ffc5bdd8049d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
$NetBSD: patch-ad,v 1.2 2008/05/24 15:59:27 obache Exp $

--- widget/widget.h.orig	1999-03-15 16:29:32.000000000 +0000
+++ widget/widget.h
@@ -8,6 +8,8 @@
 #include <vector>
 #include <string>
 
+using namespace std;
+
 const char defaultFont[] = "7x14";
 
 extern Display* NSdpy;
@@ -42,6 +44,7 @@ Display* NSdisplay();
 // ##### NSComponent #####
 class NSComponent {
 public:
+  virtual ~NSComponent() {};
   virtual int x() const = 0;
   virtual int y() const = 0;
   virtual unsigned int width() const = 0;