mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: proot: Fix build.
* gnu/packages/patches/proot-add-missing-include.patch: New patch. * gnu/local.mk (dist_patch_DATA): Register it. * gnu/packages/linux.scm (proot): Use it. Change-Id: Ia160417b06073c29b9f540fc4883d1f74dfd6003
This commit is contained in:
parent
f9df228dbd
commit
c2e16dcec7
3 changed files with 18 additions and 1 deletions
|
@ -2124,6 +2124,7 @@ dist_patch_DATA = \
|
||||||
%D%/packages/patches/procmail-CVE-2017-16844.patch \
|
%D%/packages/patches/procmail-CVE-2017-16844.patch \
|
||||||
%D%/packages/patches/proj-7-initialize-memory.patch \
|
%D%/packages/patches/proj-7-initialize-memory.patch \
|
||||||
%D%/packages/patches/proot-add-clone3.patch \
|
%D%/packages/patches/proot-add-clone3.patch \
|
||||||
|
%D%/packages/patches/proot-add-missing-include.patch \
|
||||||
%D%/packages/patches/protobuf-fix-build-on-32bit.patch \
|
%D%/packages/patches/protobuf-fix-build-on-32bit.patch \
|
||||||
%D%/packages/patches/psm-arch.patch \
|
%D%/packages/patches/psm-arch.patch \
|
||||||
%D%/packages/patches/psm-disable-memory-stats.patch \
|
%D%/packages/patches/psm-disable-memory-stats.patch \
|
||||||
|
|
|
@ -9272,7 +9272,8 @@ Text-based output formats: CSV, XML, Netfilter's LOG, Netfilter's conntrack
|
||||||
(base32 "186qsg4yvisqjgf8w5jxhnlig7x341vpqwcgp8as3r59qmqkpmk7"))
|
(base32 "186qsg4yvisqjgf8w5jxhnlig7x341vpqwcgp8as3r59qmqkpmk7"))
|
||||||
;; Waiting for upstream inclusion at
|
;; Waiting for upstream inclusion at
|
||||||
;; https://github.com/proot-me/proot/pull/355
|
;; https://github.com/proot-me/proot/pull/355
|
||||||
(patches (search-patches "proot-add-clone3.patch"))))
|
(patches (search-patches "proot-add-clone3.patch"
|
||||||
|
"proot-add-missing-include.patch"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
;; Many architectures are not supported (see:
|
;; Many architectures are not supported (see:
|
||||||
;; https://github.com/proot-me/proot/blob/master/src/arch.h#L51).
|
;; https://github.com/proot-me/proot/blob/master/src/arch.h#L51).
|
||||||
|
|
15
gnu/packages/patches/proot-add-missing-include.patch
Normal file
15
gnu/packages/patches/proot-add-missing-include.patch
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
Add missing include to avoid implicit function declaration, prohibited with
|
||||||
|
GCC 14.
|
||||||
|
|
||||||
|
diff --git a/src/tracee/tracee.c b/src/tracee/tracee.c
|
||||||
|
index 9b16f6aa..39308c32 100644
|
||||||
|
--- a/src/tracee/tracee.c
|
||||||
|
+++ b/src/tracee/tracee.c
|
||||||
|
@@ -44,6 +44,7 @@
|
||||||
|
#include "cli/note.h"
|
||||||
|
|
||||||
|
#include "compat.h"
|
||||||
|
+#include "mem.h"
|
||||||
|
|
||||||
|
#ifndef __W_STOPCODE
|
||||||
|
#define __W_STOPCODE(sig) ((sig) <<8 | 0x7f)
|
Loading…
Add table
Add a link
Reference in a new issue