Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 800177 | Differences between
and this patch

Collapse All | Expand All

(-)a/app-emacs/helm/files/helm-3.6.0-no-autoload-check.patch (+24 lines)
Line 0 Link Here
1
https://bugs.gentoo.org/800177
2
3
--- helm-3.6.0/emacs-helm.sh
4
+++ helm-3.6.0/emacs-helm.sh
5
@@ -137,19 +137,6 @@
6
 
7
 cd "${0%/*}" || exit 1
8
 
9
-# Check if autoload file exists.
10
-# It may be in a different directory if emacs-helm.sh is a symlink.
11
-TRUENAME=$(find . -samefile "$0" -printf "%l")
12
-if [ ! -z "$TRUENAME" ]; then
13
-    AUTO_FILE="${TRUENAME%/*}/helm-autoloads.el"
14
-else
15
-    AUTO_FILE="helm-autoloads.el"
16
-fi
17
-if [ ! -e "$AUTO_FILE" ]; then
18
-    echo No autoloads found, please run make first to generate autoload file
19
-    exit 1
20
-fi
21
-
22
 
23
 cat > $CONF_FILE <<EOF
24
 (setq initial-scratch-message (concat initial-scratch-message
(-)a/app-emacs/helm/helm-3.6.0.ebuild (-4 / +3 lines)
Lines 1-4 Link Here
1
# Copyright 2019 Gentoo Authors
1
# Copyright 2019-2021 Gentoo Authors
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
3
4
EAPI=7
4
EAPI=7
Lines 17-22 RDEPEND="app-emacs/async Link Here
17
	app-emacs/popup"
17
	app-emacs/popup"
18
BDEPEND="${RDEPEND}"
18
BDEPEND="${RDEPEND}"
19
19
20
PATCHES="${FILESDIR}/${P}-no-autoload-check.patch"
20
SITEFILE="50${PN}-gentoo.el"
21
SITEFILE="50${PN}-gentoo.el"
21
22
22
src_compile() {
23
src_compile() {
Lines 26-31 src_compile() { Link Here
26
27
27
src_install() {
28
src_install() {
28
	elisp_src_install
29
	elisp_src_install
29
	exeinto "${SITEETC}/${PN}"
30
	dobin emacs-helm.sh
30
	doexe emacs-helm.sh
31
}
31
}
32
- 

Return to bug 800177