From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 9A33B158094 for ; Mon, 26 Sep 2022 15:43:51 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BD965E0D88; Mon, 26 Sep 2022 15:43:50 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 A5995E0D88 for ; Mon, 26 Sep 2022 15:43:50 +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 A3DDF34110C for ; Mon, 26 Sep 2022 15:43:49 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 009075DD for ; Mon, 26 Sep 2022 15:43:48 +0000 (UTC) From: "David Seifert" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "David Seifert" Message-ID: <1664207015.9b1436c7434d763f06dda60229747997664fb5c5.soap@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: games-arcade/epiar/ X-VCS-Repository: repo/gentoo X-VCS-Files: games-arcade/epiar/epiar-0.5.1-r1.ebuild X-VCS-Directories: games-arcade/epiar/ X-VCS-Committer: soap X-VCS-Committer-Name: David Seifert X-VCS-Revision: 9b1436c7434d763f06dda60229747997664fb5c5 X-VCS-Branch: master Date: Mon, 26 Sep 2022 15:43:48 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 587e2a4b-e8f7-4cfa-b2d1-041cc456120b X-Archives-Hash: bc52d388d562e58d704741495b22ffba commit: 9b1436c7434d763f06dda60229747997664fb5c5 Author: David Seifert gentoo org> AuthorDate: Mon Sep 26 15:43:35 2022 +0000 Commit: David Seifert gentoo org> CommitDate: Mon Sep 26 15:43:35 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b1436c7 games-arcade/epiar: request deprecated lua-5.1 API Closes: https://bugs.gentoo.org/872803 Signed-off-by: David Seifert gentoo.org> games-arcade/epiar/epiar-0.5.1-r1.ebuild | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/games-arcade/epiar/epiar-0.5.1-r1.ebuild b/games-arcade/epiar/epiar-0.5.1-r1.ebuild index ba4c0b862a2c..994a9dc22a21 100644 --- a/games-arcade/epiar/epiar-0.5.1-r1.ebuild +++ b/games-arcade/epiar/epiar-0.5.1-r1.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 LUA_COMPAT=( lua5-1 ) -inherit autotools lua-single +inherit autotools flag-o-matic lua-single DESCRIPTION="Space adventure/combat game" HOMEPAGE="https://epiar.net/" @@ -41,6 +41,14 @@ src_prepare() { eautoreconf } +src_configure() { + # -DLUA_COMPAT_OPENLIB=1 is required to enable the + # deprecated (in 5.1) luaL_openlib API (#872803) + append-cppflags -DLUA_COMPAT_OPENLIB=1 + + default +} + src_install() { default