summaryrefslogtreecommitdiff
path: root/dev-lua/lualdap/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-03-20 00:40:44 +0000
committerV3n3RiX <venerix@koprulu.sector>2022-03-20 00:40:44 +0000
commit4cbcc855382a06088e2f016f62cafdbcb7e40665 (patch)
tree356496503d52354aa6d9f2d36126302fed5f3a73 /dev-lua/lualdap/files
parentfcc5224904648a8e6eb528d7603154160a20022f (diff)
gentoo resync : 20.03.2022
Diffstat (limited to 'dev-lua/lualdap/files')
-rw-r--r--dev-lua/lualdap/files/lualdap-1.3.0-lua5-4.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/dev-lua/lualdap/files/lualdap-1.3.0-lua5-4.patch b/dev-lua/lualdap/files/lualdap-1.3.0-lua5-4.patch
new file mode 100644
index 000000000000..9e85d9ff87c7
--- /dev/null
+++ b/dev-lua/lualdap/files/lualdap-1.3.0-lua5-4.patch
@@ -0,0 +1,23 @@
+From d5fa475189d708f6e43d2aabac66424a6724bb39 Mon Sep 17 00:00:00 2001
+From: Conrad Kostecki <conikost@gentoo.org>
+Date: Sat, 19 Mar 2022 19:20:48 +0100
+Subject: [PATCH] src/lualdap.c: fix lua5-4 support
+
+Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
+---
+ src/lualdap.c | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/src/lualdap.c b/src/lualdap.c
+index 2ad0e6d..1ced88b 100644
+--- a/src/lualdap.c
++++ b/src/lualdap.c
+@@ -3,6 +3,8 @@
+ ** See Copyright Notice in license.md
+ */
+
++#define _GNU_SOURCE
++
+ #include <string.h>
+
+ #ifdef WIN32