public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-util/shellcheck/files/
@ 2022-10-02 14:43 Conrad Kostecki
  0 siblings, 0 replies; only message in thread
From: Conrad Kostecki @ 2022-10-02 14:43 UTC (permalink / raw
  To: gentoo-commits

commit:     2b9d41f270c19cb878c4d56bb14246cca1bfe5d4
Author:     Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at>
AuthorDate: Thu Sep  1 15:55:21 2022 +0000
Commit:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Sun Oct  2 14:37:55 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2b9d41f2

dev-util/shellcheck: remove unused patch(es)

Signed-off-by: Michael Mair-Keimberger <mmk <AT> levelnine.at>
Portage 3.0.35 / pkgdev 0.2.1 / pkgcheck 0.10.14
Closes: https://github.com/gentoo/gentoo/pull/27104
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>

 .../files/shellcheck-0.7.2-haddock.patch           | 53 ----------------------
 1 file changed, 53 deletions(-)

diff --git a/dev-util/shellcheck/files/shellcheck-0.7.2-haddock.patch b/dev-util/shellcheck/files/shellcheck-0.7.2-haddock.patch
deleted file mode 100644
index db6297064bad..000000000000
--- a/dev-util/shellcheck/files/shellcheck-0.7.2-haddock.patch
+++ /dev/null
@@ -1,53 +0,0 @@
-From 9e60b3ea841bcaf48780bfcfc2e44aa6563a62de Mon Sep 17 00:00:00 2001
-From: Vidar Holen <spam@vidarholen.net>
-Date: Thu, 22 Apr 2021 22:17:51 -0700
-Subject: [PATCH] Fix haddock failures (fixes #2216)
-
----
- src/ShellCheck/Analytics.hs | 12 ++++++------
- test/buildtest              |  2 ++
- 2 files changed, 8 insertions(+), 6 deletions(-)
-
---- a/src/ShellCheck/Analytics.hs
-+++ b/src/ShellCheck/Analytics.hs
-@@ -4155,11 +4155,11 @@ checkEqualsInCommand params originalToken =
-                     _ | "===" `isPrefixOf` s -> borderMsg (getId originalToken)
-                     _ -> prefixMsg (getId cmd)
- 
--            -- $var==42
-+            -- '$var==42'
-             _ | "==" `isInfixOf` s ->
-                 badComparisonMsg (getId cmd)
- 
--            -- ${foo[x]}=42 and $foo=42
-+            -- '${foo[x]}=42' and '$foo=42'
-             [T_DollarBraced id braced l] | "=" `isPrefixOf` s -> do
-                 let variableStr = concat $ oversimplify l
-                 let variableReference = getBracedReference variableStr
-@@ -4172,22 +4172,22 @@ checkEqualsInCommand params originalToken =
-                                 && "]" `isSuffixOf` variableModifier
- 
-                 case () of
--                    -- $foo=bar should already have caused a parse-time SC1066
-+                    -- '$foo=bar' should already have caused a parse-time SC1066
-                     -- _ | not braced && isPlain ->
-                     --    return ()
- 
-                     _ | variableStr == "" -> -- Don't try to fix ${}=foo
-                         genericMsg (getId cmd)
- 
--                    -- $#=42 or ${#var}=42
-+                    -- '$#=42' or '${#var}=42'
-                     _ | "#" `isPrefixOf` variableStr ->
-                         genericMsg (getId cmd)
- 
--                    -- ${0}=42
-+                    -- '${0}=42'
-                     _ | variableStr == "0" ->
-                         assign0Msg id $ fixWith [replaceToken id params "BASH_ARGV0"]
- 
--                    -- $2=2
-+                    -- '$2=2'
-                     _ | isPositional ->
-                         positionalMsg id
- 


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2022-10-02 14:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-10-02 14:43 [gentoo-commits] repo/gentoo:master commit in: dev-util/shellcheck/files/ Conrad Kostecki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox