summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-proxy/dansguardian/files/dansguardian-2.9.9.0-uclibc++.patch')
-rw-r--r--net-proxy/dansguardian/files/dansguardian-2.9.9.0-uclibc++.patch77
1 files changed, 77 insertions, 0 deletions
diff --git a/net-proxy/dansguardian/files/dansguardian-2.9.9.0-uclibc++.patch b/net-proxy/dansguardian/files/dansguardian-2.9.9.0-uclibc++.patch
new file mode 100644
index 000000000000..fd452885b151
--- /dev/null
+++ b/net-proxy/dansguardian/files/dansguardian-2.9.9.0-uclibc++.patch
@@ -0,0 +1,77 @@
+diff -Nru dansguardian-2.9.9.0.orig/configure.ac dansguardian-2.9.9.0/configure.ac
+--- dansguardian-2.9.9.0.orig/configure.ac 2007-07-11 11:48:21.000000000 +0300
++++ dansguardian-2.9.9.0/configure.ac 2007-08-18 16:34:30.000000000 +0300
+@@ -104,6 +104,7 @@
+ AC_CHECK_FUNCS([dup2 gettimeofday memset select])
+ AC_CHECK_FUNCS([strerror strstr strtol])
+ AC_CHECK_FUNCS([setuid setgid umask seteuid setreuid setlocale strdup])
++AC_SEARCH_LIBS([floor], [m])
+ AC_SEARCH_LIBS([gethostbyname], [nsl])
+ AC_SEARCH_LIBS([socket], [socket], [], [
+ AC_CHECK_LIB(
+diff -Nru dansguardian-2.9.9.0.orig/src/ConnectionHandler.cpp dansguardian-2.9.9.0/src/ConnectionHandler.cpp
+--- dansguardian-2.9.9.0.orig/src/ConnectionHandler.cpp 2007-08-09 12:48:27.000000000 +0300
++++ dansguardian-2.9.9.0/src/ConnectionHandler.cpp 2007-08-18 16:34:30.000000000 +0300
+@@ -32,6 +32,7 @@
+ #include <syslog.h>
+ #include <cerrno>
+ #include <cstdio>
++#include <ctime>
+ #include <algorithm>
+ #include <netdb.h>
+ #include <cstdlib>
+diff -Nru dansguardian-2.9.9.0.orig/src/dansguardian.cpp dansguardian-2.9.9.0/src/dansguardian.cpp
+--- dansguardian-2.9.9.0.orig/src/dansguardian.cpp 2007-03-27 14:33:19.000000000 +0300
++++ dansguardian-2.9.9.0/src/dansguardian.cpp 2007-08-18 16:34:30.000000000 +0300
+@@ -27,6 +27,7 @@
+
+ #include <iostream>
+ #include <cstdio>
++#include <ctime>
+ #include <unistd.h>
+ #include <cerrno>
+ #include <syslog.h>
+diff -Nru dansguardian-2.9.9.0.orig/src/DynamicURLList.cpp dansguardian-2.9.9.0/src/DynamicURLList.cpp
+--- dansguardian-2.9.9.0.orig/src/DynamicURLList.cpp 2006-12-19 12:26:47.000000000 +0200
++++ dansguardian-2.9.9.0/src/DynamicURLList.cpp 2007-08-18 16:34:30.000000000 +0300
+@@ -25,6 +25,7 @@
+
+ #include <syslog.h>
+ #include <algorithm>
++#include <ctime>
+ #include <sys/stat.h>
+ #include <sys/time.h>
+
+diff -Nru dansguardian-2.9.9.0.orig/src/FatController.cpp dansguardian-2.9.9.0/src/FatController.cpp
+--- dansguardian-2.9.9.0.orig/src/FatController.cpp 2007-07-12 12:35:02.000000000 +0300
++++ dansguardian-2.9.9.0/src/FatController.cpp 2007-08-18 16:34:30.000000000 +0300
+@@ -33,6 +33,7 @@
+
+ #include <syslog.h>
+ #include <csignal>
++#include <ctime>
+ #include <sys/stat.h>
+ #include <pwd.h>
+ #include <cerrno>
+diff -Nru dansguardian-2.9.9.0.orig/src/ListContainer.cpp dansguardian-2.9.9.0/src/ListContainer.cpp
+--- dansguardian-2.9.9.0.orig/src/ListContainer.cpp 2007-08-09 12:41:33.000000000 +0300
++++ dansguardian-2.9.9.0/src/ListContainer.cpp 2007-08-18 16:34:30.000000000 +0300
+@@ -29,6 +29,7 @@
+ #include "RegExp.hpp"
+ #include <cstdlib>
+ #include <cstdio>
++#include <ctime>
+ #include <unistd.h>
+ #include "String.hpp"
+ #include <iostream>
+diff -Nru dansguardian-2.9.9.0.orig/src/ListManager.cpp dansguardian-2.9.9.0/src/ListManager.cpp
+--- dansguardian-2.9.9.0.orig/src/ListManager.cpp 2007-02-02 12:16:16.000000000 +0200
++++ dansguardian-2.9.9.0/src/ListManager.cpp 2007-08-18 16:34:30.000000000 +0300
+@@ -25,6 +25,7 @@
+
+ #include <syslog.h>
+ #include <sys/stat.h>
++#include <ctime>
+
+
+ // GLOBALS