mirror of
https://codeberg.org/guix/guix.git
synced 2026-01-25 12:05:19 -06:00
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
This commit is contained in:
parent
2a6ba2e69b
commit
3dc7044969
3 changed files with 14 additions and 1 deletions
|
|
@ -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 \
|
||||
|
|
|
|||
11
gnu/packages/patches/capnproto-fix-test.patch
Normal file
11
gnu/packages/patches/capnproto-fix-test.patch
Normal file
|
|
@ -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 {
|
||||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue