freebsd-ports/www/squid-devel/files/patch-compat_compat.h
Kurt Jaeger b596c6cda7 www/squid-devel: resurrect and upgrade to 5.0.2
- it is strongly recommended to review release notes
  http://www.squid-cache.org/Versions/v5/squid-5.0.2-RELEASENOTES.html
  if you decide to upgrade
- The most notable change for maintainer was BDB deprecation in behalf of TDB
- Know upstream issues:
  https://bugs.squid-cache.org/show_bug.cgi?id=5042

PR:		246140
Submitted by:	Pavel Timofeev <timp87@gmail.com> (maintainer)
2020-05-03 16:03:29 +00:00

20 lines
791 B
C

--- compat/compat.h.orig 2016-12-16 10:06:20 UTC
+++ compat/compat.h
@@ -29,17 +29,6 @@
/******************************************************/
#include "compat/osdetect.h"
-/* Solaris 10 has a broken definition for minor_t in IPFilter compat.
- * We must pre-define before doing anything with OS headers so the OS
- * do not. Then un-define it before using the IPFilter *_compat.h headers.
- */
-#if IPF_TRANSPARENT && USE_SOLARIS_IPFILTER_MINOR_T_HACK
-/* But we only need do this nasty thing for src/ip/Intercept.cc */
-#if BUILDING_SQUID_IP_INTERCEPT_CC
-#define minor_t solaris_minor_t_fubar
-#endif
-#endif
-
/*****************************************************/
/* FDSETSIZE is messy and needs to be done before */
/* sys/types.h are defined. */