summaryrefslogtreecommitdiff
path: root/net-analyzer/authforce/files/authforce-0.9.9-Include-stdlib.h-for-free.patch
diff options
context:
space:
mode:
Diffstat (limited to 'net-analyzer/authforce/files/authforce-0.9.9-Include-stdlib.h-for-free.patch')
-rw-r--r--net-analyzer/authforce/files/authforce-0.9.9-Include-stdlib.h-for-free.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/net-analyzer/authforce/files/authforce-0.9.9-Include-stdlib.h-for-free.patch b/net-analyzer/authforce/files/authforce-0.9.9-Include-stdlib.h-for-free.patch
new file mode 100644
index 000000000000..fec77215435c
--- /dev/null
+++ b/net-analyzer/authforce/files/authforce-0.9.9-Include-stdlib.h-for-free.patch
@@ -0,0 +1,16 @@
+From e5e62f92c53f5f8cca9380ad3225c84be5eec04f Mon Sep 17 00:00:00 2001
+From: Sam James <sam@gentoo.org>
+Date: Wed, 19 Oct 2022 03:33:51 +0100
+Subject: [PATCH] Include <stdlib.h> for free()
+
+Bug: https://bugs.gentoo.org/871222
+--- a/src/debug.c
++++ b/src/debug.c
+@@ -3,6 +3,7 @@
+ #include <config.h>
+ #include <stdio.h>
+ #include <stdarg.h>
++#include <stdlib.h>
+ #ifdef MEMWATCH
+ #include "memwatch.h"
+ #endif /* MEMWATCH*/