Package: dictd / 1.12.1+dfsg-8

Metadata

Package Version Patches format
dictd 1.12.1+dfsg-8 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
00 Makefile.patch | (download)

Makefile.in | 3 2 + 1 - 0 !
1 file changed, 2 insertions(+), 1 deletion(-)

 00 makefile

Add $(DEBCFLAGS), remove -O* from CFLAGS in order to support
DEB_BUILD_FLAGS variable in debian/rules

01 dictl konwert.patch | (download)

dictl.in | 16 15 + 1 - 0 !
1 file changed, 15 insertions(+), 1 deletion(-)

 01 dictl konwert

Patch for #401666: dictl: doesn't work with DICTL_USE_KONWERT

02 man hyphens.patch | (download)

colorit.1.in | 6 3 + 3 - 0 !
dict.1.in | 4 2 + 2 - 0 !
dictd.8.in | 28 14 + 14 - 0 !
dictfmt.1.in | 58 29 + 29 - 0 !
dictl.1.in | 2 1 + 1 - 0 !
dictunformat.1.in | 8 4 + 4 - 0 !
6 files changed, 53 insertions(+), 53 deletions(-)

 02 man hyphens

Fix lintian's `hyphen-used-as-minus-sign'

03 dictdplugin_popen g 4.3compile.patch | (download)

dictdplugin_popen.cpp | 1 1 + 0 - 0 !
1 file changed, 1 insertion(+)

 03 dictdplugin_popen-g++-4.3compile

Patch for #454819: FTBFS with GCC 4.3: missing #includes

04 dictl translit.patch | (download)

dictl.in | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 04 dictl translit

Patch for  #378792: dictl should use iconv's //translit suffix

05 colorit nopp fix.patch | (download)

colorit.in | 1 1 + 0 - 0 !
1 file changed, 1 insertion(+)

 05 colorit nopp fix

Made 'colorit -pp -' work

06 colorit manpage nopager.patch | (download)

colorit.1.in | 13 3 + 10 - 0 !
1 file changed, 3 insertions(+), 10 deletions(-)

 06 colorit manpage nopager

Remove references to pager in colorit man page

07 dictfmt.1 man.patch | (download)

dictfmt.1.in | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 fix dictfmt.1 man page

Fix the following lintian warning:
W: dictfmt: manpage-has-errors-from-man usr/share/man/man1/dictfmt.1.gz 199: warning: `.br' not defined

08 dictd close fds.patch | (download)

dictd.c | 4 4 + 0 - 0 !
1 file changed, 4 insertions(+)

 08 dictd close-fds

Close all file descriptors except for the standard ones not to hang
dpkg-reconfigure

09 spelling typos.patch | (download)

ChangeLog | 2 1 + 1 - 0 !
daemon.c | 2 1 + 1 - 0 !
dictd.8.in | 8 4 + 4 - 0 !
dictfmt.1.in | 4 2 + 2 - 0 !
dictfmt.c | 4 2 + 2 - 0 !
plugin.c | 4 2 + 2 - 0 !
6 files changed, 12 insertions(+), 12 deletions(-)

 spelling typos

Fix spelling typos found by lintian.

10 md5 64bit.patch | (download)

md5.h | 7 2 + 5 - 0 !
1 file changed, 2 insertions(+), 5 deletions(-)

 10 md5 64bit

Fix invalid definition on uint32 type on 64-bit systems (except for alpha),
which caused failures when 64-bit dict client tried to authenticate a user
against 32-bit dictd server (closes: #611203).

11 dict_lookup.patch | (download)

dict_lookup | 55 42 + 13 - 0 !
dict_lookup.1.in | 5 3 + 2 - 0 !
2 files changed, 45 insertions(+), 15 deletions(-)

 dict_lookup fixes

Check for existence of xterm & xclip commands.
Select first available utf-8 locale or fail if there isn't any.
Use colorit with its default configuration.

12 no name flag.patch | (download)

data.h | 3 2 + 1 - 0 !
dictzip.1.in | 3 3 + 0 - 0 !
dictzip.c | 36 24 + 12 - 0 !
3 files changed, 29 insertions(+), 13 deletions(-)

 dictd: add --no-name flag to help reproducible builds

While working on the "reproducible builds" effort [1], we have noticed
that dictzip adds the filename and timestamp to the generated .gz files.

The attached patch adds a --no-name flag (like gzip) that disables this.
This will make it easier and cleaner for maintainers to make their
builds reproducible.

Bugs-Debian: https://bugs.debian.org/776430

13 Fix compiler warnings.patch | (download)

clientparse.y | 3 3 + 0 - 0 !
daemon.c | 18 9 + 9 - 0 !
dictd.c | 2 2 + 0 - 0 !
dictzip.c | 2 0 + 2 - 0 !
md5.c | 2 1 + 1 - 0 !
parse.c | 4 2 + 2 - 0 !
servparse.y | 3 3 + 0 - 0 !
7 files changed, 20 insertions(+), 14 deletions(-)

 fix some of compiler warnings


14 fix mime option.patch | (download)

dict.c | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 fix the dict's --mime option

The element following the mime option (--mime) is treated as an
parameter for this option, while the mime option should not have a
parameter.

This can be reproduced by running:
  dict -h dict.bibleonline.ru --mime "idea"
that returns no results without this patch.

Bugs-Debian: https://bugs.debian.org/890948

15 mime with strategy.patch | (download)

dict.c | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 fix conflict between options --mime and --strategy

When the --mime (-M) and --strategy (-s) options are used together, then
the last dictionary entry is runaway. For example both the following
commands:

  dict -h dict.bibleonline.ru -M "ide"
  dict -h dict.bibleonline.ru  -s word "ide"

return the same single result, but

  dict -h dict.bibleonline.ru -s word -M "ide"

returns nothing, unless this patch is applied.

Bugs-Debian: https://bugs.debian.org/892253

16 combining greek ypogegrammeni.patch | (download)

iswalnum.c | 4 2 + 2 - 0 !
1 file changed, 2 insertions(+), 2 deletions(-)

 combining greek ypogegrammeni is not alphanumeric

The U+0345 COMBINING GREEK YPOGEGRAMMENI Unicode character is a diacritical
mark, and not an alphanumeric character.

Bugs-Debian: https://bugs.debian.org/785640
Bugs-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/dictd/+bug/1744896

17 fix some gcc 8 warnings.patch | (download)

dict.c | 8 4 + 4 - 0 !
dictd.c | 28 16 + 12 - 0 !
dictfmt.c | 6 4 + 2 - 0 !
lev.h | 4 2 + 2 - 0 !
4 files changed, 26 insertions(+), 20 deletions(-)

 fix some of gcc-8 warnings


18 colorit missing packages.patch | (download)

colorit.in | 13 13 + 0 - 0 !
1 file changed, 13 insertions(+)

 check for missing packages in colorit

As gawk and m4 are not strict dependencies of the dict
package, make colorit fail with a message suggesting
installation of the packages when the appropriate commands
are missing.

Bugs-Ubuntu: https://bugs.launchpad.net/1048062