commit:     6457a77c02ec1246577c9d93597b6272266ba52e
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Thu Oct  5 07:03:30 2023 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Thu Oct  5 07:20:29 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6457a77c

app-emacs/ess: Replace references to font-lock-reference-face

Variable font-lock-reference-face was renamed to font-lock-constant-face
and is obsolete since 1998 (Emacs 20.3):
https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=8acf2292d9a7f7fc0f326a6186423d087f5a7f30

The alias was finally removed in 2022 (Emacs 29.1):
https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=107f832577123ea7ebe867cba55601d0142f546f

Closes: https://bugs.gentoo.org/915145
Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>

 app-emacs/ess/{ess-18.10.2-r1.ebuild => ess-18.10.2-r2.ebuild} | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/app-emacs/ess/ess-18.10.2-r1.ebuild 
b/app-emacs/ess/ess-18.10.2-r2.ebuild
similarity index 88%
rename from app-emacs/ess/ess-18.10.2-r1.ebuild
rename to app-emacs/ess/ess-18.10.2-r2.ebuild
index 9b0ee42f87c9..85918a415110 100644
--- a/app-emacs/ess/ess-18.10.2-r1.ebuild
+++ b/app-emacs/ess/ess-18.10.2-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -20,6 +20,12 @@ BDEPEND="app-text/texi2html
 PATCHES=( "${FILESDIR}"/${P}-emacs-28.patch )
 SITEFILE="50${PN}-gentoo.el"
 
+src_prepare() {
+       default
+       sed -i -e 's/font-lock-reference-face/font-lock-constant-face/g' \
+               lisp/*.el || die
+}
+
 src_compile() {
        default
 }

Reply via email to