summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2022-09-11 15:57:42 +0000
committerDamien Zammit <damien@zamaudio.com>2023-06-24 00:00:11 +1000
commit2c5b365967e2c81f10057d4e1cc692643cc1d13d (patch)
tree0ce0e3bbb8ef6cc6a1dd68d5ade3deae4da2c6e4
parent3714eb05ff7e09ee8fa5eb3fc76e1250792a1ecb (diff)
debian/patches/idtype_t.diff: Fix build with glibc 2.36
that doesn't get idtype_t magically defined.
-rw-r--r--debian/changelog2
-rw-r--r--debian/patches/idtype_t.diff12
-rw-r--r--debian/patches/series1
3 files changed, 15 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index 374f330c..22519988 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,8 @@
rumpkernel (0~20211031-2) UNRELEASED; urgency=medium
* debian/rules: Set BSDOBJDIR to $(CURDIR)/obj.
+ * debian/patches/idtype_t.diff: Fix build with glibc 2.36 that doesn't get
+ idtype_t magically defined.
-- Samuel Thibault <sthibault@debian.org> Thu, 17 Feb 2022 00:01:26 +0000
diff --git a/debian/patches/idtype_t.diff b/debian/patches/idtype_t.diff
new file mode 100644
index 00000000..102ecfb7
--- /dev/null
+++ b/debian/patches/idtype_t.diff
@@ -0,0 +1,12 @@
+Index: rumpkernel/buildrump.sh/src/sys/rump/include/rump/rump_syscalls_compat.h
+===================================================================
+--- rumpkernel.orig/buildrump.sh/src/sys/rump/include/rump/rump_syscalls_compat.h
++++ rumpkernel/buildrump.sh/src/sys/rump/include/rump/rump_syscalls_compat.h
+@@ -37,6 +37,7 @@
+ #include <sys/types.h> /* typedefs */
+ #include <sys/select.h> /* typedefs */
+ #include <sys/socket.h> /* typedefs */
++#include <sys/wait.h> /* typedefs */
+
+ #include <signal.h> /* typedefs */
+ #endif
diff --git a/debian/patches/series b/debian/patches/series
index f3725e1e..a0ceaa43 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -13,3 +13,4 @@ no-virtio-rump.diff
pci-userspace-rump.diff
rumpuser-evcnt.diff
ps-comm.diff
+idtype_t.diff