From e5f2284eeb71b9c7af06d416c8844bed44f7246f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ulrich=20M=C3=BCller?= Date: Sat, 3 Jul 2021 19:16:15 +0200 Subject: [PATCH] app-emacs/helm: Don't check for autoload file in emacs-helm.sh MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes: https://bugs.gentoo.org/800177 Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Ulrich Müller --- .../files/helm-3.6.0-no-autoload-check.patch | 24 +++++++++++++++++++ ...helm-3.6.0.ebuild => helm-3.6.0-r1.ebuild} | 6 ++--- 2 files changed, 27 insertions(+), 3 deletions(-) create mode 100644 app-emacs/helm/files/helm-3.6.0-no-autoload-check.patch rename app-emacs/helm/{helm-3.6.0.ebuild => helm-3.6.0-r1.ebuild} (83%) diff --git a/app-emacs/helm/files/helm-3.6.0-no-autoload-check.patch b/app-emacs/helm/files/helm-3.6.0-no-autoload-check.patch new file mode 100644 index 000000000000..463cc8ccbacf --- /dev/null +++ b/app-emacs/helm/files/helm-3.6.0-no-autoload-check.patch @@ -0,0 +1,24 @@ +https://bugs.gentoo.org/800177 + +--- helm-3.6.0/emacs-helm.sh ++++ helm-3.6.0/emacs-helm.sh +@@ -137,19 +137,6 @@ + + cd "${0%/*}" || exit 1 + +-# Check if autoload file exists. +-# It may be in a different directory if emacs-helm.sh is a symlink. +-TRUENAME=$(find . -samefile "$0" -printf "%l") +-if [ ! -z "$TRUENAME" ]; then +- AUTO_FILE="${TRUENAME%/*}/helm-autoloads.el" +-else +- AUTO_FILE="helm-autoloads.el" +-fi +-if [ ! -e "$AUTO_FILE" ]; then +- echo No autoloads found, please run make first to generate autoload file +- exit 1 +-fi +- + + cat > $CONF_FILE <