Skip to content

Conversation

@fanquake
Copy link
Member

Required for additional definitions (IPC_R & friends), to be available, when compiling under C11, which would otherwise cause compile fails.

See: maflcko/bitcoin-core-nightly#4.

Required for additional definitions (IPC_R & friends), to be available,
when compiling under C11.

See: maflcko/bitcoin-core-nightly#4.
@DrahtBot
Copy link
Contributor

DrahtBot commented Jan 30, 2023

The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

Reviews

See the guideline for information on the review process.

Type Reviewers
ACK hebasto

If your review is incorrectly listed, please react with 👎 to this comment and the bot will ignore it on the next update.

Copy link
Member

@hebasto hebasto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK 0e02f72, tested on FreeBSD 13.1:

$ gmake -C depends bdb
...
Postprocessing bdb...
Caching bdb...
gmake: Leaving directory '/usr/home/hebasto/bitcoin/depends'

$(package)_config_opts_android=--with-pic
$(package)_cflags+=-Wno-error=implicit-function-declaration -Wno-error=format-security
$(package)_cppflags_freebsd=-D_XOPEN_SOURCE=600
$(package)_cppflags_freebsd=-D_XOPEN_SOURCE=600 -D__BSD_VISIBLE=1
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe document that this can be removed along with the bdb removal?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we'll delete this file entirely if/when bdb is removed, so probably self-documenting?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe document that this can be removed along with the bdb removal?

It seems inevitable as file name is bdb.mk :)

@maflcko maflcko merged commit 07a23b4 into bitcoin:master Feb 8, 2023
@fanquake fanquake deleted the freebsd_bsd_visible_bdb branch February 8, 2023 15:39
sidhujag pushed a commit to syscoin/syscoin that referenced this pull request Feb 8, 2023
…build

0e02f72 depends: define `__BSD_VISIBLE` for FreeBSD bdb build (fanquake)

Pull request description:

  Required for additional definitions (`IPC_R` & friends), to be available, when compiling under C11, which would otherwise cause compile fails.

  See: maflcko/bitcoin-core-nightly#4.

ACKs for top commit:
  hebasto:
    ACK 0e02f72, tested on FreeBSD 13.1:

Tree-SHA512: 885d4aa341d9668da360cf6dfafb97ce816803c54e76c0a06e448db39a723666d42cd14b3e713d17ecbe33163f5af69924567cf449d679a2db95b36357005d43
@bitcoin bitcoin locked and limited conversation to collaborators Feb 8, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants