-
Notifications
You must be signed in to change notification settings - Fork 1.2k
backport: Merge bitcoin#30703, 30024, 29707, 28336, 29335, 30063, 3006, 30161, 30160 #7308
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
base: develop
Are you sure you want to change the base?
Changes from all commits
44341d4
f86c110
372e84a
4307b5e
94623c3
4a7e882
d30d965
b7448a0
664a58e
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,22 @@ | ||
| commit cb2026239c2a3aff393952ccb0ee1c448189402d | ||
| Author: fanquake <fanquake@gmail.com> | ||
| Date: Fri Mar 22 14:03:54 2024 +0000 | ||
|
|
||
| build: add MINIUPNPC_GET_SRC_ADDR to CMake build | ||
|
|
||
| This mirrors the autotools build. | ||
|
|
||
| See https://github.com/miniupnp/miniupnp/pull/721. | ||
|
|
||
| diff --git a/CMakeLists.txt b/CMakeLists.txt | ||
| index 1aa95a8..0cacf3e 100644 | ||
| --- a/CMakeLists.txt | ||
| +++ b/CMakeLists.txt | ||
| @@ -31,6 +31,7 @@ endif () | ||
| if (NOT WIN32) | ||
| target_compile_definitions(miniupnpc-private INTERFACE | ||
| MINIUPNPC_SET_SOCKET_TIMEOUT | ||
| + MINIUPNPC_GET_SRC_ADDR | ||
| _BSD_SOURCE _DEFAULT_SOURCE) | ||
| if (NOT APPLE AND NOT CMAKE_SYSTEM_NAME MATCHES ".*BSD" AND NOT CMAKE_SYSTEM_NAME STREQUAL "SunOS") | ||
| # add_definitions (-D_POSIX_C_SOURCE=200112L) |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,25 @@ | ||
| commit a1e9de80ab99b4c956a6a4e21d3e0de6f7a1014d | ||
| Author: Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | ||
| Date: Sat Apr 20 15:14:47 2024 +0100 | ||
|
|
||
| Fix macro expression that guards `snprintf` for Windows | ||
|
|
||
| Otherwise, the `snprintf` is still wrongly emulated for the following | ||
| cases: | ||
| - mingw-w64 6.0.0 or new with ucrt | ||
| - mingw-w64 8.0.0 or new with iso c ext | ||
|
|
||
| --- a/src/win32_snprintf.h | ||
| +++ b/src/win32_snprintf.h | ||
| @@ -23,9 +23,9 @@ | ||
| (defined(_MSC_VER) && _MSC_VER < 1900) /* Visual Studio older than 2015 */ || \ | ||
| (defined(__MINGW32__) && !defined(__MINGW64_VERSION_MAJOR) && defined(__NO_ISOCEXT)) /* mingw32 without iso c ext */ || \ | ||
| (defined(__MINGW64_VERSION_MAJOR) && /* mingw-w64 not ... */ !( \ | ||
| - (defined (__USE_MINGW_ANSI_STDIO) && __USE_MINGW_ANSI_STDIO != 0)) /* ... with ansi stdio */ || \ | ||
| + (defined (__USE_MINGW_ANSI_STDIO) && __USE_MINGW_ANSI_STDIO != 0) /* ... with ansi stdio */ || \ | ||
| (__MINGW64_VERSION_MAJOR >= 6 && defined(_UCRT)) /* ... at least 6.0.0 with ucrt */ || \ | ||
| - (__MINGW64_VERSION_MAJOR >= 8 && !defined(__NO_ISOCEXT)) /* ... at least 8.0.0 with iso c ext */ || \ | ||
| + (__MINGW64_VERSION_MAJOR >= 8 && !defined(__NO_ISOCEXT))) /* ... at least 8.0.0 with iso c ext */ || \ | ||
| 0) || \ | ||
| 0) | ||
|
|
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -39,7 +39,7 @@ You can find installation instructions in the `build-*.md` file for your platfor | |
| | Dependency | Releases | Version used | Minimum required | Runtime | | ||
| | --- | --- | --- | --- | --- | | ||
| | [libnatpmp](../depends/packages/libnatpmp.mk) | [link](https://github.com/miniupnp/libnatpmp/) | commit [07004b9...](https://github.com/miniupnp/libnatpmp/tree/07004b97cf691774efebe70404cf22201e4d330d) | | No | | ||
| | [MiniUPnPc](../depends/packages/miniupnpc.mk) | [link](https://miniupnp.tuxfamily.org/) | [2.2.2](https://github.com/bitcoin/bitcoin/pull/20421) | 2.1 | No | | ||
| | [MiniUPnPc](../depends/packages/miniupnpc.mk) | [link](https://miniupnp.tuxfamily.org/) | [2.2.2](https://github.com/bitcoin/bitcoin/pull/29707) | 2.1 | No | | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 💬 Nitpick: MiniUPnPc documented version still says 2.2.2 after the 2.2.7 bump The depends package now builds MiniUPnPc 2.2.7, but the dependency table still lists the version as 2.2.2 while pointing at bitcoin#29707. This leaves the documentation inconsistent with the actual package version selected by depends/packages/miniupnpc.mk. source: ['claude', 'claude-backport-reviewer'] |
||
|
|
||
| ### Notifications | ||
| | Dependency | Releases | Version used | Minimum required | Runtime | | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Update MiniUPnPc “Version used” to match the package bump.
Line 42 still documents
2.2.2, but this PR updatesdepends/packages/miniupnpc.mkto2.2.7. Please keep the table in sync.Suggested doc fix
📝 Committable suggestion
🧰 Tools
🪛 markdownlint-cli2 (0.22.1)
[warning] 42-42: Link text should be descriptive
(MD059, descriptive-link-text)
🤖 Prompt for AI Agents