summaryrefslogtreecommitdiff
path: root/debian/patches
diff options
context:
space:
mode:
authorGabriel F. T. Gomes <gabriel@inconstante.eti.br>2018-03-18 14:55:07 -0300
committerGabriel F. T. Gomes <gabriel@inconstante.eti.br>2018-03-18 15:03:16 -0300
commit25dfa2e5da419efb20490c60aad4befab01d45cd (patch)
tree6fd4960cdbcaff84cb6b862fb9ce21ad8c6fcdf2 /debian/patches
parent27f7229f2a0a440829f5dcf788b3ed263ad7c14b (diff)
downloadbash-completion-25dfa2e5da419efb20490c60aad4befab01d45cd.tar.gz
Add support for extra dpkg-source options (Closes: #756887)
Upstream commit commit 1404d3f995649e1f70ffbb8239acd585e8246df4 Author: Antonio Terceiro <terceiro@debian.org> Date: Sat Mar 17 21:09:38 2018 +0200 dpkg-source: Add --before-build --after-build --commit, and --print-format provides a fix for bug 756887 [1], however, this fix was provided only after the release of version 2.8. This commit adds the fix to debian/patches, until a newer upstream release. [1] https://bugs.debian.org/756887
Diffstat (limited to 'debian/patches')
-rw-r--r--debian/patches/02-dpkg-source-Add-options.patch25
-rw-r--r--debian/patches/series1
2 files changed, 26 insertions, 0 deletions
diff --git a/debian/patches/02-dpkg-source-Add-options.patch b/debian/patches/02-dpkg-source-Add-options.patch
new file mode 100644
index 00000000..b1450b6d
--- /dev/null
+++ b/debian/patches/02-dpkg-source-Add-options.patch
@@ -0,0 +1,25 @@
+From: Antonio Terceiro <terceiro@debian.org>
+Subject: dpkg-source: Add --before-build --after-build --commit, and --print-format
+Origin: upstream, https://github.com/scop/bash-completion/commit/1404d3f995649e1f70ffbb8239acd585e8246df4.patch
+Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=756887
+
+---
+ completions/dpkg-source | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/completions/dpkg-source b/completions/dpkg-source
+index 54403851..826d0f83 100644
+--- a/completions/dpkg-source
++++ b/completions/dpkg-source
+@@ -10,7 +10,7 @@ _dpkg_source()
+ packopts="-c -l -F -V -T -D -U -W -E -sa -i -I -sk -sr -ss -sA -sK -sP \
+ -sU -sR"
+ unpackopts="-sp -sn -su"
+- options="-x -b $packopts $unpackopts"
++ options="-x -b --print-format --before-build --after-build --commit $packopts $unpackopts"
+ fields="Format Source Version Binary Maintainer Uploader Architecture \
+ Standards-Version Build-Depends Files"
+
+--
+2.16.2
+
diff --git a/debian/patches/series b/debian/patches/series
index 01a6a50c..c6c982b7 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,5 +1,6 @@
00-fix_quote_readline_by_ref.patch
01-apt-get-Complete-install-package-versions.patch
+02-dpkg-source-Add-options.patch
03-disable_avahi_browse.patch
04-xine_add_more_formats.patch
06-xpdf_support_compressed_pdf.patch