summaryrefslogtreecommitdiff
path: root/app-emacs/flycheck/files/flycheck-32-remove-pkg-info.diff
diff options
context:
space:
mode:
authorJohn Turner <jturner.usa+gentoo@gmail.com>2022-03-28 22:37:58 -0400
committerJohn Turner <jturner.usa+gentoo@gmail.com>2022-03-28 22:37:58 -0400
commitd0a72aa75f79fea9169db6eba70bf9b72ac86896 (patch)
treed58a0c6daacfb17e5215cbfbecacbb48e6baf8f5 /app-emacs/flycheck/files/flycheck-32-remove-pkg-info.diff
parent0b2f7e78b2092881872a38a168975034b84da702 (diff)
downloadebuilds-d0a72aa75f79fea9169db6eba70bf9b72ac86896.tar.gz
app-emacs/flycheck: removed my patched version of flycheck for now
Diffstat (limited to 'app-emacs/flycheck/files/flycheck-32-remove-pkg-info.diff')
-rw-r--r--app-emacs/flycheck/files/flycheck-32-remove-pkg-info.diff44
1 files changed, 0 insertions, 44 deletions
diff --git a/app-emacs/flycheck/files/flycheck-32-remove-pkg-info.diff b/app-emacs/flycheck/files/flycheck-32-remove-pkg-info.diff
deleted file mode 100644
index 2bb67aa..0000000
--- a/app-emacs/flycheck/files/flycheck-32-remove-pkg-info.diff
+++ /dev/null
@@ -1,44 +0,0 @@
-# Removes pkg-info and epl as depdendencies by replacing functions provided by them with built ins.
-# https://github.com/flycheck/flycheck/pull/1818
-
-
-diff --git a/flycheck.el b/flycheck.el
-index e3722fd50..33e667671 100644
---- a/flycheck.el
-+++ b/flycheck.el
-@@ -10,7 +10,7 @@
- ;; URL: http://www.flycheck.org
- ;; Keywords: convenience, languages, tools
- ;; Version: 32-cvs
--;; Package-Requires: ((dash "2.12.1") (pkg-info "0.4") (let-alist "1.0.4") (seq "1.11") (emacs "24.3"))
-+;; Package-Requires: ((dash "2.12.1") (let-alist "1.0.4") (seq "1.11") (emacs "24.3"))
-
- ;; This file is not part of GNU Emacs.
-
-@@ -79,6 +79,7 @@
- (require 'rx) ; Regexp fanciness in `flycheck-define-checker'
- (require 'help-mode) ; `define-button-type'
- (require 'find-func) ; `find-function-regexp-alist'
-+(require 'lisp-mnt) ; `lm-version'
- (require 'json) ; `flycheck-parse-tslint'
- (require 'ansi-color) ; `flycheck-parse-with-patterns-without-color'
-
-@@ -90,9 +91,6 @@
- (defvar markdown-fontify-code-block-default-mode) ; For rust-error-explainer
- (defvar markdown-fontify-code-blocks-natively) ;
-
--;; Tell the byte compiler about autoloaded functions from packages
--(declare-function pkg-info-version-info "pkg-info" (package))
--
-
- ;;; Compatibility
- (eval-and-compile
-@@ -1284,7 +1282,7 @@ If the version number could not be determined, signal an error,
- if called interactively, or if SHOW-VERSION is non-nil, otherwise
- just return nil."
- (interactive (list t))
-- (let ((version (pkg-info-version-info 'flycheck)))
-+ (let ((version (lm-version (find-library-name "flycheck"))))
- (when show-version
- (message "Flycheck version: %s" version))
- version))