summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2022-04-05 11:45:52 +0200
committerUlrich Müller <ulm@gentoo.org>2022-04-05 11:45:52 +0200
commit9ab22a488f8f35641026caaa34b407822c32c293 (patch)
tree3a8f239548978ac599f6d59213a48b5792cc7e63
parentprofiles/package.mask: Last-rite net-misc/jrdesktop (diff)
downloadgentoo-9ab22a488f8f35641026caaa34b407822c32c293.tar.gz
gentoo-9ab22a488f8f35641026caaa34b407822c32c293.tar.bz2
gentoo-9ab22a488f8f35641026caaa34b407822c32c293.zip
app-emacs/remember: Fix byte-compilation with Emacs 28
Closes: https://bugs.gentoo.org/836772 Signed-off-by: Ulrich Müller <ulm@gentoo.org>
-rw-r--r--app-emacs/remember/files/remember-2.0-emacs-28.patch13
-rw-r--r--app-emacs/remember/remember-2.0-r1.ebuild7
2 files changed, 18 insertions, 2 deletions
diff --git a/app-emacs/remember/files/remember-2.0-emacs-28.patch b/app-emacs/remember/files/remember-2.0-emacs-28.patch
new file mode 100644
index 000000000000..16ebe30e2cd7
--- /dev/null
+++ b/app-emacs/remember/files/remember-2.0-emacs-28.patch
@@ -0,0 +1,13 @@
+https://bugs.gentoo.org/836772
+
+--- remember-2.0/remember.el
++++ remember-2.0/remember.el
+@@ -462,7 +462,7 @@
+
+ ;; Org needs this
+ (if (fboundp 'define-obsolete-function-alias)
+- (define-obsolete-function-alias 'remember-buffer 'remember-finalize)
++ (define-obsolete-function-alias 'remember-buffer 'remember-finalize "")
+ (defalias 'remember-buffer 'remember-finalize))
+
+ (defun remember-destroy ()
diff --git a/app-emacs/remember/remember-2.0-r1.ebuild b/app-emacs/remember/remember-2.0-r1.ebuild
index 3b709e07e6cd..7ab0145e2f17 100644
--- a/app-emacs/remember/remember-2.0-r1.ebuild
+++ b/app-emacs/remember/remember-2.0-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -21,7 +21,10 @@ RDEPEND="bbdb? ( app-emacs/bbdb )
BDEPEND="${RDEPEND}
sys-apps/texinfo"
-ELISP_PATCHES="${PN}-1.9-make-elc.patch"
+PATCHES=(
+ "${FILESDIR}"/${PN}-1.9-make-elc.patch
+ "${FILESDIR}"/${P}-emacs-28.patch
+)
SITEFILE="50${PN}-gentoo.el"
ELISP_TEXINFO="remember.texi remember-extra.texi"
DOCS="ChangeLog* NEWS"