summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosh Triplett <josh@joshtriplett.org>2016-12-08 20:19:18 -0800
committerAxel Beckert <abe@deuxchevaux.org>2016-12-11 22:20:49 +0100
commit7d6c5d6c3ca66cfda2306fc03182dd7ba9cd30b3 (patch)
tree7a5b03c1c745d05fe0c8b2fdd602131ce4d37f4e
parent311cb6058b24c68033672e155d67386d1e8a00d1 (diff)
downloadzsh-7d6c5d6c3ca66cfda2306fc03182dd7ba9cd30b3.tar.gz
zsh-7d6c5d6c3ca66cfda2306fc03182dd7ba9cd30b3.zip
Add patch to update for new Debian programming language sections
Closes: #847540
-rw-r--r--debian/patches/series1
-rw-r--r--debian/patches/update-debian-sections.patch42
2 files changed, 43 insertions, 0 deletions
diff --git a/debian/patches/series b/debian/patches/series
index 857f0f26d..cb6fdacc2 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
further-mitigate-test-suite-hangs.patch
+update-debian-sections.patch
diff --git a/debian/patches/update-debian-sections.patch b/debian/patches/update-debian-sections.patch
new file mode 100644
index 000000000..11caa5555
--- /dev/null
+++ b/debian/patches/update-debian-sections.patch
@@ -0,0 +1,42 @@
+From a7204dd6176d4c1305de7092525c8037fd335acf Mon Sep 17 00:00:00 2001
+From: Josh Triplett <josh@joshtriplett.org>
+Date: Thu, 8 Dec 2016 20:19:18 -0800
+Subject: [PATCH] Update for new programming language sections
+Origin: https://bugs.debian.org/cgi-bin/bugreport.cgi?att=1;bug=847540;filename=0001-Update-for-new-programming-language-sections.patch;msg=13
+Bug-Debian: https://bugs.debian.org/847540
+Forwarded: not-yet
+
+---
+ Completion/Debian/Command/_dak | 2 +-
+ Completion/Debian/Command/_debfoster | 2 ++
+ 2 files changed, 3 insertions(+), 1 deletion(-)
+
+diff --git a/Completion/Debian/Command/_dak b/Completion/Debian/Command/_dak
+index 086196c4a..d06f55d23 100644
+--- a/Completion/Debian/Command/_dak
++++ b/Completion/Debian/Command/_dak
+@@ -37,7 +37,7 @@
+ '(-n --no-action)'{-n,--no-action}'[do not do anything]'
+ '(-s --suite)'{-s,--suite=}':suite:_values -s , "suite list" oldstable stable testing unstable experimental'
+ ':package:_deb_packages avail'
+- ':section:(admin base comm contrib/admin contrib/comm contrib/devel contrib/doc contrib/games contrib/graphics contrib/interpreters contrib/kde contrib/libdevel contrib/libs contrib/mail contrib/math contrib/misc contrib/net contrib/otherosfs contrib/perl contrib/python contrib/science contrib/sound contrib/tex contrib/text contrib/utils contrib/web contrib/x11 devel doc editors electronics embedded games gnome graphics hamradio interpreters kde libdevel libs mail math misc net news non-free/admin non-free/base non-free/comm non-free/devel non-free/doc non-free/editors non-free/electronics non-free/games non-free/graphics non-free/hamradio non-free/libdevel non-free/libs non-free/mail non-free/math non-free/misc non-free/net non-free/news non-free/otherosfs non-free/python non-free/science non-free/sound non-free/tex non-free/text non-free/utils non-free/web non-free/x11 oldlibs otherosfs perl python science shells sound tex text utils web x11)'
++ ':section:(admin base comm contrib/admin contrib/comm contrib/devel contrib/doc contrib/games contrib/graphics contrib/interpreters contrib/java contrib/javascript contrib/kde contrib/libdevel contrib/libs contrib/mail contrib/math contrib/misc contrib/net contrib/otherosfs contrib/perl contrib/python contrib/ruby contrib/rust contrib/science contrib/sound contrib/tex contrib/text contrib/utils contrib/web contrib/x11 devel doc editors electronics embedded games gnome graphics hamradio interpreters java javascript kde libdevel libs mail math misc net news non-free/admin non-free/base non-free/comm non-free/devel non-free/doc non-free/editors non-free/electronics non-free/games non-free/graphics non-free/hamradio non-free/java non-free/javascript non-free/libdevel non-free/libs non-free/mail non-free/math non-free/misc non-free/net non-free/news non-free/otherosfs non-free/python non-free/ruby non-free/rust non-free/science non-free/sound non-free/tex non-free/text non-free/utils non-free/web non-free/x11 oldlibs otherosfs perl python ruby rust science shells sound tex text utils web x11)'
+ ':priority:(extra important optional required standard)'
+ )
+ ;;
+diff --git a/Completion/Debian/Command/_debfoster b/Completion/Debian/Command/_debfoster
+index 08a1078e2..4c041bc36 100644
+--- a/Completion/Debian/Command/_debfoster
++++ b/Completion/Debian/Command/_debfoster
+@@ -45,7 +45,9 @@
+ *(#i)(no|)keepsections*)
+ _wanted values expl 'section' compadd \
+ x11 web utils text tex sound shells science \
++ rust ruby python perl \
+ otherosfs oldlibs news net misc math mail libs \
++ javascript java \
+ interpreters hamradio graphics games electronics \
+ editors doc devel comm base admin && ret=0
+ ;;
+--
+2.11.0