summaryrefslogtreecommitdiff
path: root/dev-lua/lualdap
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
parentfcc5224904648a8e6eb528d7603154160a20022f (diff)
gentoo resync : 20.03.2022
Diffstat (limited to 'dev-lua/lualdap')
-rw-r--r--dev-lua/lualdap/Manifest3
-rw-r--r--dev-lua/lualdap/files/lualdap-1.3.0-lua5-4.patch23
-rw-r--r--dev-lua/lualdap/lualdap-1.3.0-r1.ebuild (renamed from dev-lua/lualdap/lualdap-1.3.0.ebuild)7
3 files changed, 29 insertions, 4 deletions
diff --git a/dev-lua/lualdap/Manifest b/dev-lua/lualdap/Manifest
index 0a1e4dc8907c..f674e1eb8acc 100644
--- a/dev-lua/lualdap/Manifest
+++ b/dev-lua/lualdap/Manifest
@@ -1,3 +1,4 @@
+AUX lualdap-1.3.0-lua5-4.patch 552 BLAKE2B d685838d05b9c2e4354abf436837940725f80fd8d81d806a383c0975bfb67ff8b679bd668bfbc524129a4e62cb0f4b5f77e070b1afeec85809a6533114fb1442 SHA512 fb1f7eea88afae2e854f0cabf115739ab4900247483f9d1d8f15f0c5dcaa85ee2c6e16414bce300450b1531a5c76516f8260000c54707d85547236a7185d65e8
DIST lualdap-1.3.0.tar.gz 81987 BLAKE2B cd25cada91a3c330fb72ee1106298442c64b1bcae4a57f48937efb4311f70b53c5a0e96587caab4b1950b16d9957bb8c25b2b9e0d3753089f06fbae64180ff04 SHA512 dea4282928c5138a327cd97d3d8049341fac17b5e853440f5b0a6e115e3400bac908f24827d48e36bfe81720c7d2bacdc50ae189953ecbcdfb27cb23b78d0de8
-EBUILD lualdap-1.3.0.ebuild 1496 BLAKE2B ac0eeb815d49547c7069f8ff6dcb6cd22376517b15db174ccb2228b3fc706481ec8ab1bb92af3a6b43b1c0d8945055fded327dac1411783d0f1191ba423a72b7 SHA512 29695b71929e1c3cb960971b1c618cc6c3f91613e97db3c0ebabeeabcd18a3ccc62503f3a456d7b3a9f88fc9a754f70d55325b61f694ac0e060be3db26f2b8f1
+EBUILD lualdap-1.3.0-r1.ebuild 1559 BLAKE2B 179c8c48848d637bf8546ef68128e683eb4e6b711b823a710782c102da3b28a2f7b188324393dc3fabd09a567746e457891c6ba60f793110b4c7cf4f89a35d5f SHA512 b1dc07936b3cdb529f8102f89eb585a09fed83a0603ddeff878d7bb81122b1d4fb6b86e281f1835c5ec017929f7853425bc23f08225944ab543bd482601b4d73
MISC metadata.xml 442 BLAKE2B 7e232b04c35cca3befb630d268e162bc7bb095f9802d6aa01b15a78f0ac276d8de41cb02e1f6a94f16f79d7afcbd99bce981ff3f6e04459b71a846378e4d2911 SHA512 c94b931cf34eabb0efc127029419aafa87491a3453ccf3f0045e19b8d23893b9192bbdc22eaf654d2250955f0dd90a217b7118e89664b2572258044ad40e265e
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.ebuild b/dev-lua/lualdap/lualdap-1.3.0-r1.ebuild
index adb9a117f3a7..f19c6eb05579 100644
--- a/dev-lua/lualdap/lualdap-1.3.0.ebuild
+++ b/dev-lua/lualdap/lualdap-1.3.0-r1.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
LUA_COMPAT=( lua5-{1..4} luajit )
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/lualdap/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
-KEYWORDS="~amd64 ~hppa ~ia64 ~sparc ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~sparc ~x86"
IUSE="test"
REQUIRED_USE="${LUA_REQUIRED_USE}"
RESTRICT="test"
@@ -29,6 +29,7 @@ BDEPEND="
"
HTML_DOCS=( "docs/." )
+PATCHES=( "${FILESDIR}/${PN}-1.3.0-lua5-4.patch" )
src_prepare() {
default