summaryrefslogtreecommitdiff
path: root/news/nget/patches
diff options
context:
space:
mode:
Diffstat (limited to 'news/nget/patches')
-rw-r--r--news/nget/patches/patch-lite_h17
-rw-r--r--news/nget/patches/patch-myregex_cc16
-rw-r--r--news/nget/patches/patch-server_cc14
3 files changed, 47 insertions, 0 deletions
diff --git a/news/nget/patches/patch-lite_h b/news/nget/patches/patch-lite_h
new file mode 100644
index 00000000000..df4fa40c6d4
--- /dev/null
+++ b/news/nget/patches/patch-lite_h
@@ -0,0 +1,17 @@
+$NetBSD: patch-lite_h,v 1.1 2012/05/10 02:04:36 dholland Exp $
+
+Use standard headers.
+
+--- lite.h~ 2004-05-29 23:00:08.000000000 +0000
++++ lite.h
+@@ -23,7 +23,9 @@
+ #include "config.h"
+ #endif
+
+-#include <stdlib.h>
++#include <cstring>
++#include <cstdlib>
++
+ char * newstrcpy(char *&dest, const char *src);
+ inline void safefree(char *&p){
+ if (p){free(p);p=NULL;}
diff --git a/news/nget/patches/patch-myregex_cc b/news/nget/patches/patch-myregex_cc
new file mode 100644
index 00000000000..bfbea05cd35
--- /dev/null
+++ b/news/nget/patches/patch-myregex_cc
@@ -0,0 +1,16 @@
+$NetBSD: patch-myregex_cc,v 1.1 2012/05/10 02:04:36 dholland Exp $
+
+Use standard headers.
+
+--- myregex.cc~ 2004-05-29 23:00:06.000000000 +0000
++++ myregex.cc
+@@ -19,7 +19,8 @@
+ #ifdef HAVE_CONFIG_H
+ #include "config.h"
+ #endif
+-#include <stdlib.h>
++#include <cstring>
++#include <cstdlib>
+ #include "myregex.h"
+
+
diff --git a/news/nget/patches/patch-server_cc b/news/nget/patches/patch-server_cc
new file mode 100644
index 00000000000..2df2e074d58
--- /dev/null
+++ b/news/nget/patches/patch-server_cc
@@ -0,0 +1,14 @@
+$NetBSD: patch-server_cc,v 1.1 2012/05/10 02:04:36 dholland Exp $
+
+Use standard headers.
+
+--- server.cc~ 2004-12-20 20:44:11.000000000 +0000
++++ server.cc
+@@ -16,6 +16,7 @@
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
++#include <climits>
+ #include "server.h"
+ #include "strreps.h"
+ #include "nget.h"