Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Apr 2019 20:02:20 +0000 (UTC)
From:      Cy Schubert <cy@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r499906 - head/www/squid/files
Message-ID:  <201904242002.x3OK2KJq060774@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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,



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201904242002.x3OK2KJq060774>