[gnome-continuous] Fix the getrandom() patch for Mutter



commit 5276aee2eb2144dc24e6c63a03ab71f647271a8e
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Tue Jun 25 01:01:41 2019 +0100

    Fix the getrandom() patch for Mutter

 patches/mutter-getrandom.patch | 18 ++++++++++++++++--
 1 file changed, 16 insertions(+), 2 deletions(-)
---
diff --git a/patches/mutter-getrandom.patch b/patches/mutter-getrandom.patch
index f14fc9d..0497778 100644
--- a/patches/mutter-getrandom.patch
+++ b/patches/mutter-getrandom.patch
@@ -1,14 +1,28 @@
-From 72231d65c1a7552e1e9b8529fa956dc6282eb9d6 Mon Sep 17 00:00:00 2001
+From 73f75d6500ca8953c3f154af741bc4d9699c35c3 Mon Sep 17 00:00:00 2001
 From: Emmanuele Bassi <ebassi gnome org>
 Date: Tue, 25 Jun 2019 00:29:51 +0100
 Subject: [PATCH] Add syscall fallback for getrandom()
 
 When using linux/random.h, we need to use the syscall() interface.
 ---
+ config.h.meson              |  4 ++--
  meson.build                 |  4 ++--
  src/wayland/meta-xwayland.c | 12 +++++++++++-
- 2 files changed, 13 insertions(+), 3 deletions(-)
+ 3 files changed, 15 insertions(+), 5 deletions(-)
 
+diff --git a/config.h.meson b/config.h.meson
+index 77045319c..7cb66ef07 100644
+--- a/config.h.meson
++++ b/config.h.meson
+@@ -61,6 +61,6 @@
+ /* XKB base prefix */
+ #mesondefine XKB_BASE
+ 
+-/* Either <sys/random.h> or <linux/random.h> */
++/* We either have getrandom() in sys/random.h, or we have to use syscall() */
+ #mesondefine HAVE_SYS_RANDOM
+-#mesondefine HAVE_LINUX_RANDOM
++#mesondefine HAVE_GETRANDOM_SYSCALL
 diff --git a/meson.build b/meson.build
 index d01b42c19..46231f03d 100644
 --- a/meson.build


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]