diff options
Diffstat (limited to 'meta/recipes-devtools/elfutils/files/debian/0001-fix-gcc7-ftbfs.patch')
-rw-r--r-- | meta/recipes-devtools/elfutils/files/debian/0001-fix-gcc7-ftbfs.patch | 57 |
1 files changed, 0 insertions, 57 deletions
diff --git a/meta/recipes-devtools/elfutils/files/debian/0001-fix-gcc7-ftbfs.patch b/meta/recipes-devtools/elfutils/files/debian/0001-fix-gcc7-ftbfs.patch deleted file mode 100644 index 26869a3a7d..0000000000 --- a/meta/recipes-devtools/elfutils/files/debian/0001-fix-gcc7-ftbfs.patch +++ /dev/null | |||
@@ -1,57 +0,0 @@ | |||
1 | From 91c0a0da2a8932f163d57db5d9d847bed6822502 Mon Sep 17 00:00:00 2001 | ||
2 | From: Hongxu Jia <hongxu.jia@windriver.com> | ||
3 | Date: Fri, 29 Jun 2018 15:59:57 +0800 | ||
4 | Subject: [PATCH] fix gcc7 ftbfs | ||
5 | |||
6 | Upstream-Status: Pending [from debian] | ||
7 | fix-gcc7-ftbfs.diff and rebase to 0.172 | ||
8 | |||
9 | http://ftp.de.debian.org/debian/pool/main/e/elfutils/elfutils_0.170-0.5.debian.tar.xz | ||
10 | |||
11 | Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> | ||
12 | --- | ||
13 | backends/mips_retval.c | 1 + | ||
14 | backends/parisc_retval.c | 1 + | ||
15 | src/ar.c | 2 +- | ||
16 | 3 files changed, 3 insertions(+), 1 deletion(-) | ||
17 | |||
18 | diff --git a/backends/mips_retval.c b/backends/mips_retval.c | ||
19 | index 57487bb..e7973a8 100644 | ||
20 | --- a/backends/mips_retval.c | ||
21 | +++ b/backends/mips_retval.c | ||
22 | @@ -390,6 +390,7 @@ mips_return_value_location (Dwarf_Die *functypedie, const Dwarf_Op **locp) | ||
23 | } | ||
24 | |||
25 | /* Fallthrough to handle large types */ | ||
26 | + /* Fall through. */ | ||
27 | |||
28 | case DW_TAG_array_type: | ||
29 | large: | ||
30 | diff --git a/backends/parisc_retval.c b/backends/parisc_retval.c | ||
31 | index df7ec3a..988e1fe 100644 | ||
32 | --- a/backends/parisc_retval.c | ||
33 | +++ b/backends/parisc_retval.c | ||
34 | @@ -167,6 +167,7 @@ parisc_return_value_location_ (Dwarf_Die *functypedie, const Dwarf_Op **locp, in | ||
35 | |||
36 | /* Else fall through. */ | ||
37 | } | ||
38 | + /* Fall through. */ | ||
39 | |||
40 | case DW_TAG_structure_type: | ||
41 | case DW_TAG_class_type: | ||
42 | diff --git a/src/ar.c b/src/ar.c | ||
43 | index 818115b..c77e9f4 100644 | ||
44 | --- a/src/ar.c | ||
45 | +++ b/src/ar.c | ||
46 | @@ -1073,7 +1073,7 @@ do_oper_delete (const char *arfname, char **argv, int argc, | ||
47 | static bool | ||
48 | no0print (bool ofmt, char *buf, int bufsize, long int val) | ||
49 | { | ||
50 | - char tmpbuf[bufsize + 1]; | ||
51 | + char tmpbuf[bufsize + 1 + 4]; | ||
52 | int ret = snprintf (tmpbuf, sizeof (tmpbuf), ofmt ? "%-*lo" : "%-*ld", | ||
53 | bufsize, val); | ||
54 | if (ret >= (int) sizeof (tmpbuf)) | ||
55 | -- | ||
56 | 2.7.4 | ||
57 | |||