Bump buildroot to 2019.02
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
From 5b49ec03b165b8d7c69e196bf1c2780274fbe1ee Mon Sep 17 00:00:00 2001
|
||||
From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
||||
Date: Sun, 20 May 2018 15:47:33 +0200
|
||||
Subject: [PATCH] Fix getrandom call in magic.c
|
||||
|
||||
_GNU_SOURCE must be defined before any includes to be able to use
|
||||
getrandom
|
||||
|
||||
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
||||
|
||||
[Upstream status: https://github.com/jeroennijhof/pam_tacplus/pull/118]
|
||||
---
|
||||
libtac/lib/magic.c | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/libtac/lib/magic.c b/libtac/lib/magic.c
|
||||
index 97aa035..a9cbe86 100644
|
||||
--- a/libtac/lib/magic.c
|
||||
+++ b/libtac/lib/magic.c
|
||||
@@ -18,6 +18,7 @@
|
||||
* See `CHANGES' file for revision history.
|
||||
*/
|
||||
|
||||
+#define _GNU_SOURCE
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <sys/types.h>
|
||||
--
|
||||
2.14.1
|
||||
|
||||
Reference in New Issue
Block a user