summaryrefslogtreecommitdiff
path: root/www/dansguardian/patches
diff options
context:
space:
mode:
Diffstat (limited to 'www/dansguardian/patches')
-rw-r--r--www/dansguardian/patches/patch-DataBuffer.cpp12
-rw-r--r--www/dansguardian/patches/patch-DynamicURLList.cpp12
-rw-r--r--www/dansguardian/patches/patch-FOptionContainer.cpp12
-rw-r--r--www/dansguardian/patches/patch-FatController.cpp13
-rw-r--r--www/dansguardian/patches/patch-ListContainer.cpp12
-rw-r--r--www/dansguardian/patches/patch-RegExp.cpp12
-rw-r--r--www/dansguardian/patches/patch-Socket.cpp12
-rw-r--r--www/dansguardian/patches/patch-SysV.cpp12
-rw-r--r--www/dansguardian/patches/patch-UDSocket.cpp12
-rw-r--r--www/dansguardian/patches/patch-dansguardian.cpp12
10 files changed, 121 insertions, 0 deletions
diff --git a/www/dansguardian/patches/patch-DataBuffer.cpp b/www/dansguardian/patches/patch-DataBuffer.cpp
new file mode 100644
index 00000000000..c30d8bc005a
--- /dev/null
+++ b/www/dansguardian/patches/patch-DataBuffer.cpp
@@ -0,0 +1,12 @@
+$NetBSD: patch-DataBuffer.cpp,v 1.1 2011/11/25 22:24:39 joerg Exp $
+
+--- DataBuffer.cpp.orig 2011-11-25 17:12:27.000000000 +0000
++++ DataBuffer.cpp
+@@ -22,6 +22,7 @@
+ #include <algorithm>
+ #include "DataBuffer.hpp"
+ #include <cstdlib>
++#include <cstring>
+ #include <unistd.h>
+ #include <zlib.h>
+ #include <cerrno>
diff --git a/www/dansguardian/patches/patch-DynamicURLList.cpp b/www/dansguardian/patches/patch-DynamicURLList.cpp
new file mode 100644
index 00000000000..c463f48f18e
--- /dev/null
+++ b/www/dansguardian/patches/patch-DynamicURLList.cpp
@@ -0,0 +1,12 @@
+$NetBSD: patch-DynamicURLList.cpp,v 1.1 2011/11/25 22:24:39 joerg Exp $
+
+--- DynamicURLList.cpp.orig 2011-11-25 17:14:23.000000000 +0000
++++ DynamicURLList.cpp
+@@ -23,6 +23,7 @@
+ #include "OptionContainer.hpp"
+ #include <sys/stat.h>
+ #include <sys/time.h>
++#include <cstring>
+
+ extern OptionContainer o;
+ extern bool isDaemonised;
diff --git a/www/dansguardian/patches/patch-FOptionContainer.cpp b/www/dansguardian/patches/patch-FOptionContainer.cpp
new file mode 100644
index 00000000000..77907db9022
--- /dev/null
+++ b/www/dansguardian/patches/patch-FOptionContainer.cpp
@@ -0,0 +1,12 @@
+$NetBSD: patch-FOptionContainer.cpp,v 1.1 2011/11/25 22:24:39 joerg Exp $
+
+--- FOptionContainer.cpp.orig 2011-11-25 17:14:40.000000000 +0000
++++ FOptionContainer.cpp
+@@ -22,6 +22,7 @@
+ #include "FOptionContainer.hpp"
+ #include "OptionContainer.hpp"
+ #include "RegExp.hpp"
++#include <cstdlib>
+ #include <string>
+ #include <iostream>
+ #include <fstream>
diff --git a/www/dansguardian/patches/patch-FatController.cpp b/www/dansguardian/patches/patch-FatController.cpp
new file mode 100644
index 00000000000..e8c8505824b
--- /dev/null
+++ b/www/dansguardian/patches/patch-FatController.cpp
@@ -0,0 +1,13 @@
+$NetBSD: patch-FatController.cpp,v 1.1 2011/11/25 22:24:39 joerg Exp $
+
+--- FatController.cpp.orig 2011-11-25 17:13:02.000000000 +0000
++++ FatController.cpp
+@@ -44,6 +44,8 @@
+ #include <fstream>
+ #include <sys/time.h>
+ #include <sys/poll.h>
++#include <cstdlib>
++#include <cstring>
+
+ #ifdef __GCCVER3
+ #include <istream>
diff --git a/www/dansguardian/patches/patch-ListContainer.cpp b/www/dansguardian/patches/patch-ListContainer.cpp
new file mode 100644
index 00000000000..1de56e9e992
--- /dev/null
+++ b/www/dansguardian/patches/patch-ListContainer.cpp
@@ -0,0 +1,12 @@
+$NetBSD: patch-ListContainer.cpp,v 1.1 2011/11/25 22:24:39 joerg Exp $
+
+--- ListContainer.cpp.orig 2011-11-25 17:14:09.000000000 +0000
++++ ListContainer.cpp
+@@ -24,6 +24,7 @@
+ #include "RegExp.hpp"
+ #include <cstdlib>
+ #include <cstdio>
++#include <cstring>
+ #include <unistd.h>
+ #include "String.hpp"
+ #include <iostream>
diff --git a/www/dansguardian/patches/patch-RegExp.cpp b/www/dansguardian/patches/patch-RegExp.cpp
new file mode 100644
index 00000000000..2ea0cb26979
--- /dev/null
+++ b/www/dansguardian/patches/patch-RegExp.cpp
@@ -0,0 +1,12 @@
+$NetBSD: patch-RegExp.cpp,v 1.1 2011/11/25 22:24:39 joerg Exp $
+
+--- RegExp.cpp.orig 2011-11-25 17:13:26.000000000 +0000
++++ RegExp.cpp
+@@ -19,6 +19,7 @@
+
+ #include "RegExp.hpp"
+ #include <iostream>
++#include <cstring>
+
+ RegExp::RegExp()
+ :imatched(false),wascompiled(false) {}
diff --git a/www/dansguardian/patches/patch-Socket.cpp b/www/dansguardian/patches/patch-Socket.cpp
new file mode 100644
index 00000000000..57373f17d13
--- /dev/null
+++ b/www/dansguardian/patches/patch-Socket.cpp
@@ -0,0 +1,12 @@
+$NetBSD: patch-Socket.cpp,v 1.1 2011/11/25 22:24:39 joerg Exp $
+
+--- Socket.cpp.orig 2011-11-25 17:12:45.000000000 +0000
++++ Socket.cpp
+@@ -34,6 +34,7 @@
+ #include <pwd.h>
+ #include <cerrno>
+ #include <unistd.h>
++#include <cstring>
+ #include <string>
+ #include <stdexcept>
+
diff --git a/www/dansguardian/patches/patch-SysV.cpp b/www/dansguardian/patches/patch-SysV.cpp
new file mode 100644
index 00000000000..d1f61cde8c5
--- /dev/null
+++ b/www/dansguardian/patches/patch-SysV.cpp
@@ -0,0 +1,12 @@
+$NetBSD: patch-SysV.cpp,v 1.1 2011/11/25 22:24:39 joerg Exp $
+
+--- SysV.cpp.orig 2011-11-25 17:13:55.000000000 +0000
++++ SysV.cpp
+@@ -20,6 +20,7 @@
+ #include <cstdio>
+ #include <unistd.h>
+ #include <cstdlib>
++#include <cstring>
+ #include <fcntl.h>
+ #include <csignal>
+ #include "SysV.hpp"
diff --git a/www/dansguardian/patches/patch-UDSocket.cpp b/www/dansguardian/patches/patch-UDSocket.cpp
new file mode 100644
index 00000000000..07311a3b0db
--- /dev/null
+++ b/www/dansguardian/patches/patch-UDSocket.cpp
@@ -0,0 +1,12 @@
+$NetBSD: patch-UDSocket.cpp,v 1.1 2011/11/25 22:24:39 joerg Exp $
+
+--- UDSocket.cpp.orig 2011-11-25 17:13:40.000000000 +0000
++++ UDSocket.cpp
+@@ -21,6 +21,7 @@
+ #include <syslog.h>
+ #include "UDSocket.hpp"
+ #include <csignal>
++#include <cstring>
+ #ifdef __BSD
+ #include <sys/wait.h>
+ #else
diff --git a/www/dansguardian/patches/patch-dansguardian.cpp b/www/dansguardian/patches/patch-dansguardian.cpp
new file mode 100644
index 00000000000..41d5fd614e6
--- /dev/null
+++ b/www/dansguardian/patches/patch-dansguardian.cpp
@@ -0,0 +1,12 @@
+$NetBSD: patch-dansguardian.cpp,v 1.1 2011/11/25 22:24:39 joerg Exp $
+
+--- dansguardian.cpp.orig 2011-11-25 17:15:02.000000000 +0000
++++ dansguardian.cpp
+@@ -24,6 +24,7 @@
+ #include <iostream>
+ #include <arpa/inet.h>
+ #include <cstdio>
++#include <cstdlib>
+ #include <string>
+ #include <unistd.h>
+ #include <cerrno>