summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2023-10-05 09:03:30 +0200
committerUlrich Müller <ulm@gentoo.org>2023-10-05 09:20:29 +0200
commit6457a77c02ec1246577c9d93597b6272266ba52e (patch)
treedcfc9f738f8dc637b6c82a9249bc2302de55a77b /app-emacs/ess
parentmedia-libs/mutagen: dropped obsolete 1.46.0 (diff)
downloadgentoo-6457a77c02ec1246577c9d93597b6272266ba52e.tar.gz
gentoo-6457a77c02ec1246577c9d93597b6272266ba52e.tar.bz2
gentoo-6457a77c02ec1246577c9d93597b6272266ba52e.zip
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@gentoo.org>
Diffstat (limited to 'app-emacs/ess')
-rw-r--r--app-emacs/ess/ess-18.10.2-r2.ebuild (renamed from app-emacs/ess/ess-18.10.2-r1.ebuild)8
1 files changed, 7 insertions, 1 deletions
diff --git a/app-emacs/ess/ess-18.10.2-r1.ebuild b/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
}