File tree Expand file tree Collapse file tree 2 files changed +19
-1
lines changed Expand file tree Collapse file tree 2 files changed +19
-1
lines changed Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change @@ -23,7 +23,10 @@ LICENSE="GPL-3+"
23
23
SLOT=" 0"
24
24
IUSE=" libgit"
25
25
26
- PATCHES=( " ${FILESDIR} " /${P} -inhibit-libgit.patch )
26
+ PATCHES=(
27
+ " ${FILESDIR} " /${P} -inhibit-libgit.patch
28
+ " ${FILESDIR} " /${P} -libgit-unavail.patch
29
+ )
27
30
DOCS=( ../README.md ../Documentation/AUTHORS.md ../Documentation/RelNotes )
28
31
ELISP_TEXINFO=" ../Documentation/*.texi"
29
32
SITEFILE=" 50${PN} -gentoo.el"
You can’t perform that action at this time.
0 commit comments