aboutsummaryrefslogtreecommitdiffstats
path: root/main/dansguardian/fix-includes.patch
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2013-10-28 13:27:32 +0000
committerTimo Teräs <timo.teras@iki.fi>2013-10-28 13:27:55 +0000
commite5988c7ba4800eae283cfe84642e62b613d23a24 (patch)
tree46f55ff2a9a195b6059d877479ad09cfcf85a6ab /main/dansguardian/fix-includes.patch
parent4f46a13f4eeec20f9200dfd07b299c9dd816d7ed (diff)
downloadaports-e5988c7ba4800eae283cfe84642e62b613d23a24.tar.bz2
aports-e5988c7ba4800eae283cfe84642e62b613d23a24.tar.xz
main/dansguardian: fix musl build
Diffstat (limited to 'main/dansguardian/fix-includes.patch')
-rw-r--r--main/dansguardian/fix-includes.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/main/dansguardian/fix-includes.patch b/main/dansguardian/fix-includes.patch
new file mode 100644
index 0000000000..5fdf6c0b7f
--- /dev/null
+++ b/main/dansguardian/fix-includes.patch
@@ -0,0 +1,30 @@
+--- dansguardian-2.12.0.3.orig/src/ImageContainer.cpp
++++ dansguardian-2.12.0.3/src/ImageContainer.cpp
+@@ -16,6 +16,7 @@
+ #include <stdexcept>
+ #include <cerrno>
+ #include <limits.h>
++#include <string.h>
+
+
+ // GLOBALS
+--- dansguardian-2.12.0.3.orig/src/SocketArray.cpp
++++ dansguardian-2.12.0.3/src/SocketArray.cpp
+@@ -13,6 +13,7 @@
+ #include "SocketArray.hpp"
+
+ #include <syslog.h>
++#include <string.h>
+ #include <cerrno>
+
+
+--- dansguardian-2.12.0.3.orig/src/UDSocket.cpp
++++ dansguardian-2.12.0.3/src/UDSocket.cpp
+@@ -21,6 +21,7 @@
+ #include <unistd.h>
+ #include <stdexcept>
+ #include <stddef.h>
++#include <string.h>
+
+ #ifdef DGDEBUG
+ #include <iostream>