Bug 237353

Summary: www/squid: Fix build on 13-CURRENT r345982
Product: Ports & Packages Reporter: Cy Schubert <cy>
Component: Individual Port(s)Assignee: Cy Schubert <cy>
Status: Closed FIXED    
Severity: Affects Some People CC: timp87
Priority: --- Flags: bugzilla: maintainer-feedback? (timp87)
koobs: merge-quarterly?
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
Patch to build under 13-CURRENT koobs: maintainer-approval+

Description Cy Schubert freebsd_committer freebsd_triage 2019-04-18 05:32:09 UTC
Created attachment 203757 [details]
Patch to build under 13-CURRENT

www/squid fails to build on a recent 13-CURRENT with,

In file included from old_api.cc:13:
In file included from ../../src/ClientInfo.h:14:
../../src/enums.h:13:5: error: expected identifier
    FD_NONE,
    ^
/usr/include/fcntl.h:326:19: note: expanded from macro 'FD_NONE'
#define FD_NONE                 -200
                                ^
Comment 1 Kubilay Kocak freebsd_committer freebsd_triage 2019-04-24 10:02:19 UTC
Comment on attachment 203757 [details]
Patch to build under 13-CURRENT

Approved by: portmgr (blanket: build/run/packaging fix)
Comment 2 commit-hook freebsd_committer freebsd_triage 2019-04-24 20:02:31 UTC
A commit references this bug:

Author: cy
Date: Wed Apr 24 20:02:20 UTC 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

Changes:
  head/www/squid/files/patch-src_enums.h
Comment 3 Cy Schubert freebsd_committer freebsd_triage 2019-04-24 20:08:25 UTC
Fixed.