app-emacs/magit: nonfatal if failing to load libgit

Bug: https://bugs.gentoo.org/910381
Closes: https://bugs.gentoo.org/910402
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
This commit is contained in:
Maciej Barć
2023-07-15 20:40:00 +02:00
parent 0f91928383
commit f2e7a10d5a
3 changed files with 15 additions and 0 deletions
@@ -0,0 +1,11 @@
--- a/magit-libgit.el
+++ b/magit-libgit.el
@@ -51,7 +51,7 @@
(require 'magit-git)
-(require 'libgit)
+(require 'libgit nil t)
;;; Utilities
+2
View File
@@ -22,6 +22,8 @@ S="${S}/lisp"
LICENSE="GPL-3+"
SLOT="0"
PATCHES=( "${FILESDIR}"/${PN}-3.3.0-magit-libgit.patch )
DOCS=( ../README.md ../Documentation/AUTHORS.md ../Documentation/RelNotes )
ELISP_TEXINFO="../Documentation/*.texi"
SITEFILE="50${PN}-gentoo.el"
+2
View File
@@ -22,6 +22,8 @@ S="${S}/lisp"
LICENSE="GPL-3+"
SLOT="0"
PATCHES=( "${FILESDIR}"/${PN}-3.3.0-magit-libgit.patch )
DOCS=( ../README.md ../docs/AUTHORS.md ../docs/RelNotes )
ELISP_TEXINFO="../docs/*.texi"
SITEFILE="50${PN}-gentoo.el"