summaryrefslogtreecommitdiff
path: root/www/dansguardian/patches/patch-DataBuffer.cpp
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2011-11-25 22:24:39 +0000
committerjoerg <joerg@pkgsrc.org>2011-11-25 22:24:39 +0000
commit0cd0f97f9c34a8ccbe8da1606c837309fb20684b (patch)
tree8f02c426fbd6aa6b1fc8ddbea47fe1a3e7e40079 /www/dansguardian/patches/patch-DataBuffer.cpp
parentf4c55ffb689dad0da325ce0aedc76c3a8bd40f89 (diff)
downloadpkgsrc-0cd0f97f9c34a8ccbe8da1606c837309fb20684b.tar.gz
Fix build with modern GCC
Diffstat (limited to 'www/dansguardian/patches/patch-DataBuffer.cpp')
-rw-r--r--www/dansguardian/patches/patch-DataBuffer.cpp12
1 files changed, 12 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>