From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1443456-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 241ED158094
	for <garchives@archives.gentoo.org>; Tue,  4 Oct 2022 13:29:14 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 17A71E0929;
	Tue,  4 Oct 2022 13:29:13 +0000 (UTC)
Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id CAD46E0929
	for <gentoo-commits@lists.gentoo.org>; Tue,  4 Oct 2022 13:29:12 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id B788F340F73
	for <gentoo-commits@lists.gentoo.org>; Tue,  4 Oct 2022 13:29:11 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id F3B0F5D4
	for <gentoo-commits@lists.gentoo.org>; Tue,  4 Oct 2022 13:29:09 +0000 (UTC)
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" <sam@gentoo.org>
Message-ID: <1664889978.319afcf5438ab8eaf1fd6aeaa1db9e985ee29408.sam@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: app-editors/vim/
X-VCS-Repository: repo/gentoo
X-VCS-Files: app-editors/vim/vim-8.2.4586-r1.ebuild app-editors/vim/vim-8.2.4586.ebuild app-editors/vim/vim-8.2.5066-r1.ebuild app-editors/vim/vim-8.2.5066-r2.ebuild app-editors/vim/vim-9.0.0049-r1.ebuild app-editors/vim/vim-9.0.0049.ebuild app-editors/vim/vim-9.0.0099-r1.ebuild app-editors/vim/vim-9.0.0099.ebuild app-editors/vim/vim-9999.ebuild
X-VCS-Directories: app-editors/vim/
X-VCS-Committer: sam
X-VCS-Committer-Name: Sam James
X-VCS-Revision: 319afcf5438ab8eaf1fd6aeaa1db9e985ee29408
X-VCS-Branch: master
Date: Tue,  4 Oct 2022 13:29:09 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 07b6248e-f4cf-4c56-a585-c0318975dac8
X-Archives-Hash: a9adcec995b5906b090de77fd97a9dcb

commit:     319afcf5438ab8eaf1fd6aeaa1db9e985ee29408
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Oct  4 13:18:33 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Oct  4 13:26:18 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=319afcf5

app-editors/vim: fix Lua 5.1 deprecated API implicit. func. decls

Closes: https://bugs.gentoo.org/874690
Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-editors/vim/{vim-8.2.4586.ebuild => vim-8.2.4586-r1.ebuild}    | 4 ++++
 app-editors/vim/{vim-8.2.5066-r1.ebuild => vim-8.2.5066-r2.ebuild} | 4 ++++
 app-editors/vim/{vim-9.0.0049.ebuild => vim-9.0.0049-r1.ebuild}    | 4 ++++
 app-editors/vim/{vim-9.0.0099.ebuild => vim-9.0.0099-r1.ebuild}    | 4 ++++
 app-editors/vim/vim-9999.ebuild                                    | 4 ++++
 5 files changed, 20 insertions(+)

diff --git a/app-editors/vim/vim-8.2.4586.ebuild b/app-editors/vim/vim-8.2.4586-r1.ebuild
similarity index 98%
rename from app-editors/vim/vim-8.2.4586.ebuild
rename to app-editors/vim/vim-8.2.4586-r1.ebuild
index 50bc75d86ded..4f4958311333 100644
--- a/app-editors/vim/vim-8.2.4586.ebuild
+++ b/app-editors/vim/vim-8.2.4586-r1.ebuild
@@ -226,6 +226,10 @@ src_configure() {
 		fi
 
 		if use lua; then
+			# -DLUA_COMPAT_OPENLIB=1 is required to enable the
+			# deprecated (in 5.1) luaL_openlib API (#874690)
+			use lua_single_target_lua5-1 && append-cppflags -DLUA_COMPAT_OPENLIB=1
+
 			myconf+=(
 				--enable-luainterp
 				$(use_with lua_single_target_luajit luajit)

diff --git a/app-editors/vim/vim-8.2.5066-r1.ebuild b/app-editors/vim/vim-8.2.5066-r2.ebuild
similarity index 98%
rename from app-editors/vim/vim-8.2.5066-r1.ebuild
rename to app-editors/vim/vim-8.2.5066-r2.ebuild
index bcec32097911..0d33a966a9b4 100644
--- a/app-editors/vim/vim-8.2.5066-r1.ebuild
+++ b/app-editors/vim/vim-8.2.5066-r2.ebuild
@@ -226,6 +226,10 @@ src_configure() {
 		fi
 
 		if use lua; then
+			# -DLUA_COMPAT_OPENLIB=1 is required to enable the
+			# deprecated (in 5.1) luaL_openlib API (#874690)
+			use lua_single_target_lua5-1 && append-cppflags -DLUA_COMPAT_OPENLIB=1
+
 			myconf+=(
 				--enable-luainterp
 				$(use_with lua_single_target_luajit luajit)

diff --git a/app-editors/vim/vim-9.0.0049.ebuild b/app-editors/vim/vim-9.0.0049-r1.ebuild
similarity index 98%
rename from app-editors/vim/vim-9.0.0049.ebuild
rename to app-editors/vim/vim-9.0.0049-r1.ebuild
index 9bd88fc46ed9..81c24b888fdf 100644
--- a/app-editors/vim/vim-9.0.0049.ebuild
+++ b/app-editors/vim/vim-9.0.0049-r1.ebuild
@@ -224,6 +224,10 @@ src_configure() {
 		fi
 
 		if use lua; then
+			# -DLUA_COMPAT_OPENLIB=1 is required to enable the
+			# deprecated (in 5.1) luaL_openlib API (#874690)
+			use lua_single_target_lua5-1 && append-cppflags -DLUA_COMPAT_OPENLIB=1
+
 			myconf+=(
 				--enable-luainterp
 				$(use_with lua_single_target_luajit luajit)

diff --git a/app-editors/vim/vim-9.0.0099.ebuild b/app-editors/vim/vim-9.0.0099-r1.ebuild
similarity index 98%
rename from app-editors/vim/vim-9.0.0099.ebuild
rename to app-editors/vim/vim-9.0.0099-r1.ebuild
index ac5d29c84a4c..7b427e86607f 100644
--- a/app-editors/vim/vim-9.0.0099.ebuild
+++ b/app-editors/vim/vim-9.0.0099-r1.ebuild
@@ -225,6 +225,10 @@ src_configure() {
 		fi
 
 		if use lua; then
+			# -DLUA_COMPAT_OPENLIB=1 is required to enable the
+			# deprecated (in 5.1) luaL_openlib API (#874690)
+			use lua_single_target_lua5-1 && append-cppflags -DLUA_COMPAT_OPENLIB=1
+
 			myconf+=(
 				--enable-luainterp
 				$(use_with lua_single_target_luajit luajit)

diff --git a/app-editors/vim/vim-9999.ebuild b/app-editors/vim/vim-9999.ebuild
index cf0e1d36f09c..cfbe30fe984c 100644
--- a/app-editors/vim/vim-9999.ebuild
+++ b/app-editors/vim/vim-9999.ebuild
@@ -224,6 +224,10 @@ src_configure() {
 		fi
 
 		if use lua; then
+			# -DLUA_COMPAT_OPENLIB=1 is required to enable the
+			# deprecated (in 5.1) luaL_openlib API (#874690)
+			use lua_single_target_lua5-1 && append-cppflags -DLUA_COMPAT_OPENLIB=1
+
 			myconf+=(
 				--enable-luainterp
 				$(use_with lua_single_target_luajit luajit)