From f2e7a10d5a9bc99c0a67d5878be4ecf4a13bd0a2 Mon Sep 17 00:00:00 2001 From: Maciej Barć Date: Sat, 15 Jul 2023 20:35:22 +0200 Subject: app-emacs/magit: nonfatal if failing to load libgit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bug: https://bugs.gentoo.org/910381 Closes: https://bugs.gentoo.org/910402 Signed-off-by: Maciej Barć --- app-emacs/magit/files/magit-3.3.0-magit-libgit.patch | 11 +++++++++++ app-emacs/magit/magit-3.3.0-r1.ebuild | 2 ++ app-emacs/magit/magit-9999.ebuild | 2 ++ 3 files changed, 15 insertions(+) create mode 100644 app-emacs/magit/files/magit-3.3.0-magit-libgit.patch (limited to 'app-emacs') 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" -- cgit v1.2.3-65-gdbad