summaryrefslogtreecommitdiff
path: root/devel/gcvs/patches/patch-cvstree_main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'devel/gcvs/patches/patch-cvstree_main.cpp')
-rw-r--r--devel/gcvs/patches/patch-cvstree_main.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/devel/gcvs/patches/patch-cvstree_main.cpp b/devel/gcvs/patches/patch-cvstree_main.cpp
new file mode 100644
index 00000000000..cb9e1b31441
--- /dev/null
+++ b/devel/gcvs/patches/patch-cvstree_main.cpp
@@ -0,0 +1,12 @@
+$NetBSD: patch-cvstree_main.cpp,v 1.1 2011/11/25 21:42:44 joerg Exp $
+
+--- cvstree/main.cpp.orig 2011-11-25 17:57:49.000000000 +0000
++++ cvstree/main.cpp
+@@ -1,6 +1,7 @@
+ #include <stdio.h>
+ #include "getopt.h"
+ #include <errno.h>
++#include <cstdlib>
+ using namespace std;
+
+ #if defined(_MSC_VER) && _MSC_VER < 0x514 && __GNUC__<3 // VC7 and gcc 3