diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2013-01-04 18:25:27 +0100 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2013-01-04 18:25:27 +0100 |
commit | 7a7174a3a06f5d4a07c1a049cc2fa924e5716217 (patch) | |
tree | df587613fe8594604a2759dc8cf7ddab5d746230 /main/dansguardian/gcc4.6.patch | |
parent | 214e43f4e434ef172636950e117d32d1f2343647 (diff) | |
download | aports-7a7174a3a06f5d4a07c1a049cc2fa924e5716217.tar.bz2 aports-7a7174a3a06f5d4a07c1a049cc2fa924e5716217.tar.xz |
main/dansguardian: fix build with eglibc and gcc 4.6
Diffstat (limited to 'main/dansguardian/gcc4.6.patch')
-rw-r--r-- | main/dansguardian/gcc4.6.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/main/dansguardian/gcc4.6.patch b/main/dansguardian/gcc4.6.patch new file mode 100644 index 0000000000..e9f533e0d5 --- /dev/null +++ b/main/dansguardian/gcc4.6.patch @@ -0,0 +1,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> |