zeromq: backport patches for CMake 4
This commit is contained in:
@@ -30,14 +30,26 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
hash = "sha256-q2h5y0Asad+fGB9haO4Vg7a1ffO2JSb7czzlhmT3VmI=";
|
||||
};
|
||||
|
||||
# Use proper STREQUAL instead of EQUAL to compare strings
|
||||
# See: https://github.com/zeromq/libzmq/pull/4711
|
||||
patches = [
|
||||
# Use proper STREQUAL instead of EQUAL to compare strings
|
||||
# See: https://github.com/zeromq/libzmq/pull/4711
|
||||
(fetchpatch {
|
||||
url = "https://github.com/zeromq/libzmq/pull/4711/commits/55bd6b3df06734730d3012c17bc26681e25b549d.patch";
|
||||
hash = "sha256-/FVah+s7f1hWXv3MXkYfIiV1XAiMVDa0tmt4BQmSgmY=";
|
||||
name = "cacheline_undefined.patch";
|
||||
})
|
||||
|
||||
# Fix the build with CMake 4.
|
||||
(fetchpatch {
|
||||
name = "zeromq-fix-cmake-4-1.patch";
|
||||
url = "https://github.com/zeromq/libzmq/commit/34f7fa22022bed9e0e390ed3580a1c83ac4a2834.patch";
|
||||
hash = "sha256-oauAZV6pThplcn2v9mQxhxlUhYgpbly0JBLYik+zoJE=";
|
||||
})
|
||||
(fetchpatch {
|
||||
name = "zeromq-fix-cmake-4-2.patch";
|
||||
url = "https://github.com/zeromq/libzmq/commit/b91a6201307b72beb522300366aad763d19b1456.patch";
|
||||
hash = "sha256-FKvZi7pTUx+wLUR8Suf+pRFg8I5OHpJ93gEmTxUrmO4=";
|
||||
})
|
||||
];
|
||||
|
||||
strictDeps = true;
|
||||
|
||||
Reference in New Issue
Block a user