summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-emacs/vhdl-mode')
-rw-r--r--app-emacs/vhdl-mode/Manifest1
-rw-r--r--app-emacs/vhdl-mode/files/vhdl-mode-3.38.3-emacs-28.patch11
-rw-r--r--app-emacs/vhdl-mode/vhdl-mode-3.38.3.ebuild27
3 files changed, 39 insertions, 0 deletions
diff --git a/app-emacs/vhdl-mode/Manifest b/app-emacs/vhdl-mode/Manifest
index 862cd8f664e3..01a6b1597bd1 100644
--- a/app-emacs/vhdl-mode/Manifest
+++ b/app-emacs/vhdl-mode/Manifest
@@ -1 +1,2 @@
DIST vhdl-mode-3.38.1.tar.gz 318400 BLAKE2B 2ddad9f4e8fdb0fafd2e27075f5722fcf7959a2b50ad61c5860af52706d9579065e0880d7b9bd1b884c21cfc902760dff006404490c8cbb1474831aa4c6d841d SHA512 2cc12994e17658d65cffa348c59ac3208cc0f498731941b8f64da68e258ca57d6aa500d72103b005996cf3496e119cf59b52bbc1c4b740401685030b42f272a8
+DIST vhdl-mode-3.38.3.tar.gz 319205 BLAKE2B ec64bd5fb783ef5e295319ca86ef147a021ffce352ddca49f19dcdc6b79c5bc9ed9350ad154321dbf40a84f501d9da70ffd685d2376a8da98cd2426b9df4bd36 SHA512 4738927daa424c5d66bc69e021e6b624cc23a3bf70a6f78ea5a7fc07ad0bd0aaf5429594b6ff71067edbf48802d7d77f38d607708541fb59e259cc1a4221fb60
diff --git a/app-emacs/vhdl-mode/files/vhdl-mode-3.38.3-emacs-28.patch b/app-emacs/vhdl-mode/files/vhdl-mode-3.38.3-emacs-28.patch
new file mode 100644
index 000000000000..be53bb713da2
--- /dev/null
+++ b/app-emacs/vhdl-mode/files/vhdl-mode-3.38.3-emacs-28.patch
@@ -0,0 +1,11 @@
+--- vhdl-mode-3.38.3/vhdl-mode.el
++++ vhdl-mode-3.38.3/vhdl-mode.el
+@@ -2475,7 +2475,7 @@
+ (defalias 'speedbar-line-directory
+ 'speedbar-line-path))
+
+-(define-obsolete-variable-alias 'speedbar-key-map 'speedbar-mode-map)
++(define-obsolete-variable-alias 'speedbar-key-map 'speedbar-mode-map "")
+
+ ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+ ;;; Help functions / inline substitutions / macros
diff --git a/app-emacs/vhdl-mode/vhdl-mode-3.38.3.ebuild b/app-emacs/vhdl-mode/vhdl-mode-3.38.3.ebuild
new file mode 100644
index 000000000000..5099ff5fbfd8
--- /dev/null
+++ b/app-emacs/vhdl-mode/vhdl-mode-3.38.3.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit elisp
+
+DESCRIPTION="VHDL-mode for Emacs"
+HOMEPAGE="https://iis-people.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html"
+SRC_URI="https://iis-people.ee.ethz.ch/~zimmi/emacs/${P}.tar.gz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+
+PATCHES=(
+ "${FILESDIR}"/${P}-emacs-28.patch
+ "${FILESDIR}"/${PN}-info-dir-gentoo.patch
+)
+ELISP_REMOVE="site-start.*"
+SITEFILE="50${PN}-gentoo.el"
+DOCS="ChangeLog README"
+
+src_install() {
+ elisp_src_install
+ doinfo vhdl-mode.info
+}