commit:     4047ed24fa5760811d57809d634524a96e6bd8d3
Author:     Florian Schmaus <flow <AT> gentoo <DOT> org>
AuthorDate: Fri Jul  1 08:54:09 2022 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Fri Jul  1 09:02:42 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4047ed24

net-firewall/ufw: remove duplicate bash completion patch

Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>

 net-firewall/ufw/files/ufw-0.36.1-bash-completion.patch | 16 ----------------
 net-firewall/ufw/ufw-0.36.1.ebuild                      |  2 +-
 2 files changed, 1 insertion(+), 17 deletions(-)

diff --git a/net-firewall/ufw/files/ufw-0.36.1-bash-completion.patch 
b/net-firewall/ufw/files/ufw-0.36.1-bash-completion.patch
deleted file mode 100644
index 927af244eef1..000000000000
--- a/net-firewall/ufw/files/ufw-0.36.1-bash-completion.patch
+++ /dev/null
@@ -1,16 +0,0 @@
---- a/shell-completion/bash    2018-12-14 21:25:55.000000000 +0300
-+++ b/shell-completion/bash    2019-03-21 01:26:46.152181981 +0300
-@@ -57,7 +57,6 @@
-     echo "numbered verbose"
- }
- 
--_have ufw &&
- _ufw()
- {
-     cur=${COMP_WORDS[COMP_CWORD]}
-@@ -91,4 +90,4 @@
-     fi
- }
- 
--_have ufw && complete -F _ufw ufw
-+complete -F _ufw ufw

diff --git a/net-firewall/ufw/ufw-0.36.1.ebuild 
b/net-firewall/ufw/ufw-0.36.1.ebuild
index 8eca27c146a6..e2c1d375da38 100644
--- a/net-firewall/ufw/ufw-0.36.1.ebuild
+++ b/net-firewall/ufw/ufw-0.36.1.ebuild
@@ -29,7 +29,7 @@ PATCHES=(
        # Remove shebang modification.
        "${FILESDIR}/${P}-shebang.patch"
        # Fix bash completions, bug #526300
-       "${FILESDIR}/${P}-bash-completion.patch"
+       "${FILESDIR}/${PN}-0.36-bash-completion.patch"
 )
 
 pkg_pretend() {

Reply via email to