Package: capnproto / 0.5.3-2

Metadata

Package Version Patches format
capnproto 0.5.3-2 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
01_fix hurd i386.patch | (download)

Makefile.am | 4 3 + 1 - 0 !
src/kj/async-io.c++ | 21 17 + 4 - 0 !
src/kj/io.c++ | 14 4 + 10 - 0 !
src/kj/miniposix.h | 35 35 + 0 - 0 !
4 files changed, 59 insertions(+), 15 deletions(-)

 fix build error on hurd-i386.
  hurd-i386 does not define IOV_MAX. Here we provide a more robust way to
  determine the max iovs allowed during readv/writev operations.
02_install cmake find pkg.patch | (download)

Makefile.am | 25 23 + 2 - 0 !
cmake/CapnProtoConfig.cmake.in | 107 107 + 0 - 0 !
cmake/CapnProtoConfigVersion.cmake.in | 11 11 + 0 - 0 !
3 files changed, 141 insertions(+), 2 deletions(-)

 *config files for cmake.
 Upstream provides a FindCapnProto.cmake, but this needs to be installed in a
 version-specific directory. In this patch we generate CapnProtoConfig.cmake
 and CapnProtoConfigVersion.cmake so that we don't need to move our Find*
 files around any time the cmake package is upgraded.
03_fix hppa ftbfs 781787.patch | (download)

src/capnp/layout.h | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 hppa ftbfs due to nan test failure
  The hppa and mips architecture have the same nan format (i.e.,
04_fix eagain test failure 790571.patch | (download)

src/kj/async-unix-test.c++ | 15 13 + 2 - 0 !
1 file changed, 13 insertions(+), 2 deletions(-)

 read all data from anon pipe in tests
  It seems that if we read less than PIPE_BUF bytes from an
  anonymous pipe after filling up its buffer, the pipe will
  never enter the writable state. As a result, the write
  observer never fires and the AsyncUnixTest::WriteObserver
  test fails on architectures with a page size > 4kb.
05_big endian async unix.patch | (download)

configure.ac | 13 13 + 0 - 0 !
src/kj/async-unix.c++ | 4 4 + 0 - 0 !
2 files changed, 17 insertions(+)

  fix unixeventport value on 32-bit big endian arch
 toRegularSiginfo attempts to convert signalfd_siginfo.ssi_ptr (a 64-bit
 integer across all architectures) to a pointer. On 32-bit big endian
 architectures, sival_int/sival_ptr will be stored in the high 32-bits
 of the ssi_ptr value.

 Prior to this change, the value was "lost" as we cast away the high
 bits of ssi_ptr in the conversion to a 32-bit pointer.

 This fixes AsyncUnixTest::SignalWith{,Pointer}Value on affected archs.