Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

depends: Only use D_DARWIN_C_SOURCE when building miniupnpc on darwin #12466

Merged
merged 1 commit into from
Mar 5, 2018

Conversation

fanquake
Copy link
Member

Only use D_DARWIN_C_SOURCE when building on darwin, so we don't inadvertently introduce issues elsewhere.

cc @theuni

@laanwj
Copy link
Member

laanwj commented Feb 17, 2018

Obvious utACK, sorry for merging before @theuni could get a look at it.

@theuni
Copy link
Member

theuni commented Feb 20, 2018

@laanwj No worries!

Unfortunately this isn't quite as obvious as it looks. This change would clobber any default cflags.

@fanquake Could you give this a try?

diff --git a/depends/packages/miniupnpc.mk b/depends/packages/miniupnpc.mk
index 9976db43c2..0a17f07e22 100644
--- a/depends/packages/miniupnpc.mk
+++ b/depends/packages/miniupnpc.mk
@@ -5,11 +5,10 @@ $(package)_file_name=$(package)-$($(package)_version).tar.gz
 $(package)_sha256_hash=90dda8c7563ca6cd4a83e23b3c66dbbea89603a1675bfdb852897c2c9cc220b7

 define $(package)_set_vars
-$(package)_build_opts=CC="$($(package)_cc)"
+$(package)_build_opts=CC="$($(package)_cc)" AR="$($(package)_ar)"
 $(package)_build_opts_darwin=OS=Darwin LIBTOOL="$($(package)_libtool)"
 $(package)_build_opts_mingw32=-f Makefile.mingw
-$(package)_build_env+=CFLAGS="$($(package)_cflags) $($(package)_cppflags)" AR="$($(package)_ar)"
-$(package)_build_env+=CFLAGS=-D_DARWIN_C_SOURCE
+$(package)_cppflags_darwin+=-D_DARWIN_C_SOURCE
 endef

 define $(package)_preprocess_cmds
@@ -19,7 +18,7 @@ define $(package)_preprocess_cmds
 endef

 define $(package)_build_cmds
-       $(MAKE) libminiupnpc.a $($(package)_build_opts)
+       CFLAGS="$($(package)_cflags) $($(package)_cppflags)" $(MAKE) libminiupnpc.a $($(package)_build_opts)
 endef

 define $(package)_stage_cmds

@laanwj
Copy link
Member

laanwj commented Feb 22, 2018

BTW; isn't this something that should ideally be fixed upstream?

@fanquake
Copy link
Member Author

@cfields sorry for the slowness, I'll have this updated tomorrow.

@laanwj When compiling miniupnpc directly on osx the correct flags are currently being set.

@fanquake fanquake force-pushed the fix-miniupnpc-darwin branch 2 times, most recently from 535a8ee to e650112 Compare February 25, 2018 09:50
@fanquake
Copy link
Member Author

@theuni using the patch you suggested, -D_DARWIN_C_SOURCE is now appearing twice in the build flags:

/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -mmacosx-version-min=10.8 -D_DARWIN_C_SOURCE -fPIC -pipe -O2     -I/Users/xxx/Github/bitcoin/depends/x86_64-apple-darwin17.4.0/include   -D_DARWIN_C_SOURCE   -Wall -W -Wstrict-prototypes -fno-common -DMINIUPNPC_SET_SOCKET_TIMEOUT -DMINIUPNPC_GET_SRC_ADDR -D_BSD_SOURCE -D_DEFAULT_SOURCE   -c -o miniwget.o miniwget.c
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -mmacosx-version-min=10.8 -D_DARWIN_C_SOURCE -fPIC -pipe -O2     -I/Users/xxx/Github/bitcoin/depends/x86_64-apple-darwin17.4.0/include   -D_DARWIN_C_SOURCE   -Wall -W -Wstrict-prototypes -fno-common -DMINIUPNPC_SET_SOCKET_TIMEOUT -DMINIUPNPC_GET_SRC_ADDR -D_BSD_SOURCE -D_DEFAULT_SOURCE   -c -o minixml.o minixml.c

I've pushed up your changes without the cppflags_darwin addition, we'll see what Travis thinks.

@fanquake
Copy link
Member Author

Looks like -D_DARWIN_C_SOURCE is being added without the specific cppflags_darwin +=.
The build is failing differently:

/home/travis/build/bitcoin/bitcoin/depends/work/download/miniupnpc-2.0.20180203/miniupnpc-2.0.20180203.tar.gz.temp: OK
Extracting miniupnpc...
/home/travis/build/bitcoin/bitcoin/depends/sources/miniupnpc-2.0.20180203.tar.gz: OK
Preprocessing miniupnpc...
Configuring miniupnpc...
Building miniupnpc...
make[1]: Entering directory `/home/travis/build/bitcoin/bitcoin/depends/work/build/x86_64-apple-darwin11/miniupnpc/2.0.20180203-a0cb00241a9'
clang -target x86_64-apple-darwin11 -mmacosx-version-min=10.8 --sysroot /home/travis/build/bitcoin/bitcoin/depends/SDKs/MacOSX10.11.sdk -mlinker-version=253.9 -D_DARWIN_C_SOURCE -fPIC -pipe -O2     -I/home/travis/build/bitcoin/bitcoin/depends/x86_64-apple-darwin11/include     -Wall -W -Wstrict-prototypes -fno-common -DMINIUPNPC_SET_SOCKET_TIMEOUT -DMINIUPNPC_GET_SRC_ADDR -D_BSD_SOURCE -D_DEFAULT_SOURCE   -c -o miniwget.o miniwget.c
clang -target x86_64-apple-darwin11 -mmacosx-version-min=10.8 --sysroot /home/travis/build/bitcoin/bitcoin/depends/SDKs/MacOSX10.11.sdk -mlinker-version=253.9 -D_DARWIN_C_SOURCE -fPIC -pipe -O2     -I/home/travis/build/bitcoin/bitcoin/depends/x86_64-apple-darwin11/include     -Wall -W -Wstrict-prototypes -fno-common -DMINIUPNPC_SET_SOCKET_TIMEOUT -DMINIUPNPC_GET_SRC_ADDR -D_BSD_SOURCE -D_DEFAULT_SOURCE   -c -o minixml.o minixml.c
clang -target x86_64-apple-darwin11 -mmacosx-version-min=10.8 --sysroot /home/travis/build/bitcoin/bitcoin/depends/SDKs/MacOSX10.11.sdk -mlinker-version=253.9 -D_DARWIN_C_SOURCE -fPIC -pipe -O2     -I/home/travis/build/bitcoin/bitcoin/depends/x86_64-apple-darwin11/include     -Wall -W -Wstrict-prototypes -fno-common -DMINIUPNPC_SET_SOCKET_TIMEOUT -DMINIUPNPC_GET_SRC_ADDR -D_BSD_SOURCE -D_DEFAULT_SOURCE   -c -o igd_desc_parse.o igd_desc_parse.c
clang -target x86_64-apple-darwin11 -mmacosx-version-min=10.8 --sysroot /home/travis/build/bitcoin/bitcoin/depends/SDKs/MacOSX10.11.sdk -mlinker-version=253.9 -D_DARWIN_C_SOURCE -fPIC -pipe -O2     -I/home/travis/build/bitcoin/bitcoin/depends/x86_64-apple-darwin11/include     -Wall -W -Wstrict-prototypes -fno-common -DMINIUPNPC_SET_SOCKET_TIMEOUT -DMINIUPNPC_GET_SRC_ADDR -D_BSD_SOURCE -D_DEFAULT_SOURCE   -c -o minisoap.o minisoap.c
clang -target x86_64-apple-darwin11 -mmacosx-version-min=10.8 --sysroot /home/travis/build/bitcoin/bitcoin/depends/SDKs/MacOSX10.11.sdk -mlinker-version=253.9 -D_DARWIN_C_SOURCE -fPIC -pipe -O2     -I/home/travis/build/bitcoin/bitcoin/depends/x86_64-apple-darwin11/include     -Wall -W -Wstrict-prototypes -fno-common -DMINIUPNPC_SET_SOCKET_TIMEOUT -DMINIUPNPC_GET_SRC_ADDR -D_BSD_SOURCE -D_DEFAULT_SOURCE   -c -o miniupnpc.o miniupnpc.c
clang -target x86_64-apple-darwin11 -mmacosx-version-min=10.8 --sysroot /home/travis/build/bitcoin/bitcoin/depends/SDKs/MacOSX10.11.sdk -mlinker-version=253.9 -D_DARWIN_C_SOURCE -fPIC -pipe -O2     -I/home/travis/build/bitcoin/bitcoin/depends/x86_64-apple-darwin11/include     -Wall -W -Wstrict-prototypes -fno-common -DMINIUPNPC_SET_SOCKET_TIMEOUT -DMINIUPNPC_GET_SRC_ADDR -D_BSD_SOURCE -D_DEFAULT_SOURCE   -c -o upnpreplyparse.o upnpreplyparse.c
clang -target x86_64-apple-darwin11 -mmacosx-version-min=10.8 --sysroot /home/travis/build/bitcoin/bitcoin/depends/SDKs/MacOSX10.11.sdk -mlinker-version=253.9 -D_DARWIN_C_SOURCE -fPIC -pipe -O2     -I/home/travis/build/bitcoin/bitcoin/depends/x86_64-apple-darwin11/include     -Wall -W -Wstrict-prototypes -fno-common -DMINIUPNPC_SET_SOCKET_TIMEOUT -DMINIUPNPC_GET_SRC_ADDR -D_BSD_SOURCE -D_DEFAULT_SOURCE   -c -o upnpcommands.o upnpcommands.c
clang -target x86_64-apple-darwin11 -mmacosx-version-min=10.8 --sysroot /home/travis/build/bitcoin/bitcoin/depends/SDKs/MacOSX10.11.sdk -mlinker-version=253.9 -D_DARWIN_C_SOURCE -fPIC -pipe -O2     -I/home/travis/build/bitcoin/bitcoin/depends/x86_64-apple-darwin11/include     -Wall -W -Wstrict-prototypes -fno-common -DMINIUPNPC_SET_SOCKET_TIMEOUT -DMINIUPNPC_GET_SRC_ADDR -D_BSD_SOURCE -D_DEFAULT_SOURCE   -c -o upnperrors.o upnperrors.c
clang -target x86_64-apple-darwin11 -mmacosx-version-min=10.8 --sysroot /home/travis/build/bitcoin/bitcoin/depends/SDKs/MacOSX10.11.sdk -mlinker-version=253.9 -D_DARWIN_C_SOURCE -fPIC -pipe -O2     -I/home/travis/build/bitcoin/bitcoin/depends/x86_64-apple-darwin11/include     -Wall -W -Wstrict-prototypes -fno-common -DMINIUPNPC_SET_SOCKET_TIMEOUT -DMINIUPNPC_GET_SRC_ADDR -D_BSD_SOURCE -D_DEFAULT_SOURCE   -c -o connecthostport.o connecthostport.c
clang -target x86_64-apple-darwin11 -mmacosx-version-min=10.8 --sysroot /home/travis/build/bitcoin/bitcoin/depends/SDKs/MacOSX10.11.sdk -mlinker-version=253.9 -D_DARWIN_C_SOURCE -fPIC -pipe -O2     -I/home/travis/build/bitcoin/bitcoin/depends/x86_64-apple-darwin11/include     -Wall -W -Wstrict-prototypes -fno-common -DMINIUPNPC_SET_SOCKET_TIMEOUT -DMINIUPNPC_GET_SRC_ADDR -D_BSD_SOURCE -D_DEFAULT_SOURCE   -c -o portlistingparse.o portlistingparse.c
clang -target x86_64-apple-darwin11 -mmacosx-version-min=10.8 --sysroot /home/travis/build/bitcoin/bitcoin/depends/SDKs/MacOSX10.11.sdk -mlinker-version=253.9 -D_DARWIN_C_SOURCE -fPIC -pipe -O2     -I/home/travis/build/bitcoin/bitcoin/depends/x86_64-apple-darwin11/include     -Wall -W -Wstrict-prototypes -fno-common -DMINIUPNPC_SET_SOCKET_TIMEOUT -DMINIUPNPC_GET_SRC_ADDR -D_BSD_SOURCE -D_DEFAULT_SOURCE   -c -o receivedata.o receivedata.c
clang -target x86_64-apple-darwin11 -mmacosx-version-min=10.8 --sysroot /home/travis/build/bitcoin/bitcoin/depends/SDKs/MacOSX10.11.sdk -mlinker-version=253.9 -D_DARWIN_C_SOURCE -fPIC -pipe -O2     -I/home/travis/build/bitcoin/bitcoin/depends/x86_64-apple-darwin11/include     -Wall -W -Wstrict-prototypes -fno-common -DMINIUPNPC_SET_SOCKET_TIMEOUT -DMINIUPNPC_GET_SRC_ADDR -D_BSD_SOURCE -D_DEFAULT_SOURCE   -c -o upnpdev.o upnpdev.c
clang -target x86_64-apple-darwin11 -mmacosx-version-min=10.8 --sysroot /home/travis/build/bitcoin/bitcoin/depends/SDKs/MacOSX10.11.sdk -mlinker-version=253.9 -D_DARWIN_C_SOURCE -fPIC -pipe -O2     -I/home/travis/build/bitcoin/bitcoin/depends/x86_64-apple-darwin11/include     -Wall -W -Wstrict-prototypes -fno-common -DMINIUPNPC_SET_SOCKET_TIMEOUT -DMINIUPNPC_GET_SRC_ADDR -D_BSD_SOURCE -D_DEFAULT_SOURCE   -c -o minissdpc.o minissdpc.c
/usr/bin/libtool -static -o libminiupnpc.a miniwget.o minixml.o igd_desc_parse.o minisoap.o miniupnpc.o upnpreplyparse.o upnpcommands.o upnperrors.o connecthostport.o portlistingparse.o receivedata.o upnpdev.o minissdpc.o
libtool: unrecognized option `-static'
libtool: Try `libtool --help' for more information.
make[1]: *** [libminiupnpc.a] Error 1
make[1]: Leaving directory `/home/travis/build/bitcoin/bitcoin/depends/work/build/x86_64-apple-darwin11/miniupnpc/2.0.20180203-a0cb00241a9'
make: *** [/home/travis/build/bitcoin/bitcoin/depends/work/build/x86_64-apple-darwin11/miniupnpc/2.0.20180203-a0cb00241a9/./.stamp_built] Error 2
make: Leaving directory `/home/travis/build/bitcoin/bitcoin/depends'

@theuni
Copy link
Member

theuni commented Feb 26, 2018

@fanquake good catch! Upstream did add the define, as @laanwj mentioned that they should.

Our issue turns out to be that upstream added cross-build detection, which we partially override by defining OS. If we just let it be discovered as intended, all is fine. The problem you're seeing now is that LIBTOOL isn't defined (apple has a libtool utility that can handle ar's features, it's unrelated to gnu libtool).

Looks like the fix is as simple as:

--- a/depends/packages/miniupnpc.mk
+++ b/depends/packages/miniupnpc.mk
@@ -6,10 +6,9 @@ $(package)_sha256_hash=90dda8c7563ca6cd4a83e23b3c66dbbea89603a1675bfdb852897c2c9

 define $(package)_set_vars
 $(package)_build_opts=CC="$($(package)_cc)"
-$(package)_build_opts_darwin=OS=Darwin LIBTOOL="$($(package)_libtool)"
+$(package)_build_opts_darwin=LIBTOOL="$($(package)_libtool)"
 $(package)_build_opts_mingw32=-f Makefile.mingw
 $(package)_build_env+=CFLAGS="$($(package)_cflags) $($(package)_cppflags)" AR="$($(package)_ar)"
-$(package)_build_env+=CFLAGS=-D_DARWIN_C_SOURCE
 endef

 define $(package)_preprocess_cmds

@fanquake fanquake force-pushed the fix-miniupnpc-darwin branch from e650112 to 65754fd Compare February 28, 2018 01:14
@fanquake fanquake force-pushed the fix-miniupnpc-darwin branch from 65754fd to 992f568 Compare March 5, 2018 17:50
@laanwj laanwj merged commit 992f568 into bitcoin:master Mar 5, 2018
laanwj added a commit that referenced this pull request Mar 5, 2018
…pnpc on darwin

992f568 depends: Only use D_DARWIN_C_SOURCE when building miniupnpc on darwin (fanquake)

Pull request description:

  Only use D_DARWIN_C_SOURCE when building on darwin, so we don't inadvertently introduce issues elsewhere.

  cc @theuni

Tree-SHA512: e49a8456ba2b9925c06e62c73e139152b6d63cc5a4cee66944e41c863ca9103e98ac81a5718eceb3d0885a677fc53ece34062b02c304a05c3280e094965e856a
@fanquake fanquake deleted the fix-miniupnpc-darwin branch March 5, 2018 17:53
deadalnix pushed a commit to Bitcoin-ABC/bitcoin-abc that referenced this pull request Mar 19, 2020
Summary:
```
miniupnpc changelog:
http://miniupnp.free.fr/files/changelog.php?file=miniupnpc-2.0.20180203.tar.gz
2.0.20180203 includes fixes for the recent buffer overflow and segfault
issues, see miniupnp/miniupnp#268.

expat changelog:
https://github.com/libexpat/libexpat/blob/R_2_2_5/expat/Changes
2.2.2 & 2.2.3 included security fixes.

Also includes latest config.guess and config.sub.
```

This updates our depends version for expat, miniupnpc, config.guess and
config.sub.
The ccache version is **NOT** updated (see D5503).

It also includes a fix for miniupnpc.

Backport of core [[bitcoin/bitcoin#12402 | PR12402]] and [[bitcoin/bitcoin#12466 | PR12466]].

Depends on D5502 and D5503.

*Note to reviewers:* the diff ends up fairly large due to the pull of
config.guess and config.sub. However this is mostly formatting changes
(`${FOO}` vs `$FOO` in particular), and there was no merge conflict
during the cherry-pick.

Test Plan: Run the Gitian builds twice, ensure the build is still deterministic.

Reviewers: #bitcoin_abc, deadalnix

Reviewed By: #bitcoin_abc, deadalnix

Subscribers: deadalnix

Differential Revision: https://reviews.bitcoinabc.org/D5504
ftrader pushed a commit to bitcoin-cash-node/bitcoin-cash-node that referenced this pull request May 19, 2020
Summary:
```
miniupnpc changelog:
http://miniupnp.free.fr/files/changelog.php?file=miniupnpc-2.0.20180203.tar.gz
2.0.20180203 includes fixes for the recent buffer overflow and segfault
issues, see miniupnp/miniupnp#268.

expat changelog:
https://github.com/libexpat/libexpat/blob/R_2_2_5/expat/Changes
2.2.2 & 2.2.3 included security fixes.

Also includes latest config.guess and config.sub.
```

This updates our depends version for expat, miniupnpc, config.guess and
config.sub.
The ccache version is **NOT** updated (see D5503).

It also includes a fix for miniupnpc.

Backport of core [[bitcoin/bitcoin#12402 | PR12402]] and [[bitcoin/bitcoin#12466 | PR12466]].

Depends on D5502 and D5503.

*Note to reviewers:* the diff ends up fairly large due to the pull of
config.guess and config.sub. However this is mostly formatting changes
(`${FOO}` vs `$FOO` in particular), and there was no merge conflict
during the cherry-pick.

Test Plan: Run the Gitian builds twice, ensure the build is still deterministic.

Reviewers: #bitcoin_abc, deadalnix

Reviewed By: #bitcoin_abc, deadalnix

Subscribers: deadalnix

Differential Revision: https://reviews.bitcoinabc.org/D5504
PastaPastaPasta pushed a commit to PastaPastaPasta/dash that referenced this pull request Jun 9, 2020
…g miniupnpc on darwin

992f568 depends: Only use D_DARWIN_C_SOURCE when building miniupnpc on darwin (fanquake)

Pull request description:

  Only use D_DARWIN_C_SOURCE when building on darwin, so we don't inadvertently introduce issues elsewhere.

  cc @theuni

Tree-SHA512: e49a8456ba2b9925c06e62c73e139152b6d63cc5a4cee66944e41c863ca9103e98ac81a5718eceb3d0885a677fc53ece34062b02c304a05c3280e094965e856a
PastaPastaPasta pushed a commit to PastaPastaPasta/dash that referenced this pull request Jun 9, 2020
…g miniupnpc on darwin

992f568 depends: Only use D_DARWIN_C_SOURCE when building miniupnpc on darwin (fanquake)

Pull request description:

  Only use D_DARWIN_C_SOURCE when building on darwin, so we don't inadvertently introduce issues elsewhere.

  cc @theuni

Tree-SHA512: e49a8456ba2b9925c06e62c73e139152b6d63cc5a4cee66944e41c863ca9103e98ac81a5718eceb3d0885a677fc53ece34062b02c304a05c3280e094965e856a
PastaPastaPasta pushed a commit to PastaPastaPasta/dash that referenced this pull request Jun 10, 2020
…g miniupnpc on darwin

992f568 depends: Only use D_DARWIN_C_SOURCE when building miniupnpc on darwin (fanquake)

Pull request description:

  Only use D_DARWIN_C_SOURCE when building on darwin, so we don't inadvertently introduce issues elsewhere.

  cc @theuni

Tree-SHA512: e49a8456ba2b9925c06e62c73e139152b6d63cc5a4cee66944e41c863ca9103e98ac81a5718eceb3d0885a677fc53ece34062b02c304a05c3280e094965e856a
PastaPastaPasta pushed a commit to PastaPastaPasta/dash that referenced this pull request Jun 10, 2020
…g miniupnpc on darwin

992f568 depends: Only use D_DARWIN_C_SOURCE when building miniupnpc on darwin (fanquake)

Pull request description:

  Only use D_DARWIN_C_SOURCE when building on darwin, so we don't inadvertently introduce issues elsewhere.

  cc @theuni

Tree-SHA512: e49a8456ba2b9925c06e62c73e139152b6d63cc5a4cee66944e41c863ca9103e98ac81a5718eceb3d0885a677fc53ece34062b02c304a05c3280e094965e856a
PastaPastaPasta pushed a commit to PastaPastaPasta/dash that referenced this pull request Jun 11, 2020
…g miniupnpc on darwin

992f568 depends: Only use D_DARWIN_C_SOURCE when building miniupnpc on darwin (fanquake)

Pull request description:

  Only use D_DARWIN_C_SOURCE when building on darwin, so we don't inadvertently introduce issues elsewhere.

  cc @theuni

Tree-SHA512: e49a8456ba2b9925c06e62c73e139152b6d63cc5a4cee66944e41c863ca9103e98ac81a5718eceb3d0885a677fc53ece34062b02c304a05c3280e094965e856a
PastaPastaPasta pushed a commit to PastaPastaPasta/dash that referenced this pull request Jun 11, 2020
…g miniupnpc on darwin

992f568 depends: Only use D_DARWIN_C_SOURCE when building miniupnpc on darwin (fanquake)

Pull request description:

  Only use D_DARWIN_C_SOURCE when building on darwin, so we don't inadvertently introduce issues elsewhere.

  cc @theuni

Tree-SHA512: e49a8456ba2b9925c06e62c73e139152b6d63cc5a4cee66944e41c863ca9103e98ac81a5718eceb3d0885a677fc53ece34062b02c304a05c3280e094965e856a
PastaPastaPasta pushed a commit to PastaPastaPasta/dash that referenced this pull request Jun 12, 2020
…g miniupnpc on darwin

992f568 depends: Only use D_DARWIN_C_SOURCE when building miniupnpc on darwin (fanquake)

Pull request description:

  Only use D_DARWIN_C_SOURCE when building on darwin, so we don't inadvertently introduce issues elsewhere.

  cc @theuni

Tree-SHA512: e49a8456ba2b9925c06e62c73e139152b6d63cc5a4cee66944e41c863ca9103e98ac81a5718eceb3d0885a677fc53ece34062b02c304a05c3280e094965e856a
PastaPastaPasta pushed a commit to PastaPastaPasta/dash that referenced this pull request Jun 14, 2020
…g miniupnpc on darwin

992f568 depends: Only use D_DARWIN_C_SOURCE when building miniupnpc on darwin (fanquake)

Pull request description:

  Only use D_DARWIN_C_SOURCE when building on darwin, so we don't inadvertently introduce issues elsewhere.

  cc @theuni

Tree-SHA512: e49a8456ba2b9925c06e62c73e139152b6d63cc5a4cee66944e41c863ca9103e98ac81a5718eceb3d0885a677fc53ece34062b02c304a05c3280e094965e856a
gades pushed a commit to cosanta/cosanta-core that referenced this pull request Jun 24, 2021
…g miniupnpc on darwin

992f568 depends: Only use D_DARWIN_C_SOURCE when building miniupnpc on darwin (fanquake)

Pull request description:

  Only use D_DARWIN_C_SOURCE when building on darwin, so we don't inadvertently introduce issues elsewhere.

  cc @theuni

Tree-SHA512: e49a8456ba2b9925c06e62c73e139152b6d63cc5a4cee66944e41c863ca9103e98ac81a5718eceb3d0885a677fc53ece34062b02c304a05c3280e094965e856a
CryptoCentric pushed a commit to absolute-community/absolute that referenced this pull request Jul 2, 2021
…g miniupnpc on darwin

992f568 depends: Only use D_DARWIN_C_SOURCE when building miniupnpc on darwin (fanquake)

Pull request description:

  Only use D_DARWIN_C_SOURCE when building on darwin, so we don't inadvertently introduce issues elsewhere.

  cc @theuni

Tree-SHA512: e49a8456ba2b9925c06e62c73e139152b6d63cc5a4cee66944e41c863ca9103e98ac81a5718eceb3d0885a677fc53ece34062b02c304a05c3280e094965e856a
@bitcoin bitcoin locked as resolved and limited conversation to collaborators Sep 8, 2021
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.

3 participants