File: 10_fix-banner.patch

package info (click to toggle)
sysvbanner 1:1.0-16
  • links: PTS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 112 kB
  • ctags: 7
  • sloc: ansic: 231; makefile: 15
file content (25 lines) | stat: -rw-r--r-- 916 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
Description: include string.h and fix a typo.
Author: David Frey <dfrey@debian.org>
Reviewed-By: Joao Eriberto Mota Filho <eriberto@debian.org>
Last-Update: 2017-09-22
Index: sysvbanner-1.0.16/sysvbanner.c
===================================================================
--- sysvbanner-1.0.16.orig/sysvbanner.c
+++ sysvbanner-1.0.16/sysvbanner.c
@@ -23,6 +23,7 @@
  */
 
 #include <stdio.h>
+#include <string.h>
 
 char *glyphs[] =
 {
@@ -66,7 +67,7 @@ char *glyphs[] =
   "#     ##     ##     ##     ##     ##      #      #     #",
   " ##### #     #######  ##### ###### ########       ##### ",
 
-  "#     #  #*#        ##    # #      #     ##     ########",
+  "#     #  ###        ##    # #      #     ##     ########",
   "#     #   #         ##   #  #      ##   ####    ##     #",
   "#     #   #         ##  #   #      # # # ## #   ##     #",
   "#######   #         ####    #      #  #  ##  #  ##     #",