summaryrefslogtreecommitdiffstats
path: root/main/dansguardian/gcc4.6.patch
blob: e9f533e0d5d5dd41edd94a41c439f793756280e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#! /bin/sh /usr/share/dpatch/dpatch-run
## 70-gcc4.6.dpatch by Daniel T Chen <crimsun@ubuntu.com>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: Fix FTBFS by including cstddef for size_t

@DPATCH@
diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' dansguardian-2.10.1.1~/src/authplugins/ntlm.cpp dansguardian-2.10.1.1/src/authplugins/ntlm.cpp
--- dansguardian-2.10.1.1~/src/authplugins/ntlm.cpp	2008-11-18 06:27:04.000000000 -0500
+++ dansguardian-2.10.1.1/src/authplugins/ntlm.cpp	2011-08-25 16:37:38.000000000 -0400
@@ -27,6 +27,8 @@
 #include "../FDTunnel.hpp"
 #include "../OptionContainer.hpp"
 
+#include <cstddef>
+
 #include <syslog.h>
 
 #include <iconv.h>