Bug 223481 - [exp-run] Fix two __BSD_VISIBLE tests
Summary: [exp-run] Fix two __BSD_VISIBLE tests
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Ports Framework (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: John Baldwin
URL:
Keywords:
Depends on:
Blocks: 196226
  Show dependency treegraph
 
Reported: 2017-11-06 19:14 UTC by John Baldwin
Modified: 2017-11-15 14:53 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John Baldwin freebsd_committer freebsd_triage 2017-11-06 19:14:23 UTC
Please apply the patch from PR 196226 (also available from https://reviews.freebsd.org/D12977) and build a new world (new kernel is not required) and run an exp-run.
Comment 1 Antoine Brodin freebsd_committer freebsd_triage 2017-11-14 16:01:11 UTC
Exp-run looks fine.
Comment 2 commit-hook freebsd_committer freebsd_triage 2017-11-14 23:51:05 UTC
A commit references this bug:

Author: jhb
Date: Tue Nov 14 23:50:31 UTC 2017
New revision: 325835
URL: https://svnweb.freebsd.org/changeset/base/325835

Log:
  Use #if instead of #ifdef for __BSD_VISIBLE tests.

  __BSD_VISIBLE is always defined and it's value instead needs to be
  tested via #if to determine if FreeBSD-specific APIs should be
  exposed.

  PR:		196226, 223481 (exp-run)
  Submitted by:	pluknet
  MFC after:	1 week
  Differential Revision:	https://reviews.freebsd.org/D12977

Changes:
  head/sys/sys/aio.h
  head/sys/sys/shm.h