![Fabrice Fontaine](/assets/img/avatar_default.png)
- Remove LIBPAM_TACPLUS_AUTORECONF_OPTS as m4 directory doesn't exist anymore - Add patch to fix getrandom call (sent upstream) - Add hash for license file Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
31 lines
784 B
Diff
31 lines
784 B
Diff
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
|
|
|