pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/squid3 Fix build problem with squid-ipf PKG_OPTIONS.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/cb0ea53398b4
branches:  trunk
changeset: 353874:cb0ea53398b4
user:      taca <taca%pkgsrc.org@localhost>
date:      Sun Oct 16 15:58:14 2016 +0000

description:
Fix build problem with squid-ipf PKG_OPTIONS.

diffstat:

 www/squid3/distinfo                          |   3 ++-
 www/squid3/patches/patch-src_ip_Intercept.cc |  16 ++++++++++++++++
 2 files changed, 18 insertions(+), 1 deletions(-)

diffs (36 lines):

diff -r 112496e362b3 -r cb0ea53398b4 www/squid3/distinfo
--- a/www/squid3/distinfo       Sun Oct 16 11:59:15 2016 +0000
+++ b/www/squid3/distinfo       Sun Oct 16 15:58:14 2016 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.55 2016/10/10 09:01:39 adam Exp $
+$NetBSD: distinfo,v 1.56 2016/10/16 15:58:14 taca Exp $
 
 SHA1 (squid-3.5.22.tar.xz) = 73e9199dd9d2a7f107f78d03454830713a4a571d
 RMD160 (squid-3.5.22.tar.xz) = 0a9e5545ae8fa20c5d9f97cfc3548c0e07c86ee4
@@ -12,5 +12,6 @@
 SHA1 (patch-src_SquidNew.cc) = eef6e72e168cf7f40518fab13dc2f55ed0268db9
 SHA1 (patch-src_adaptation_ecap_ServiceRep.cc) = 246bc60bf2b06ddd99cacf59ae99dcbeee7365c2
 SHA1 (patch-src_base_TidyPointer.h) = d05017d7db904286afb02600ed3cc2f0f253b939
+SHA1 (patch-src_ip_Intercept.cc) = c5fecf0adbc7b8a7c254ab70eb8ee8ee6cf058c8
 SHA1 (patch-src_store.cc) = 055d98a59103b02a51876a5c8ffed9514954beb4
 SHA1 (patch-tools_Makefile.in) = 3a7678c63a11a35fabef091a3b18e63859f0796f
diff -r 112496e362b3 -r cb0ea53398b4 www/squid3/patches/patch-src_ip_Intercept.cc
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/squid3/patches/patch-src_ip_Intercept.cc      Sun Oct 16 15:58:14 2016 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-src_ip_Intercept.cc,v 1.7 2016/10/16 15:58:15 taca Exp $
+
+Fix build problem when PKG_OPTIONS contains squid-ipf.
+
+--- src/ip/Intercept.cc.orig   2016-10-09 19:58:01.000000000 +0000
++++ src/ip/Intercept.cc
+@@ -25,6 +25,9 @@
+ #define IPFILTER_VERSION        5000004
+ #endif
+ 
++#if HAVE_SYS_PARAM_H
++#include <sys/param.h>
++#endif
+ #if HAVE_SYS_IOCCOM_H
+ #include <sys/ioccom.h>
+ #endif



Home | Main Index | Thread Index | Old Index