From 35e47b7219fe7b4925fb160eadee59474bcfdd5c Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Tue, 1 Aug 2017 08:32:18 -0400 Subject: [PATCH] debian/patches: Add 1001_Typo-Fixes.patch and 1002_macro-fix-in-man-pages.patch. Some cosmetic improvements (typos, man page flaws). --- debian/patches/1001_Typo-Fixes.patch | 58 ++++++++++++++++++ .../patches/1002_macro-fix-in-man-pages.patch | 59 +++++++++++++++++++ debian/patches/series | 2 + 3 files changed, 119 insertions(+) create mode 100644 debian/patches/1001_Typo-Fixes.patch create mode 100644 debian/patches/1002_macro-fix-in-man-pages.patch diff --git a/debian/patches/1001_Typo-Fixes.patch b/debian/patches/1001_Typo-Fixes.patch new file mode 100644 index 0000000..aead7ab --- /dev/null +++ b/debian/patches/1001_Typo-Fixes.patch @@ -0,0 +1,58 @@ +Description: Fix some error msg typos +Author: Mike Gabriel + +--- a/ChangeLog ++++ b/ChangeLog +@@ -11638,7 +11638,7 @@ + + 2015-03-16 10:25:31 +0100 Armin Novak (b39940e0a) + +- * Added ignore unkown keyword flag to detection. ++ * Added ignore unknown keyword flag to detection. + + 2015-03-16 10:15:37 +0100 Armin Novak (c380fb352) + +--- a/channels/rdpgfx/client/rdpgfx_main.c ++++ b/channels/rdpgfx/client/rdpgfx_main.c +@@ -1684,7 +1684,7 @@ + if (!gfx->log) + { + free(gfx); +- WLog_ERR(TAG, "Failed to aquire reference to WLog %s", TAG); ++ WLog_ERR(TAG, "Failed to acquire reference to WLog %s", TAG); + return ERROR_INTERNAL_ERROR; + } + +--- a/winpr/libwinpr/comm/comm_serial_sys.c ++++ b/winpr/libwinpr/comm/comm_serial_sys.c +@@ -1209,7 +1209,7 @@ + if (ioctl(pComm->fd, TIOCGICOUNT, ¤tCounters) < 0) + { + CommLog_Print(WLOG_WARN, "TIOCGICOUNT ioctl failed, errno=[%d] %s.", errno, strerror(errno)); +- CommLog_Print(WLOG_WARN, " coult not read counters."); ++ CommLog_Print(WLOG_WARN, " could not read counters."); + + if (pComm->permissive) + { +--- a/winpr/tools/hash-cli/hash.c ++++ b/winpr/tools/hash-cli/hash.c +@@ -116,7 +116,7 @@ + + if ((version != 1) && (version != 2)) + { +- printf("unkown version %d \n\n", version); ++ printf("unknown version %d \n\n", version); + usage_and_exit(); + } + } +--- a/winpr/tools/makecert-cli/winpr-makecert.1.in ++++ b/winpr/tools/makecert-cli/winpr-makecert.1.in +@@ -15,7 +15,7 @@ + [\fB-n\fP common_name] + [\fB-y\fP years] + [\fB-m\fP months] +-[\fB-len\fP lenth] ++[\fB-len\fP length] + [\fB-#\fP serial] + [\fB-a\fP { \fImd5\fP | \fIsha1\fP | \fIsha256\fP | \fIs384\fP | \fIsha512\fP }] + [\fB-path\fP outputpath] diff --git a/debian/patches/1002_macro-fix-in-man-pages.patch b/debian/patches/1002_macro-fix-in-man-pages.patch new file mode 100644 index 0000000..9ff6967 --- /dev/null +++ b/debian/patches/1002_macro-fix-in-man-pages.patch @@ -0,0 +1,59 @@ +Description: Fix "warning: can't find macro file `www.tmac))'" +Author: Mike Gabriel + +--- a/server/shadow/freerdp-shadow-cli.1.in ++++ b/server/shadow/freerdp-shadow-cli.1.in +@@ -1,7 +1,7 @@ + .de URL + \\$2 \(laURL: \\$1 \(ra\\$3 + .. +-.if \n[.g] .mso www.tmac)) ++.if \n[.g] .mso www.tmac + .TH freerdp\-shadow\-cli 1 2017-01-12 "@FREERDP_VERSION_FULL@" "FreeRDP" + .SH NAME + freerdp\-shadow\-cli \- A utility for sharing a X display via RDP. +@@ -49,14 +49,14 @@ + Clients may interact without prompt. + .IP /sec: + Force a specific protocol security +-.IP -sec-rdp (default:on) +-Disable RDP security +-.IP -sec-tls (default:on) +-Disable TLS protocol security +-.IP -sec-nla (default:on) +-Disable NLA protocol security +-.IP +sec-ext (default:off) +-Use NLA extended protocol security ++.IP -sec-rdp ++Disable RDP security (default:on) ++.IP -sec-tls ++Disable TLS protocol security (default:on) ++.IP -sec-nla ++Disable NLA protocol security (default:on) ++.IP +sec-ext ++Use NLA extended protocol security (default:off) + .IP /sam-file: + NTLM SAM file for NLA authentication + .IP /version +--- a/winpr/tools/makecert-cli/winpr-makecert.1.in ++++ b/winpr/tools/makecert-cli/winpr-makecert.1.in +@@ -1,7 +1,7 @@ + .de URL + \\$2 \(laURL: \\$1 \(ra\\$3 + .. +-.if \n[.g] .mso www.tmac)) ++.if \n[.g] .mso www.tmac + .TH winpr\-makecert 1 2017-01-11 "@FREERDP_VERSION_FULL@" "FreeRDP" + .SH NAME + winpr\-makecert \- A tool to create X.509 certificates. +--- a/client/Wayland/wlfreerdp.1.in ++++ b/client/Wayland/wlfreerdp.1.in +@@ -1,7 +1,7 @@ + .de URL + \\$2 \(laURL: \\$1 \(ra\\$3 + .. +-.if \n[.g] .mso www.tmac)) ++.if \n[.g] .mso www.tmac + .TH wlfreerdp 1 2017-01-12 "@FREERDP_VERSION_FULL@" "FreeRDP" + .SH NAME + wlfreerdp \- FreeRDP wayland client diff --git a/debian/patches/series b/debian/patches/series index 2d8ec5e..7d0a59d 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1 +1,3 @@ 0001-Fix-gstreamer-1.0-detection.patch +1001_Typo-Fixes.patch +1002_macro-fix-in-man-pages.patch