summaryrefslogtreecommitdiff
path: root/www/squid3/patches/patch-configure
blob: 4ef0f85641cedbd550786760e4158910b39ae637 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
$NetBSD: patch-configure,v 1.7.2.1 2015/07/21 17:28:23 tron Exp $

* Portability fix.
* Fix broken tests for IPFilter

--- configure.orig	2015-05-01 12:29:25.000000000 +0100
+++ configure	2015-05-29 11:47:07.000000000 +0100
@@ -32733,7 +32733,7 @@
 ## Please see the COPYING and CONTRIBUTORS files for details.
 ##
 
-if test "x$with_krb5" == "xyes"; then
+if test "x$with_krb5" = "xyes"; then
   BUILD_HELPER="kerberos"
 fi
 
@@ -33292,7 +33292,7 @@
 ## Please see the COPYING and CONTRIBUTORS files for details.
 ##
 
-if test "x$with_krb5" == "xyes"; then
+if test "x$with_krb5" = "xyes"; then
   BUILD_HELPER="kerberos_ldap_group"
   if test "x$with_apple_krb5" = "xyes" ; then
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lresolv" >&5
@@ -38708,7 +38708,7 @@
 
         { $as_echo "$as_me:${as_lineno-$LINENO}: result: unable to make IPFilter work with netinet/ headers" >&5
 $as_echo "unable to make IPFilter work with netinet/ headers" >&6; }
-
+	squid_cv_broken_ipfilter_minor_t=0
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
@@ -38751,6 +38751,9 @@
 #if HAVE_SYS_IOCCOM_H
 #include <sys/ioccom.h>
 #endif
+#if HAVE_NET_IF_H
+#include <net/if.h>
+#endif
 #if USE_SOLARIS_IPFILTER_MINOR_T_HACK
 #undef minor_t
 #endif