From 72e1d0cc94e74b2a2689d604c2394110ef49443f Mon Sep 17 00:00:00 2001 From: tron Date: Mon, 24 May 2010 16:10:54 +0000 Subject: Fix build of NTLM auth helpers under NetBSD. This addresses the first half of PR pkg/43347 by Bernd Ernesti. --- www/squid31/distinfo | 4 +++- www/squid31/patches/patch-aa | 18 ++++++++++++++++++ www/squid31/patches/patch-ab | 18 ++++++++++++++++++ 3 files changed, 39 insertions(+), 1 deletion(-) create mode 100644 www/squid31/patches/patch-aa create mode 100644 www/squid31/patches/patch-ab (limited to 'www') diff --git a/www/squid31/distinfo b/www/squid31/distinfo index 230d32de1ee..a2a2c57120d 100644 --- a/www/squid31/distinfo +++ b/www/squid31/distinfo @@ -1,8 +1,10 @@ -$NetBSD: distinfo,v 1.18 2010/05/08 08:37:31 tron Exp $ +$NetBSD: distinfo,v 1.19 2010/05/24 16:10:54 tron Exp $ SHA1 (squid-3.1.3.tar.bz2) = 6745233b85ba018b5961ad736d8f2522ae6aa8ff RMD160 (squid-3.1.3.tar.bz2) = 79a35144d9ec938eaf65183c2020c2becacdc430 Size (squid-3.1.3.tar.bz2) = 2389422 bytes +SHA1 (patch-aa) = b94a6ca8a53790da41a4a93ace5e31b537e790b2 +SHA1 (patch-ab) = 8994d4d36dca5f463285264a31d40da45bcdaefd SHA1 (patch-ad) = cb2591bebcbcf22f6cb1858f243b0c808d3db589 SHA1 (patch-ae) = 88fbc7fb1a47b1baf48f7cd0f0b66cbf51e3b24b SHA1 (patch-aj) = 349b5d49dec49430cff2a170ad53d3a16f2a4c76 diff --git a/www/squid31/patches/patch-aa b/www/squid31/patches/patch-aa new file mode 100644 index 00000000000..b360cdcb83c --- /dev/null +++ b/www/squid31/patches/patch-aa @@ -0,0 +1,18 @@ +$NetBSD: patch-aa,v 1.8 2010/05/24 16:10:54 tron Exp $ + +Fix build problem under NetBSD, please look here for more details: + +http://gnats.netbsd.org/43347 +http://bugs.squid-cache.org/show_bug.cgi?id=2934 + +--- helpers/ntlm_auth/smb_lm/smbval/rfcnb-util.c.orig 2010-05-02 11:47:07.000000000 +0100 ++++ helpers/ntlm_auth/smb_lm/smbval/rfcnb-util.c 2010-05-24 16:40:20.000000000 +0100 +@@ -23,6 +23,8 @@ + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + */ + ++#include "config.h" ++ + #include + #include + diff --git a/www/squid31/patches/patch-ab b/www/squid31/patches/patch-ab new file mode 100644 index 00000000000..7c5a203e4a8 --- /dev/null +++ b/www/squid31/patches/patch-ab @@ -0,0 +1,18 @@ +$NetBSD: patch-ab,v 1.5 2010/05/24 16:10:54 tron Exp $ + +Fix build problem under NetBSD, please look here for more details: + +http://gnats.netbsd.org/43347 +http://bugs.squid-cache.org/show_bug.cgi?id=2934 + +--- helpers/ntlm_auth/smb_lm/smbval/session.c.orig 2010-05-02 11:47:07.000000000 +0100 ++++ helpers/ntlm_auth/smb_lm/smbval/session.c 2010-05-24 16:38:54.000000000 +0100 +@@ -23,6 +23,8 @@ + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + */ + ++#include "config.h" ++ + #include + #include + -- cgit v1.2.3