commit: 076765e13d21be20b3e00bf60b7a9759f959bc8c Author: Ulrich Müller <ulm <AT> gentoo <DOT> org> AuthorDate: Tue Oct 17 05:23:20 2023 +0000 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org> CommitDate: Tue Oct 17 05:33:16 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=076765e1
app-emacs/uboat: Fix a byte-compile warning Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org> app-emacs/uboat/files/uboat-1.2-iap.patch | 11 +++++++++++ app-emacs/uboat/uboat-1.2-r1.ebuild | 18 ++++++++++++++++++ 2 files changed, 29 insertions(+) diff --git a/app-emacs/uboat/files/uboat-1.2-iap.patch b/app-emacs/uboat/files/uboat-1.2-iap.patch new file mode 100644 index 000000000000..585b385a42e3 --- /dev/null +++ b/app-emacs/uboat/files/uboat-1.2-iap.patch @@ -0,0 +1,11 @@ +--- uboat-1.2/uboat.el ++++ uboat-1.2/uboat.el +@@ -79,7 +79,7 @@ + (let ((s (concat (uboat-iterate-list (uboat-random-member uboat-message) + "uboat-") + " U-" (int-to-string (random 999)) "."))) +- (and (interactive-p) ++ (and (called-interactively-p 'interactive) + (message "%s" s)) + s)) + diff --git a/app-emacs/uboat/uboat-1.2-r1.ebuild b/app-emacs/uboat/uboat-1.2-r1.ebuild new file mode 100644 index 000000000000..c440e10ac069 --- /dev/null +++ b/app-emacs/uboat/uboat-1.2-r1.ebuild @@ -0,0 +1,18 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit elisp + +DESCRIPTION="Generate u-boat-death messages, patterned after Iron Coffins" +HOMEPAGE="http://www.splode.com/~friedman/software/emacs-lisp/" +SRC_URI="https://dev.gentoo.org/~ulm/distfiles/${P}.tar.bz2" + +# Noah Friedman and Bob Manson have confirmed that this is in the public domain +LICENSE="public-domain" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" + +PATCHES=( "${FILESDIR}/${P}-iap.patch" ) +SITEFILE="50${PN}-gentoo.el"