rr: update to 5.3.0

This commit is contained in:
Neel Chotai 2020-02-24 16:18:05 +00:00 committed by Juan RP
parent f26b874f0a
commit 6fc432149d
2 changed files with 7 additions and 73 deletions

View File

@ -1,66 +0,0 @@
From 53c5bd72bae089616a3ca626b8af240481d70e6f Mon Sep 17 00:00:00 2001
From: Robert O'Callahan <robert@ocallahan.org>
Date: Fri, 10 Aug 2018 15:17:55 +1200
Subject: [PATCH] Remove ucontext_t/rt_sigframe from kernel-abi
These were added in 18bb097736a1b728f1e5bfec972ca10f6e763d82 to help us determine
the sigmask effect of rt_sigreturn syscalls, but they're no longer needed
because we query the new mask via /proc instead.
Resolves #2237
---
src/kernel_abi.h | 33 ---------------------------------
1 file changed, 33 deletions(-)
diff --git a/src/kernel_abi.h b/src/kernel_abi.h
index e73e49933..29d3c9242 100644
--- src/kernel_abi.h
+++ src/kernel_abi.h
@@ -1609,23 +1609,6 @@ struct X86Arch : public BaseArch<SupportedArch::x86, WordSize32Defs> {
};
RR_VERIFY_TYPE_ARCH(SupportedArch::x86, ::sigcontext, sigcontext);
- struct ucontext_t {
- uint32_t uc_flags;
- uint32_t uc_link;
- stack_t uc_stack;
- sigcontext uc_mcontext;
- kernel_sigset_t uc_sigmask;
- };
-
- struct rt_sigframe {
- uint32_t pretcode;
- int sig;
- uint32_t pinfo;
- uint32_t puc;
- siginfo_t info;
- struct ucontext_t uc;
- };
-
struct _fpstate_32 {
uint32_t cw, sw, tag, ipoff, cssel, dataoff, datasel;
uint16_t _st[40];
@@ -1806,22 +1789,6 @@ struct X64Arch : public BaseArch<SupportedArch::x86_64, WordSize64Defs> {
RR_VERIFY_TYPE_ARCH(SupportedArch::x86_64, ::user_fpregs_struct,
user_fpregs_struct);
- struct ucontext_t {
- uint64_t ucflags;
- ptr<struct ucontext_t> uc_link;
- stack_t uc_stack;
- struct sigcontext uc_mcontext;
- sigset_t uc_sigmask;
- user_fpregs_struct uc_fpregs;
- };
- RR_VERIFY_TYPE_ARCH(SupportedArch::x86_64, ::ucontext_t, ucontext_t);
-
- struct rt_sigframe {
- ptr<char> pretcode;
- struct ucontext_t uc;
- siginfo_t info;
- };
-
struct user {
struct user_regs_struct regs;
int u_fpvalid;

View File

@ -1,18 +1,18 @@
# Template file for 'rr'
pkgname=rr
version=5.2.0
revision=3
version=5.3.0
revision=1
archs="i686 x86_64"
build_style=cmake
configure_args="-DBUILD_TESTS=OFF -DCMAKE_CXX_STANDARD=14"
archs="i686 x86_64"
hostmakedepends="pkg-config python"
makedepends="python-pexpect zlib-devel capnproto-devel"
hostmakedepends="pkg-config python3"
makedepends="python3-pexpect zlib-devel capnproto-devel"
short_desc="Nondeterministic debugger"
maintainer="Spencer Hill <spencernh77@gmail.com>"
license="MIT, BSD"
license="MIT, BSD-2-Clause"
homepage="http://rr-project.org/"
distfiles="https://github.com/mozilla/${pkgname}/archive/${version}.tar.gz"
checksum=a15900fd4c49f360e678542f00742b3cd7811bdf4bab2ca3fd38cae932183a37
checksum=440e90a68557a8111f483fc40ab5ed65d21d6b11426b3245e4221b930a86ca69
nopie=yes
case "$XBPS_MACHINE" in