debian/patches: Add 1001_Typo-Fixes.patch and 1002_macro-fix-in-man-pages.patch. Some cosmetic improvements (typos, man page flaws).

This commit is contained in:
Mike Gabriel 2017-08-01 08:32:18 -04:00
parent a87e445c13
commit 35e47b7219
3 changed files with 119 additions and 0 deletions

58
debian/patches/1001_Typo-Fixes.patch vendored Normal file
View File

@ -0,0 +1,58 @@
Description: Fix some error msg typos
Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
--- 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, &currentCounters) < 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]

View File

@ -0,0 +1,59 @@
Description: Fix "warning: can't find macro file `www.tmac))'"
Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
--- 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:<rdp|tls|nla|ext>
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:<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

View File

@ -1 +1,3 @@
0001-Fix-gstreamer-1.0-detection.patch
1001_Typo-Fixes.patch
1002_macro-fix-in-man-pages.patch