opnsense-ports/www/squid/files/patch-configure
Franco Fichtner 9ccba784e8 www/squid: partially sync with upstream
Taken from: FreeBSD
2023-10-30 21:56:02 +01:00

30 lines
739 B
Text

--- configure.orig 2023-02-28 09:24:52 UTC
+++ configure
@@ -44124,7 +44124,10 @@ _ACEOF
else $as_nop
- BUILD_HELPER=""
+# XXX: On FreeBSD we have to do this to make NIS work
+# until https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=188247
+# is resolved.
+ BUILD_HELPER="NIS"
fi
@@ -50983,6 +50986,7 @@ fi
ac_fn_cxx_check_type "$LINENO" "cpu_set_t" "ac_cv_type_cpu_set_t" "
#if HAVE_SCHED_H
+#define _WITH_CPU_SET_T
#include <sched.h>
#endif
@@ -54169,6 +54173,7 @@ else $as_nop
# include <sys/ioccom.h>
# include <netinet/in.h>
#undef minor_t
+# include <net/if.h> /* IFNAMSIZ */
# include <netinet/ip_compat.h>
# include <netinet/ip_fil.h>
# include <netinet/ip_nat.h>