mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 17:09:10 -07:00
x11-misc/rofi: Fixed build with ~sys-devel/autoconf-2.70
Closes: https://bugs.gentoo.org/749864 Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
This commit is contained in:
30
x11-misc/rofi/files/rofi-1.6.1-autoconf-2.70.patch
Normal file
30
x11-misc/rofi/files/rofi-1.6.1-autoconf-2.70.patch
Normal file
@@ -0,0 +1,30 @@
|
||||
From 7e426c597539c1b6f33c34300b84d2074f94c9b6 Mon Sep 17 00:00:00 2001
|
||||
From: Lars Wendler <polynomial-c@gentoo.org>
|
||||
Date: Mon, 4 Jan 2021 22:27:37 +0100
|
||||
Subject: [PATCH] configure.ac: Remove argument from AC_PROG_LEX
|
||||
|
||||
autoconf-2.70 only accepts "yywrap" and "noyywrap" as arguments to
|
||||
AC_PROG_LEX. Calling it with no arguments will trigger the old behavior
|
||||
from autoconf-2.69.
|
||||
|
||||
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
|
||||
---
|
||||
configure.ac | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index e0968b65..03dc1d2f 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -7,7 +7,7 @@ AH_BOTTOM([#include "gitconfig.h"])
|
||||
dnl ---------------------------------------------------------------------
|
||||
dnl Lex & Bison language parser.
|
||||
dnl ---------------------------------------------------------------------
|
||||
-AC_PROG_LEX([flex])
|
||||
+AC_PROG_LEX
|
||||
AC_PROG_YACC
|
||||
|
||||
|
||||
--
|
||||
2.30.0
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
@@ -41,19 +41,21 @@ DEPEND="
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-0.15.12-Werror.patch
|
||||
"${FILESDIR}"/${PN}-1.5.0-gtk-settings-test.patch
|
||||
"${FILESDIR}"/${PN}-1.6.1-autoconf-2.70.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
tc-export CC
|
||||
|
||||
econf \
|
||||
$(use_enable drun) \
|
||||
$(use_enable test check) \
|
||||
local myeconfargs=(
|
||||
$(use_enable drun)
|
||||
$(use_enable test check)
|
||||
$(use_enable windowmode)
|
||||
)
|
||||
econf "${myeconfargs[@]}"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user