diff options
Diffstat (limited to 'meta/recipes-connectivity/bind/bind/0001-lib-dns-gen.c-fix-too-long-error.patch')
-rw-r--r-- | meta/recipes-connectivity/bind/bind/0001-lib-dns-gen.c-fix-too-long-error.patch | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/meta/recipes-connectivity/bind/bind/0001-lib-dns-gen.c-fix-too-long-error.patch b/meta/recipes-connectivity/bind/bind/0001-lib-dns-gen.c-fix-too-long-error.patch deleted file mode 100644 index 01874a4407..0000000000 --- a/meta/recipes-connectivity/bind/bind/0001-lib-dns-gen.c-fix-too-long-error.patch +++ /dev/null | |||
@@ -1,31 +0,0 @@ | |||
1 | From 5bc3167a8b714ec0c4a3f1c7f3b9411296ec0a23 Mon Sep 17 00:00:00 2001 | ||
2 | From: Robert Yang <liezhi.yang@windriver.com> | ||
3 | Date: Wed, 16 Sep 2015 20:23:47 -0700 | ||
4 | Subject: [PATCH] lib/dns/gen.c: fix too long error | ||
5 | |||
6 | The 512 is a little short when build in deep dir, and cause "too long" | ||
7 | error, use PATH_MAX if defined. | ||
8 | |||
9 | Upstream-Status: Pending | ||
10 | |||
11 | Signed-off-by: Robert Yang <liezhi.yang@windriver.com> | ||
12 | --- | ||
13 | lib/dns/gen.c | 4 ++++ | ||
14 | 1 file changed, 4 insertions(+) | ||
15 | |||
16 | Index: bind-9.11.3/lib/dns/gen.c | ||
17 | =================================================================== | ||
18 | --- bind-9.11.3.orig/lib/dns/gen.c | ||
19 | +++ bind-9.11.3/lib/dns/gen.c | ||
20 | @@ -130,7 +130,11 @@ static const char copyright[] = | ||
21 | #define TYPECLASSBUF (TYPECLASSLEN + 1) | ||
22 | #define TYPECLASSFMT "%" STR(TYPECLASSLEN) "[-0-9a-z]_%d" | ||
23 | #define ATTRIBUTESIZE 256 | ||
24 | +#ifdef PATH_MAX | ||
25 | +#define DIRNAMESIZE PATH_MAX | ||
26 | +#else | ||
27 | #define DIRNAMESIZE 512 | ||
28 | +#endif | ||
29 | |||
30 | static struct cc { | ||
31 | struct cc *next; | ||