summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/util-linux/util-linux/no_getrandom.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-core/util-linux/util-linux/no_getrandom.patch')
-rw-r--r--meta/recipes-core/util-linux/util-linux/no_getrandom.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/meta/recipes-core/util-linux/util-linux/no_getrandom.patch b/meta/recipes-core/util-linux/util-linux/no_getrandom.patch
new file mode 100644
index 0000000000..b9fa1cace4
--- /dev/null
+++ b/meta/recipes-core/util-linux/util-linux/no_getrandom.patch
@@ -0,0 +1,21 @@
1getrandom() is only available in glibc 2.25+ and uninative may relocate
2binaries onto systems that don't have this function. For now, force the
3code to the older codepath until we can come up with a better solution
4for this kind of issue.
5
6Upstream-Status: Inappropriate
7RP
82016/8/15
9
10Index: util-linux-2.30/configure.ac
11===================================================================
12--- util-linux-2.30.orig/configure.ac
13+++ util-linux-2.30/configure.ac
14@@ -399,7 +399,6 @@ AC_CHECK_FUNCS([ \
15 getdtablesize \
16 getexecname \
17 getmntinfo \
18- getrandom \
19 getrlimit \
20 getsgnam \
21 inotify_init \