summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2023-07-15 20:35:22 +0200
committerMaciej Barć <xgqt@gentoo.org>2023-07-15 20:40:00 +0200
commitf2e7a10d5a9bc99c0a67d5878be4ecf4a13bd0a2 (patch)
treed8738f59eeebb6430cac8415ecd88c9fd9dd8ab4 /app-emacs/magit
parentnet-libs/webkit-gtk: Stabilize 2.40.3-r600 ppc, #910064 (diff)
downloadgentoo-f2e7a10d5a9bc99c0a67d5878be4ecf4a13bd0a2.tar.gz
gentoo-f2e7a10d5a9bc99c0a67d5878be4ecf4a13bd0a2.tar.bz2
gentoo-f2e7a10d5a9bc99c0a67d5878be4ecf4a13bd0a2.zip
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>
Diffstat (limited to 'app-emacs/magit')
-rw-r--r--app-emacs/magit/files/magit-3.3.0-magit-libgit.patch11
-rw-r--r--app-emacs/magit/magit-3.3.0-r1.ebuild2
-rw-r--r--app-emacs/magit/magit-9999.ebuild2
3 files changed, 15 insertions, 0 deletions
diff --git a/app-emacs/magit/files/magit-3.3.0-magit-libgit.patch b/app-emacs/magit/files/magit-3.3.0-magit-libgit.patch
new file mode 100644
index 000000000000..f33ac1456198
--- /dev/null
+++ b/app-emacs/magit/files/magit-3.3.0-magit-libgit.patch
@@ -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
+
diff --git a/app-emacs/magit/magit-3.3.0-r1.ebuild b/app-emacs/magit/magit-3.3.0-r1.ebuild
index f5457ac3eebe..cbec2d023718 100644
--- a/app-emacs/magit/magit-3.3.0-r1.ebuild
+++ b/app-emacs/magit/magit-3.3.0-r1.ebuild
@@ -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"
diff --git a/app-emacs/magit/magit-9999.ebuild b/app-emacs/magit/magit-9999.ebuild
index d9d3068acc4b..57f82de1ff46 100644
--- a/app-emacs/magit/magit-9999.ebuild
+++ b/app-emacs/magit/magit-9999.ebuild
@@ -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"