diff options
Diffstat (limited to 'meta/recipes-core/systemd/systemd/0001-meson-update-header-file-to-detect-memfd_create.patch')
-rw-r--r-- | meta/recipes-core/systemd/systemd/0001-meson-update-header-file-to-detect-memfd_create.patch | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/meta/recipes-core/systemd/systemd/0001-meson-update-header-file-to-detect-memfd_create.patch b/meta/recipes-core/systemd/systemd/0001-meson-update-header-file-to-detect-memfd_create.patch deleted file mode 100644 index c6431209d0..0000000000 --- a/meta/recipes-core/systemd/systemd/0001-meson-update-header-file-to-detect-memfd_create.patch +++ /dev/null @@ -1,28 +0,0 @@ -From 2207e1ffe4f7e2dcc5e745dadb48738aa1048d63 Mon Sep 17 00:00:00 2001 -From: Yu Watanabe <watanabe.yu+github@gmail.com> -Date: Sun, 26 Nov 2017 02:17:06 +0900 -Subject: [PATCH 1/3] meson: update header file to detect memfd_create() - ---- -Upstream-Status: Backport - - meson.build | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -diff --git a/meson.build b/meson.build -index 20b27c860..550dd4ad8 100644 ---- a/meson.build -+++ b/meson.build -@@ -414,7 +414,8 @@ foreach ident : ['secure_getenv', '__secure_getenv'] - endforeach - - foreach ident : [ -- ['memfd_create', '''#include <sys/memfd.h>'''], -+ ['memfd_create', '''#define _GNU_SOURCE -+ #include <sys/mman.h>'''], - ['gettid', '''#include <sys/types.h>'''], - ['pivot_root', '''#include <stdlib.h>'''], # no known header declares pivot_root - ['name_to_handle_at', '''#define _GNU_SOURCE --- -2.16.1 - |