void-packages/srcpkgs/proot/patches/ptrace_compat.patch
Antonio Gurgel d977b3b5b7
proot: update to 5.2.0.
- Delete obsolete patches and fix the rest.
- Add pkg-config (otherwise, undefined talloc_* refs abound).
- Use docs/GNUMakefile to generate manpage.
- Force Makefile to recognize package version.

Closes: #33272 [via git-merge-pr]
2021-11-05 23:51:56 +01:00

12 lines
458 B
Diff

--- a/src/tracee/tracee.h 2014-12-15 15:18:11.000000000 +0100
+++ b/src/tracee/tracee.h 2021-09-30 00:24:54.834523917 -0700
@@ -28,6 +28,9 @@
#include <stdbool.h> /* bool, */
#include <sys/queue.h> /* LIST_*, */
#include <sys/ptrace.h>/* enum __ptrace_request */
+#if !defined(__GLIBC__)
+#include "ptrace_compat.h"
+#endif
#include <talloc.h> /* talloc_*, */
#include <stdint.h> /* *int*_t, */
#include <sys/wait.h> /* __WAIT_* */