summaryrefslogtreecommitdiffstats
path: root/debian/patches/0001-build-put-ZSH-completion-in-vendor-completions.patch
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 18:02:34 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 18:02:34 +0000
commitbb62f0cd14029a6ea4f3f38b00f9eb812011079c (patch)
treede63c1a14f53c55736ca35c4779000ff3c066316 /debian/patches/0001-build-put-ZSH-completion-in-vendor-completions.patch
parentAdding upstream version 1.0.18. (diff)
downloadlldpd-debian.tar.xz
lldpd-debian.zip
Adding debian version 1.0.18-1.debian/1.0.18-1debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/patches/0001-build-put-ZSH-completion-in-vendor-completions.patch')
-rw-r--r--debian/patches/0001-build-put-ZSH-completion-in-vendor-completions.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/debian/patches/0001-build-put-ZSH-completion-in-vendor-completions.patch b/debian/patches/0001-build-put-ZSH-completion-in-vendor-completions.patch
new file mode 100644
index 0000000..7eee536
--- /dev/null
+++ b/debian/patches/0001-build-put-ZSH-completion-in-vendor-completions.patch
@@ -0,0 +1,26 @@
+From 335f86aece1bbca456b49c644b5d6e651822a58d Mon Sep 17 00:00:00 2001
+From: Vincent Bernat <vincent@bernat.im>
+Date: Mon, 21 Aug 2017 09:10:52 +0200
+Subject: [PATCH] build: put ZSH completion in vendor-completions
+
+This is Debian-specific.
+---
+ src/client/Makefile.am | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/client/Makefile.am b/src/client/Makefile.am
+index 3877f1c37b67..6f7ccd4ecd7e 100644
+--- a/src/client/Makefile.am
++++ b/src/client/Makefile.am
+@@ -35,7 +35,7 @@ endif
+ # Completions
+ bashcompletiondir = $(datadir)/bash-completion/completions
+ dist_bashcompletion_DATA = completion/lldpcli
+-zshcompletiondir = $(datadir)/zsh/site-functions
++zshcompletiondir = $(datadir)/zsh/vendor-completions
+ dist_zshcompletion_DATA = completion/_lldpcli
+
+ # Default configuration
+--
+2.14.1
+