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:
Zheng Junjie 2025-06-25 11:56:03 +08:00 committed by Andreas Enge
parent f9df228dbd
commit c2e16dcec7
No known key found for this signature in database
GPG key ID: F7D5C9BF765C61E3
3 changed files with 18 additions and 1 deletions

View file

@ -9272,7 +9272,8 @@ Text-based output formats: CSV, XML, Netfilter's LOG, Netfilter's conntrack
(base32 "186qsg4yvisqjgf8w5jxhnlig7x341vpqwcgp8as3r59qmqkpmk7"))
;; Waiting for upstream inclusion at
;; 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)
;; Many architectures are not supported (see:
;; https://github.com/proot-me/proot/blob/master/src/arch.h#L51).