-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
backport: trivial 2024 10 25 pr1 #6362
Changes from 15 commits
3070c3e
3be0d3e
63e139d
ca83773
479cb8b
9793fb1
ebed8af
69c04b2
4e144be
745addf
62dcd43
e016ffa
57945ce
df3c239
e4e5605
ddaec96
f66547f
8a12237
1bd090e
432f352
01b570e
745a819
b654479
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,13 @@ | ||
build: set minimum required CMake to 3.16 | ||
|
||
--- a/CMakeLists.txt | ||
+++ b/CMakeLists.txt | ||
@@ -33,7 +33,7 @@ | ||
# Unlike most of Expat, | ||
# this file is copyrighted under the BSD-license for buildsystem files of KDE. | ||
|
||
-cmake_minimum_required(VERSION 3.1.3) | ||
+cmake_minimum_required(VERSION 3.16) | ||
|
||
# This allows controlling documented build time switches | ||
# when Expat is pulled in using the add_subdirectory function, e.g. |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
commit 0e953866fc4672486e29e1ba6d83b4207e7b2f0b | ||
Author: fanquake <[email protected]> | ||
Date: Tue Aug 18 15:09:06 2020 +0800 | ||
Do not assume FHS in scripts | ||
|
||
Don't hardcode pwd path | ||
On systems that do not follow the Filesystem Hierarchy Standard, such as | ||
guix, the hardcoded `/bin/pwd` will fail to be found so that the script | ||
will fail. | ||
|
||
Let a man use his builtins if he wants to! Also, removes the unnecessary | ||
assumption that pwd lives under /bin/pwd. | ||
Use `pwd`, instead, so that the command can be found through the normal | ||
path search mechanism. | ||
|
||
See #15581. | ||
See https://github.com/qt/qtbase/commit/3388de698bfb9bbc456c08f03e83bf3e749df35c. | ||
|
||
diff --git a/qtbase/configure b/qtbase/configure | ||
index 08b49a8d..faea5b55 100755 | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1724,8 +1724,11 @@ class msg_tx: | |
__slots__ = ("tx",) | ||
msgtype = b"tx" | ||
|
||
def __init__(self, tx=CTransaction()): | ||
self.tx = tx | ||
def __init__(self, tx=None): | ||
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. missing changes for class CMerkleBlock (same bug): --- a/test/functional/test_framework/messages.py
+++ b/test/functional/test_framework/messages.py
@@ -1069,9 +1069,16 @@ class CPartialMerkleTree:
class CMerkleBlock:
__slots__ = ("header", "txn")
- def __init__(self, header=CBlockHeader(), txn=CPartialMerkleTree()):
+ def __init__(self, header=None, txn=None):
+ if header is None:
+ self.header = CBlockHeader()
+ else:
+ self.header = header
self.header = header
- self.txn = txn
+ if txn is None:
+ self.txn = CPartialMerkleTree()
+ else:
+ self.txn = txn 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. fixed: #6373 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. Thanks! |
||
if tx is None: | ||
self.tx = CTransaction() | ||
else: | ||
self.tx = tx | ||
|
||
def deserialize(self, f): | ||
self.tx.deserialize(f) | ||
|
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.
looks like this can fix our IPv6 on CI: #6038
I will test it
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.
it doesn't: https://gitlab.com/dashpay/dash/-/jobs/8212452793