summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/util-linux/util-linux/no_getrandom.patch
blob: b9fa1cace46dd1c9fd05978b5ed342c283bccc8d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
getrandom() is only available in glibc 2.25+ and uninative may relocate 
binaries onto systems that don't have this function. For now, force the 
code to the older codepath until we can come up with a better solution 
for this kind of issue.

Upstream-Status: Inappropriate
RP
2016/8/15

Index: util-linux-2.30/configure.ac
===================================================================
--- util-linux-2.30.orig/configure.ac
+++ util-linux-2.30/configure.ac
@@ -399,7 +399,6 @@ AC_CHECK_FUNCS([ \
 	getdtablesize \
 	getexecname \
 	getmntinfo \
-	getrandom \
 	getrlimit \
 	getsgnam \
 	inotify_init \