diff options
author | Conrad Kostecki <conikost@gentoo.org> | 2022-03-19 19:22:53 +0100 |
---|---|---|
committer | Conrad Kostecki <conikost@gentoo.org> | 2022-03-19 19:24:13 +0100 |
commit | 3ae05a97f679f2c6258acdc5fcf1ea21fd8ab6af (patch) | |
tree | 61f8bfc2ea4148aa5d81cf46741017ca48338f9b /dev-lua | |
parent | net-im/prosody-modules: drop 0_pre20211027 (diff) | |
download | gentoo-3ae05a97f679f2c6258acdc5fcf1ea21fd8ab6af.tar.gz gentoo-3ae05a97f679f2c6258acdc5fcf1ea21fd8ab6af.tar.bz2 gentoo-3ae05a97f679f2c6258acdc5fcf1ea21fd8ab6af.zip |
dev-lua/lualdap: fix lua5-4 support
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'dev-lua')
-rw-r--r-- | dev-lua/lualdap/files/lualdap-1.3.0-lua5-4.patch | 23 | ||||
-rw-r--r-- | dev-lua/lualdap/lualdap-1.3.0-r1.ebuild | 1 |
2 files changed, 24 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 diff --git a/dev-lua/lualdap/lualdap-1.3.0-r1.ebuild b/dev-lua/lualdap/lualdap-1.3.0-r1.ebuild index a1603fbafb82..f19c6eb05579 100644 --- a/dev-lua/lualdap/lualdap-1.3.0-r1.ebuild +++ b/dev-lua/lualdap/lualdap-1.3.0-r1.ebuild @@ -29,6 +29,7 @@ BDEPEND=" " HTML_DOCS=( "docs/." ) +PATCHES=( "${FILESDIR}/${PN}-1.3.0-lua5-4.patch" ) src_prepare() { default |