Skip to content

Commit 2a3b51e

Browse files
committed
app-emacs/magit: Suppress warning message about missing magit-libgit
Bug: https://bugs.gentoo.org/910593 Signed-off-by: Ulrich Müller <[email protected]>
1 parent b21cfa9 commit 2a3b51e

File tree

2 files changed

+19
-1
lines changed

2 files changed

+19
-1
lines changed
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
Suppress warning message about missing magit-libgit
2+
https://bugs.gentoo.org/910593
3+
4+
--- lisp/magit-core.el
5+
+++ lisp/magit-core.el
6+
@@ -41,7 +41,8 @@
7+
(require 'magit-transient)
8+
(require 'magit-autorevert)
9+
10+
-(when (magit--libgit-available-p)
11+
+(when (and (not magit-inhibit-libgit)
12+
+ (magit--libgit-available-p))
13+
(condition-case err
14+
(require 'magit-libgit)
15+
(error

app-emacs/magit/magit-3.3.0-r3.ebuild renamed to app-emacs/magit/magit-3.3.0-r4.ebuild

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,10 @@ LICENSE="GPL-3+"
2323
SLOT="0"
2424
IUSE="libgit"
2525

26-
PATCHES=( "${FILESDIR}"/${P}-inhibit-libgit.patch )
26+
PATCHES=(
27+
"${FILESDIR}"/${P}-inhibit-libgit.patch
28+
"${FILESDIR}"/${P}-libgit-unavail.patch
29+
)
2730
DOCS=( ../README.md ../Documentation/AUTHORS.md ../Documentation/RelNotes )
2831
ELISP_TEXINFO="../Documentation/*.texi"
2932
SITEFILE="50${PN}-gentoo.el"

0 commit comments

Comments
 (0)