From ecf4598199c7552fec6c9a223a3ef7a2dec0f145 Mon Sep 17 00:00:00 2001 From: Enno Boland Date: Wed, 2 Mar 2016 08:56:42 +0100 Subject: [PATCH] criu: update to 1.8. --- srcpkgs/criu/patches/fix-glibc-2.23.patch | 15 +++++++++++++++ srcpkgs/criu/template | 4 ++-- 2 files changed, 17 insertions(+), 2 deletions(-) create mode 100644 srcpkgs/criu/patches/fix-glibc-2.23.patch diff --git a/srcpkgs/criu/patches/fix-glibc-2.23.patch b/srcpkgs/criu/patches/fix-glibc-2.23.patch new file mode 100644 index 00000000000..6d3dd616ee5 --- /dev/null +++ b/srcpkgs/criu/patches/fix-glibc-2.23.patch @@ -0,0 +1,15 @@ +diff --git include/ptrace.h include/ptrace.h +index dfc5ecd..efea594 100644 +--- include/ptrace.h ++++ include/ptrace.h +@@ -44,8 +44,10 @@ struct ptrace_peeksiginfo_args { + # define PTRACE_SETREGSET 0x4205 + #endif + ++#ifndef PTRACE_GETSIGMASK + #define PTRACE_GETSIGMASK 0x420a + #define PTRACE_SETSIGMASK 0x420b ++#endif + + #ifndef PTRACE_SECCOMP_GET_FILTER + #define PTRACE_SECCOMP_GET_FILTER 0x420c diff --git a/srcpkgs/criu/template b/srcpkgs/criu/template index debe1098dee..b944a1d2510 100644 --- a/srcpkgs/criu/template +++ b/srcpkgs/criu/template @@ -1,6 +1,6 @@ # Template file for 'criu' pkgname=criu -version=1.7.2 +version=1.8 revision=1 hostmakedepends="pkg-config protobuf-c protobuf python asciidoc xmlto" makedepends="libbsd-devel protobuf-c-devel protobuf-devel" @@ -10,7 +10,7 @@ maintainer="Enno Boland " license="GPL-2, LGPL-2" homepage="http://criu.org/" distfiles="http://download.openvz.org/criu/criu-$version.tar.bz2" -checksum=f5d377fd2a3c8824c592f6c27147cb4d37333ca0ce8b9c6e85a8b7cd8479b21d +checksum=d1d6693d23181b1cd7378d77c142e41bcac3cb2ae5c71ea4c5b7de01f65575bb only_for_archs="x86_64" pycompile_module="pycriu"