svn commit: r499906 - head/www/squid/files

Cy Schubert cy at FreeBSD.org
Wed Apr 24 20:02:21 UTC 2019


Author: cy
Date: Wed Apr 24 20:02:20 2019
New Revision: 499906
URL: https://svnweb.freebsd.org/changeset/ports/499906

Log:
  Fix build under 13-CURRENT due to src commit r345982 causing a namespace
  collision from sys/fcntl.h.
  
  PR:		237353
  Submitted by:	cy@
  Approved by:	portmgr (blanket: build/run/packaging fix)
  MFH:		2019Q2

Added:
  head/www/squid/files/patch-src_enums.h   (contents, props changed)

Added: head/www/squid/files/patch-src_enums.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/squid/files/patch-src_enums.h	Wed Apr 24 20:02:20 2019	(r499906)
@@ -0,0 +1,12 @@
+--- src/enums.h.orig	2019-02-18 18:46:22.000000000 -0800
++++ src/enums.h	2019-04-17 22:22:05.123445000 -0700
+@@ -9,6 +9,9 @@
+ #ifndef SQUID_ENUMS_H
+ #define SQUID_ENUMS_H
+ 
++/* Namespace pollution from fcntl.h as of FreeBSD r345982 */
++#undef FD_NONE
++
+ enum fd_type {
+     FD_NONE,
+     FD_LOG,


More information about the svn-ports-all mailing list