ports/www/squid/files/patch-src_enums.h
Cy Schubert b8dcb92ad0 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
2019-04-24 20:02:20 +00:00

12 lines
296 B
C

--- 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,