diff options
Diffstat (limited to 'meta/recipes-extended/mc/files/0001-mc-replace-perl-w-with-use-warnings.patch')
-rw-r--r-- | meta/recipes-extended/mc/files/0001-mc-replace-perl-w-with-use-warnings.patch | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/meta/recipes-extended/mc/files/0001-mc-replace-perl-w-with-use-warnings.patch b/meta/recipes-extended/mc/files/0001-mc-replace-perl-w-with-use-warnings.patch index 012a499684..5ede82d342 100644 --- a/meta/recipes-extended/mc/files/0001-mc-replace-perl-w-with-use-warnings.patch +++ b/meta/recipes-extended/mc/files/0001-mc-replace-perl-w-with-use-warnings.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From cdc7c278212ae836eecb4cc9d42c29443cc128a0 Mon Sep 17 00:00:00 2001 | 1 | From 62c86b69106d0d702167ba1b963ea1c201cce5af Mon Sep 17 00:00:00 2001 |
2 | From: Robert Yang <liezhi.yang@windriver.com> | 2 | From: Robert Yang <liezhi.yang@windriver.com> |
3 | Date: Thu, 6 Apr 2017 02:24:28 -0700 | 3 | Date: Thu, 6 Apr 2017 02:24:28 -0700 |
4 | Subject: [PATCH] mc: replace "perl -w" with "use warnings" | 4 | Subject: [PATCH] mc: replace "perl -w" with "use warnings" |
@@ -20,6 +20,7 @@ The man2hlp.in already has "use warnings;", so just remove '-w' is OK. | |||
20 | Upstream-Status: Submitted [https://github.com/MidnightCommander/mc/pull/174] | 20 | Upstream-Status: Submitted [https://github.com/MidnightCommander/mc/pull/174] |
21 | 21 | ||
22 | Signed-off-by: Robert Yang <liezhi.yang@windriver.com> | 22 | Signed-off-by: Robert Yang <liezhi.yang@windriver.com> |
23 | |||
23 | --- | 24 | --- |
24 | src/man2hlp/man2hlp.in | 2 +- | 25 | src/man2hlp/man2hlp.in | 2 +- |
25 | src/vfs/extfs/helpers/a+.in | 4 +++- | 26 | src/vfs/extfs/helpers/a+.in | 4 +++- |
@@ -30,12 +31,12 @@ Signed-off-by: Robert Yang <liezhi.yang@windriver.com> | |||
30 | 6 files changed, 13 insertions(+), 6 deletions(-) | 31 | 6 files changed, 13 insertions(+), 6 deletions(-) |
31 | 32 | ||
32 | diff --git a/src/man2hlp/man2hlp.in b/src/man2hlp/man2hlp.in | 33 | diff --git a/src/man2hlp/man2hlp.in b/src/man2hlp/man2hlp.in |
33 | index f095830..558a674 100644 | 34 | index 08765d8..8aa7131 100644 |
34 | --- a/src/man2hlp/man2hlp.in | 35 | --- a/src/man2hlp/man2hlp.in |
35 | +++ b/src/man2hlp/man2hlp.in | 36 | +++ b/src/man2hlp/man2hlp.in |
36 | @@ -1,4 +1,4 @@ | 37 | @@ -1,4 +1,4 @@ |
37 | -#! @PERL@ -w | 38 | -#! @PERL_FOR_BUILD@ -w |
38 | +#! @PERL@ | 39 | +#! @PERL_FOR_BUILD@ |
39 | # | 40 | # |
40 | # Man page to help file converter | 41 | # Man page to help file converter |
41 | # Copyright (C) 1994, 1995, 1998, 2000, 2001, 2002, 2003, 2004, 2005, | 42 | # Copyright (C) 1994, 1995, 1998, 2000, 2001, 2002, 2003, 2004, 2005, |
@@ -59,7 +60,7 @@ index 579441c..fe446f4 100644 | |||
59 | $_ = shift(@_); | 60 | $_ = shift(@_); |
60 | s/([^\w\/.+-])/\\$1/g; | 61 | s/([^\w\/.+-])/\\$1/g; |
61 | diff --git a/src/vfs/extfs/helpers/mailfs.in b/src/vfs/extfs/helpers/mailfs.in | 62 | diff --git a/src/vfs/extfs/helpers/mailfs.in b/src/vfs/extfs/helpers/mailfs.in |
62 | index e9455be..059f41f 100644 | 63 | index 4bdd68b..5bb373b 100644 |
63 | --- a/src/vfs/extfs/helpers/mailfs.in | 64 | --- a/src/vfs/extfs/helpers/mailfs.in |
64 | +++ b/src/vfs/extfs/helpers/mailfs.in | 65 | +++ b/src/vfs/extfs/helpers/mailfs.in |
65 | @@ -1,6 +1,7 @@ | 66 | @@ -1,6 +1,7 @@ |
@@ -72,7 +73,7 @@ index e9455be..059f41f 100644 | |||
72 | # MC extfs for (possibly compressed) Berkeley style mailbox files | 73 | # MC extfs for (possibly compressed) Berkeley style mailbox files |
73 | # Peter Daum <gator@cs.tu-berlin.de> (Jan 1998, mc-4.1.24) | 74 | # Peter Daum <gator@cs.tu-berlin.de> (Jan 1998, mc-4.1.24) |
74 | diff --git a/src/vfs/extfs/helpers/patchfs.in b/src/vfs/extfs/helpers/patchfs.in | 75 | diff --git a/src/vfs/extfs/helpers/patchfs.in b/src/vfs/extfs/helpers/patchfs.in |
75 | index ef407de..3ad4b53 100644 | 76 | index c20cd54..1f1e75b 100644 |
76 | --- a/src/vfs/extfs/helpers/patchfs.in | 77 | --- a/src/vfs/extfs/helpers/patchfs.in |
77 | +++ b/src/vfs/extfs/helpers/patchfs.in | 78 | +++ b/src/vfs/extfs/helpers/patchfs.in |
78 | @@ -1,4 +1,4 @@ | 79 | @@ -1,4 +1,4 @@ |
@@ -107,7 +108,7 @@ index 418611f..82c7ccf 100644 | |||
107 | 'apr' => '04', 'may' => '05', 'jun' => '06', | 108 | 'apr' => '04', 'may' => '05', 'jun' => '06', |
108 | 'jul' => '07', 'aug' => '08', 'sep' => '09', | 109 | 'jul' => '07', 'aug' => '08', 'sep' => '09', |
109 | diff --git a/src/vfs/extfs/helpers/uzip.in b/src/vfs/extfs/helpers/uzip.in | 110 | diff --git a/src/vfs/extfs/helpers/uzip.in b/src/vfs/extfs/helpers/uzip.in |
110 | index b1c4f90..c8eb335 100644 | 111 | index c468f3a..ceffb53 100644 |
111 | --- a/src/vfs/extfs/helpers/uzip.in | 112 | --- a/src/vfs/extfs/helpers/uzip.in |
112 | +++ b/src/vfs/extfs/helpers/uzip.in | 113 | +++ b/src/vfs/extfs/helpers/uzip.in |
113 | @@ -1,4 +1,4 @@ | 114 | @@ -1,4 +1,4 @@ |
@@ -124,6 +125,3 @@ index b1c4f90..c8eb335 100644 | |||
124 | 125 | ||
125 | # | 126 | # |
126 | # Configuration options | 127 | # Configuration options |
127 | -- | ||
128 | 2.10.2 | ||
129 | |||