[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Minios-devel] [UNIKRAFT/LIBUCONTEXT PATCH 3/4] Add patch to build libucontext
Current patch changes one header file that is included from makecontext.c Signed-off-by: Charalampos Mainas <Charalampos.Mainas@xxxxxxxxx> --- patches/0001-Add-ucontext-header-file.patch | 30 +++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 patches/0001-Add-ucontext-header-file.patch diff --git a/patches/0001-Add-ucontext-header-file.patch b/patches/0001-Add-ucontext-header-file.patch new file mode 100644 index 0000000..b09684a --- /dev/null +++ b/patches/0001-Add-ucontext-header-file.patch @@ -0,0 +1,30 @@ +From bbcaae992f53d8648abab5254e81bdf30640911c Mon Sep 17 00:00:00 2001 +From: Charalampos Mainas <Charalampos.Mainas@xxxxxxxxx> +Date: Wed, 29 May 2019 11:34:03 +0200 +Subject: [PATCH] Add ucontext header file + +On musl ucontext.h header file is included by signal.h header file, but +newlib's signal.h does not include ucontext.h. + +Signed-off-by: Charalampos Mainas <Charalampos.Mainas@xxxxxxxxx> + +--- + arch/x86_64/makecontext.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/arch/x86_64/makecontext.c b/arch/x86_64/makecontext.c +index ba6ca59..e272008 100644 +--- a/arch/x86_64/makecontext.c ++++ b/arch/x86_64/makecontext.c +@@ -13,7 +13,7 @@ + #define _GNU_SOURCE + #include <stddef.h> + #include <stdarg.h> +-#include <signal.h> ++#include <ucontext.h> + #include <string.h> + #include <stdint.h> + +-- +2.17.1 + -- 2.17.1 _______________________________________________ Minios-devel mailing list Minios-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/minios-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |