diff options
author | Zheng Junjie <z572@z572.online> | 2025-07-12 17:54:10 +0800 |
---|---|---|
committer | Andreas Enge <andreas@enge.fr> | 2025-07-17 22:21:15 +0200 |
commit | 110c96a5162d3a9d139eb68907013c6fc0aad0e5 (patch) | |
tree | 95a77c8b81b2f58ace7d14e3e4a80d4c15064ad4 | |
parent | a76f20c26d19b3bdea3dff9eacacba53e4c153a9 (diff) |
gnu: capnproto: Fix tests.
* gnu/packages/patches/capnproto-fix-test.patch: New patch.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/serialization.scm (capnproto)[source]: Use it.
Change-Id: I216563e5263f6d4e61e382b8d1eb5687c82b0cc1
-rw-r--r-- | gnu/local.mk | 1 | ||||
-rw-r--r-- | gnu/packages/patches/capnproto-fix-test.patch | 11 | ||||
-rw-r--r-- | gnu/packages/serialization.scm | 3 |
3 files changed, 14 insertions, 1 deletions
diff --git a/gnu/local.mk b/gnu/local.mk index 9e9a0d6d9d..37988cb408 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -1089,6 +1089,7 @@ dist_patch_DATA = \ %D%/packages/patches/calls-disable-application-test.patch \ %D%/packages/patches/calls-disable-sip-test.patch \ %D%/packages/patches/camlboot-dynamically-allocate-stack-signal.patch \ + %D%/packages/patches/capnproto-fix-test.patch \ %D%/packages/patches/capstone-fix-python-constants.patch \ %D%/packages/patches/catdoc-CVE-2017-11110.patch \ %D%/packages/patches/ccextractor-add-missing-header.patch \ diff --git a/gnu/packages/patches/capnproto-fix-test.patch b/gnu/packages/patches/capnproto-fix-test.patch new file mode 100644 index 0000000000..4b20764492 --- /dev/null +++ b/gnu/packages/patches/capnproto-fix-test.patch @@ -0,0 +1,11 @@ +diff -u a/src/kj/string-test.c++ b/src/kj/string-test.c++ +--- a/src/kj/string-test.c++ ++++ b/src/kj/string-test.c++ +@@ -22,6 +22,7 @@ + #include "string.h" + #include <kj/compat/gtest.h> + #include <string> ++#include <cstdint> + #include "vector.h" + + namespace kj { diff --git a/gnu/packages/serialization.scm b/gnu/packages/serialization.scm index 6299cbb156..6b4f5445cb 100644 --- a/gnu/packages/serialization.scm +++ b/gnu/packages/serialization.scm @@ -742,7 +742,8 @@ This package also provides @samp{kdlpp}, a C++20 wrapper around @samp{ckdl}.") version ".tar.gz")) (sha256 (base32 - "03f1862ljdshg7d0rg3j7jzgm3ip55kzd2y91q7p0racax3hxx6i")))) + "03f1862ljdshg7d0rg3j7jzgm3ip55kzd2y91q7p0racax3hxx6i")) + (patches (search-patches "capnproto-fix-test.patch")))) (build-system gnu-build-system) (arguments `(#:phases |