commit: d8bae42d8cf9479b1394c3deeeea3d03c124d298 Author: Zac Medico <zmedico <AT> gentoo <DOT> org> AuthorDate: Thu Nov 2 01:59:18 2023 +0000 Commit: Zac Medico <zmedico <AT> gentoo <DOT> org> CommitDate: Thu Nov 2 02:00:04 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d8bae42d
dev-util/editorconfig-geany: Fix build with geany-2.0 Closes: https://bugs.gentoo.org/916671 Signed-off-by: Zac Medico <zmedico <AT> gentoo.org> dev-util/editorconfig-geany/editorconfig-geany-0.2.ebuild | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/dev-util/editorconfig-geany/editorconfig-geany-0.2.ebuild b/dev-util/editorconfig-geany/editorconfig-geany-0.2.ebuild index 2c9be9381e6e..3ec785445ba2 100644 --- a/dev-util/editorconfig-geany/editorconfig-geany-0.2.ebuild +++ b/dev-util/editorconfig-geany/editorconfig-geany-0.2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -29,6 +29,15 @@ src_prepare() { -e "s|^\\(LDFLAGS =.*\\)|\\1 ${LDFLAGS}|" \ -e "s|\`pkg-config[^\`]*\`||" \ -i Makefile || die + + # https://github.com/editorconfig/editorconfig-geany/pull/15 + cat << "EOF" > "${T}/GeanyFunctions.patch" || die +--- a/editorconfig-geany.c ++++ b/editorconfig-geany.c +@@ -33 +32,0 @@ +-GeanyFunctions* geany_functions; +EOF + eapply -p1 "${T}/GeanyFunctions.patch" } src_install() {