Bug 237353 - www/squid: Fix build on 13-CURRENT r345982
Summary: www/squid: Fix build on 13-CURRENT r345982
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Cy Schubert
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-04-18 05:32 UTC by Cy Schubert
Modified: 2019-04-24 20:08 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (timp87)
koobs: merge-quarterly?


Attachments
Patch to build under 13-CURRENT (516 bytes, patch)
2019-04-18 05:32 UTC, Cy Schubert
koobs: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Cy Schubert freebsd_committer 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 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 2019-04-24 20:08:25 UTC
Fixed.