Debian Patches

Status for kbd/2.6.4-3

Patch Description Author Forwarded Bugs Origin Last update
Change-misleading-kbd_mode-message-for-XLATE-mode.patch Change misleading kbd_mode message for XLATE mode

The text said "default (ASCII) mode", which is wrong in two respects:
XLATE isn't limited to 7-bit ASCII, but works with various 8-bit
charsets, and the XLATE mode hasn't been the kernel default for a while.
Thanks for the hint go to Samuel Thibault <sthibault@debian.org>.

The usage of kbd_mode together with grep in shell scripts might become
an issue with this commit, though cursory research with
codesearch.google.com shows only the BiCon project
<http://sourceforge.net/projects/bicon/>, which does "kbd_mode | grep -q
-i Unicode" and is thus unaffected.
Michael Schutte <michi@debian.org> no debian 2015-12-10
Miscellaneous-manpage-corrections-and-additions.patch Miscellaneous manpage corrections and additions

* Remove .IX lines.
* Fix a groff syntax error in splitfont.1.
* Correct a typo in mk_modmap.8, kindly pointed out by lintian.
* Document that "openvt -e" has to be a session leader, closes:
#610373.
Michael Schutte <michi@debian.org> no 2015-12-10
Various-fixes-to-the-openvt-utility.patch Various fixes to the openvt utility

Three unrelated fixes:

* Propagate child exit codes in "openvt -w".

* consfd stores the file descriptor referring to the console. In some
cases, this will be one of the stdio fds, which are closed in the
child process. Avoid closing it again.

* When showing the help output, only exit with a zero status if the
"-h" option was given.
Michael Schutte <michi@debian.org> no debian 2015-12-10
Check-for-X-in-kbd_mode.patch Check for X in kbd_mode

"kbd_mode" can render X unusable. Add checks to unicode_{start,stop} to
avoid the problem.

This patch originated in console-tools.
Denis Barbier <barbier@debian.org> no debian 2015-12-10
Support-KT_DEAD2-diacritics.patch Support KT_DEAD2 diacritics

Add support for KT_DEAD2 diacritics to loadkeys and dumpkeys using the
dead2_ prefix.

[ah@debian.org: update to patch libkeymap and use get_sym{,_size} helpers]
Samuel Thibault <sthibault@debian.org> no debian 2015-12-10
contrib-codepage-Fix-build-with-gcc-14.patch contrib/codepage: Fix build with gcc 14
```
codepage.c: In function ‘handle_codepage’:
codepage.c:284:9: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
284 | fread(fonts, CPInfoHeader.size, 1, in);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```

Originally reported at https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1075109

(cherry picked from commit 63675822e274829a8ddd4c0cd64914863afa1e3d)
Andreas Henriksson <andreas@fatal.se> no 2024-08-18
contrib-splitfont-Fix-build-with-gcc-14.patch contrib/splitfont: Fix build with gcc 14
Add includes as suggested to fix missing implicit declarations and a
bunch of build failures that appeared with gcc 14:

```
cc -O2 -g -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro splitfont.c -o splitfont
splitfont.c: In function ‘dosplit’:
splitfont.c:19:17: error: implicit declaration of function ‘exit’ [-Wimplicit-function-declaration]
19 | exit(1);
| ^~~~
splitfont.c:8:1: note: include ‘<stdlib.h>’ or provide a declaration of ‘exit’
7 | #include <sys/stat.h>
+++ |+#include <stdlib.h>
8 |
splitfont.c:19:17: warning: incompatible implicit declaration of built-in function ‘exit’ [-Wbuiltin-declaration-mismatch]
19 | exit(1);
| ^~~~
splitfont.c:19:17: note: include ‘<stdlib.h>’ or provide a declaration of ‘exit’
splitfont.c:21:13: error: implicit declaration of function ‘strlen’ [-Wimplicit-function-declaration]
21 | if (strlen(fontfile) >= sizeof(filename) - 4) {
| ^~~~~~
splitfont.c:8:1: note: include ‘<string.h>’ or provide a declaration of ‘strlen’
7 | #include <sys/stat.h>
+++ |+#include <string.h>
8 |
splitfont.c:21:13: warning: incompatible implicit declaration of built-in function ‘strlen’ [-Wbuiltin-declaration-mismatch]
21 | if (strlen(fontfile) >= sizeof(filename) - 4) {
| ^~~~~~
splitfont.c:21:13: note: include ‘<string.h>’ or provide a declaration of ‘strlen’
splitfont.c:23:17: warning: incompatible implicit declaration of built-in function ‘exit’ [-Wbuiltin-declaration-mismatch]
23 | exit(1);
| ^~~~
splitfont.c:23:17: note: include ‘<stdlib.h>’ or provide a declaration of ‘exit’
splitfont.c: In function ‘main’:
splitfont.c:51:17: warning: incompatible implicit declaration of built-in function ‘exit’ [-Wbuiltin-declaration-mismatch]
51 | exit(1);
| ^~~~
splitfont.c:51:17: note: include ‘<stdlib.h>’ or provide a declaration of ‘exit’
splitfont.c:56:17: warning: incompatible implicit declaration of built-in function ‘exit’ [-Wbuiltin-declaration-mismatch]
56 | exit(1);
| ^~~~
splitfont.c:56:17: note: include ‘<stdlib.h>’ or provide a declaration of ‘exit’
splitfont.c:60:17: warning: incompatible implicit declaration of built-in function ‘exit’ [-Wbuiltin-declaration-mismatch]
60 | exit(1);
| ^~~~
splitfont.c:60:17: note: include ‘<stdlib.h>’ or provide a declaration of ‘exit’
splitfont.c:64:17: warning: incompatible implicit declaration of built-in function ‘exit’ [-Wbuiltin-declaration-mismatch]
64 | exit(1);
| ^~~~
splitfont.c:64:17: note: include ‘<stdlib.h>’ or provide a declaration of ‘exit’
splitfont.c:69:17: warning: incompatible implicit declaration of built-in function ‘exit’ [-Wbuiltin-declaration-mismatch]
69 | exit(1);
| ^~~~
splitfont.c:69:17: note: include ‘<stdlib.h>’ or provide a declaration of ‘exit’
splitfont.c:74:17: warning: incompatible implicit declaration of built-in function ‘exit’ [-Wbuiltin-declaration-mismatch]
74 | exit(1);
| ^~~~
splitfont.c:74:17: note: include ‘<stdlib.h>’ or provide a declaration of ‘exit’
splitfont.c:79:29: error: implicit declaration of function ‘strtoul’ [-Wimplicit-function-declaration]
79 | to = from = strtoul(p, &q, 0);
| ^~~~~~~
splitfont.c:86:25: warning: incompatible implicit declaration of built-in function ‘exit’ [-Wbuiltin-declaration-mismatch]
86 | exit(1);
| ^~~~
splitfont.c:86:25: note: include ‘<stdlib.h>’ or provide a declaration of ‘exit’
```

Originally reported at https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1075109

(cherry picked from commit d8ba05d190db2b4e410993ea241fcdc28e0128a2)
Andreas Henriksson <andreas@fatal.se> no 2024-08-18

All known versions for source package 'kbd'

Links