From e7bae0c686d0c4d19e67a3dc4e9d0d3fa3e2bd19 Mon Sep 17 00:00:00 2001 From: Kyle Evans Date: Wed, 30 Sep 2020 00:13:09 +0000 Subject: sysutils/reptyr: update to 0.8.0 This update includes support for reptyr -T on FreeBSD, along with a flurry of fixes for running on FreeBSD and all patches from the ports tree have been applied upstream. PR: 249994 Approved by: andoriyu@gmail.com (maintainer) --- sysutils/reptyr/files/patch-git_308f600 | 36 --------------------------------- 1 file changed, 36 deletions(-) delete mode 100644 sysutils/reptyr/files/patch-git_308f600 (limited to 'sysutils/reptyr/files/patch-git_308f600') diff --git a/sysutils/reptyr/files/patch-git_308f600 b/sysutils/reptyr/files/patch-git_308f600 deleted file mode 100644 index 6b1485b9afe8..000000000000 --- a/sysutils/reptyr/files/patch-git_308f600 +++ /dev/null @@ -1,36 +0,0 @@ -commit 308f60064fee6d5707514b65f6acad656a8a4feb -Author: Raphael Kubo da Costa -Date: Tue Feb 2 19:04:11 2016 +0100 - - FreeBSD: Do not try to cast NULL to int. - - Passing NULL to the data parameter in calls to ptrace(2) causes failures - on 64-bit FreeBSD 9 installations, where GCC 4.2.1 complains like this: - - platform/freebsd/arch/x86_common.h: In function 'arch_get_register': - platform/freebsd/arch/x86_common.h:48: warning: cast from pointer to integer of different size - platform/freebsd/arch/x86_common.h: In function 'arch_set_register': - platform/freebsd/arch/x86_common.h:57: warning: cast from pointer to integer of different size - platform/freebsd/arch/x86_common.h:59: warning: cast from pointer to integer of different size - platform/freebsd/freebsd_ptrace.c: In function 'ptrace_memcpy_to_child': - platform/freebsd/freebsd_ptrace.c:267: warning: cast from pointer to integer of different size - platform/freebsd/freebsd_ptrace.c: In function 'ptrace_memcpy_from_child': - platform/freebsd/freebsd_ptrace.c:282: warning: cast from pointer to integer of different size - - Make ptrace_command pass 0 to _ptrace_command so that the final - expansion looks like this: - __ptrace_command((cld), (req), (void*)(addr), (int)(0)) - instead of - __ptrace_command((cld), (req), (void*)(addr), (int)(((void*)0))) - ---- platform/freebsd/freebsd_ptrace.c -+++ platform/freebsd/freebsd_ptrace.c -@@ -47,7 +47,7 @@ - static int __ptrace_command(struct ptrace_child *child, int req, - void *, int); - --#define ptrace_command(cld, req, ...) _ptrace_command(cld, req, ## __VA_ARGS__, NULL, NULL) -+#define ptrace_command(cld, req, ...) _ptrace_command(cld, req, ## __VA_ARGS__, 0, 0) - #define _ptrace_command(cld, req, addr, data, ...) __ptrace_command((cld), (req), (void*)(addr), (int)(data)) - - -- cgit v1.2.3