Re: [OE-core] [PATCH] bind: Update to latest stable, 9.14.
On 7/28/19 2:28 AM, Adrian Bunk wrote: On Sat, Jul 27, 2019 at 01:49:26PM -0700, Armin Kuster wrote: Even releases are stable and supported for 1 year. ... 9.11 upstream support covers the whole lifetime of Yocto 2.8, 9.14 upstream support does not. dhcp server would need porting to 9.14 as well Eve worse, Yocto 2.9 would ship with 9.14 that might become EOL around the time of the 2.9 release. ESV (3 years supported) releases are planned when upstream is divisible by 4. cu Adrian -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
Re: [OE-core] [PATCH] bind: Update to latest stable, 9.14.
Indeed; I think we should wait for 9.16, and take the latest in 9.11 meanwhile. Alex On Sun, 28 Jul 2019 at 11:29, Adrian Bunk wrote: > On Sat, Jul 27, 2019 at 01:49:26PM -0700, Armin Kuster wrote: > > Even releases are stable and supported for 1 year. > >... > > 9.11 upstream support covers the whole lifetime of Yocto 2.8, > 9.14 upstream support does not. > > Eve worse, Yocto 2.9 would ship with 9.14 that might become EOL around > the time of the 2.9 release. > > ESV (3 years supported) releases are planned when upstream > is divisible by 4. > > cu > Adrian > > -- > >"Is there not promise of rain?" Ling Tan asked suddenly out > of the darkness. There had been need of rain for many days. >"Only a promise," Lao Er said. >Pearl S. Buck - Dragon Seed > > -- > ___ > Openembedded-core mailing list > Openembedded-core@lists.openembedded.org > http://lists.openembedded.org/mailman/listinfo/openembedded-core > -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
Re: [OE-core] [PATCH] bind: Update to latest stable, 9.14.
On 7/28/19 12:08 AM, akuster808 wrote: On 7/27/19 8:44 PM, Mittal, Anuj wrote: This is causing errors: | Makefile:557: recipe for target 'alloc.lo' failed | make[2]: *** [alloc.lo] Error 1 | In file included from ../includes/dhcpd.h:91, | from conflex.c:29: | ../includes/omapip/isclib.h:51:10: fatal error: isc/boolean.h: No such file or directory |51 | #include | | ^~~ | compilation terminated. | Makefile:557: recipe for target 'dhcp4o6.lo' failed | make[2]: *** [dhcp4o6.lo] Error 1 | In file included from ../includes/dhcpd.h:91, | from icmp.c:30: | ../includes/omapip/isclib.h:51:10: fatal error: isc/boolean.h: No such file or directory |51 | #include | | ^~~ | compilation terminated. | Makefile:557: recipe for target 'dispatch.lo' failed | make[2]: *** [dispatch.lo] Error 1 | In file included from ../includes/dhcpd.h:91, | from bpf.c:35: | ../includes/omapip/isclib.h:51:10: fatal error: isc/boolean.h: No such file or directory |51 | #include | | ^~~ https://autobuilder.yoctoproject.org/typhoon/#/builders/64/builds/871/steps/8/logs/step1b Ah, musl.. ok thanks, this is basically due to [1] [1] https://gitlab.isc.org/isc-projects/bind9/commit/4c06eb20cc2e11e78412031babebc6273be5dc08 Armin Thanks, Anuj On Sat, 2019-07-27 at 13:49 -0700, Armin Kuster wrote: Even releases are stable and supported for 1 year. Drop patches no longer needed. Refresh a few patches. Removed config options no longed supported. Signed-off-by: Armin Kuster --- ...igure.in-remove-useless-L-use_openssl-lib.patch | 32 - ...-gen.c-extend-DIRNAMESIZE-from-256-to-512.patch | 22 --- .../0001-lib-dns-gen.c-fix-too-long-error.patch| 31 ...lwresd-V-and-start-log-hide-build-options.patch | 33 ++ ...-searching-for-json-headers-searches-sysr.patch | 30 ++ -- .../bind/{bind_9.11.5-P4.bb => bind_9.14.3.bb} | 24 ++ -- 6 files changed, 38 insertions(+), 134 deletions(-) delete mode 100644 meta/recipes-connectivity/bind/bind/0001- configure.in-remove-useless-L-use_openssl-lib.patch delete mode 100644 meta/recipes-connectivity/bind/bind/0001-gen.c- extend-DIRNAMESIZE-from-256-to-512.patch delete mode 100644 meta/recipes-connectivity/bind/bind/0001-lib-dns- gen.c-fix-too-long-error.patch rename meta/recipes-connectivity/bind/{bind_9.11.5-P4.bb => bind_9.14.3.bb} (83%) diff --git a/meta/recipes-connectivity/bind/bind/0001-configure.in- remove-useless-L-use_openssl-lib.patch b/meta/recipes- connectivity/bind/bind/0001-configure.in-remove-useless-L- use_openssl-lib.patch deleted file mode 100644 index 871bb2a..000 --- a/meta/recipes-connectivity/bind/bind/0001-configure.in-remove- useless-L-use_openssl-lib.patch +++ /dev/null @@ -1,32 +0,0 @@ -From 950867d9fd3f690e271c8c807b6eed144b2935b2 Mon Sep 17 00:00:00 2001 -From: Hongxu Jia -Date: Mon, 27 Aug 2018 15:00:51 +0800 -Subject: [PATCH] configure.in: remove useless `-L$use_openssl/lib' - -Since `--with-openssl=${STAGING_DIR_HOST}${prefix}' is used in bind recipe, -the `-L$use_openssl/lib' has a hardcoded suffix, removing it is harmless -and helpful for clean up host build path in isc-config.sh - -Upstream-Status: Inappropriate [oe-core specific] - -Signed-off-by: Hongxu Jia - configure.in | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/configure.in b/configure.in -index 54efc55..76ac0eb 100644 a/configure.in -+++ b/configure.in -@@ -1691,7 +1691,7 @@ If you don't want OpenSSL, use --without- openssl]) - fi - ;; - *) -- DST_OPENSSL_LIBS="-L$use_openssl/lib -lcrypto" -+ DST_OPENSSL_LIBS="-lcrypto" - ;; - esac - fi --- -2.7.4 - diff --git a/meta/recipes-connectivity/bind/bind/0001-gen.c-extend- DIRNAMESIZE-from-256-to-512.patch b/meta/recipes- connectivity/bind/bind/0001-gen.c-extend-DIRNAMESIZE-from-256-to- 512.patch deleted file mode 100644 index a8d601d..000 --- a/meta/recipes-connectivity/bind/bind/0001-gen.c-extend- DIRNAMESIZE-from-256-to-512.patch +++ /dev/null @@ -1,22 +0,0 @@ -Upstream-Status: Pending - -Subject: gen.c: extend DIRNAMESIZE from 256 to 512 - -Signed-off-by: Chen Qi - lib/dns/gen.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -Index: bind-9.11.3/lib/dns/gen.c -=== bind-9.11.3.orig/lib/dns/gen.c -+++ bind-9.11.3/lib/dns/gen.c -@@ -130,7 +130,7 @@ static const char copyright[] = - #define TYPECLASSBUF (TYPECLASSLEN + 1) - #define TYPECLASSFMT "%" STR(TYPECLASSLEN) "[-0-9a-z]_%d" - #define ATTRIBUTESIZE 256 --#define DIRNAMESIZE 256 -+#define DIRNAMESIZE 512
Re: [OE-core] [PATCH] bind: Update to latest stable, 9.14.
On Sat, Jul 27, 2019 at 01:49:26PM -0700, Armin Kuster wrote: > Even releases are stable and supported for 1 year. >... 9.11 upstream support covers the whole lifetime of Yocto 2.8, 9.14 upstream support does not. Eve worse, Yocto 2.9 would ship with 9.14 that might become EOL around the time of the 2.9 release. ESV (3 years supported) releases are planned when upstream is divisible by 4. cu Adrian -- "Is there not promise of rain?" Ling Tan asked suddenly out of the darkness. There had been need of rain for many days. "Only a promise," Lao Er said. Pearl S. Buck - Dragon Seed -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
Re: [OE-core] [PATCH] bind: Update to latest stable, 9.14.
On 7/27/19 8:44 PM, Mittal, Anuj wrote: > This is causing errors: > > | Makefile:557: recipe for target 'alloc.lo' failed > | make[2]: *** [alloc.lo] Error 1 > | In file included from ../includes/dhcpd.h:91, > | from conflex.c:29: > | ../includes/omapip/isclib.h:51:10: fatal error: isc/boolean.h: No > such file or directory > |51 | #include > | | ^~~ > | compilation terminated. > | Makefile:557: recipe for target 'dhcp4o6.lo' failed > | make[2]: *** [dhcp4o6.lo] Error 1 > | In file included from ../includes/dhcpd.h:91, > | from icmp.c:30: > | ../includes/omapip/isclib.h:51:10: fatal error: isc/boolean.h: No > such file or directory > |51 | #include > | | ^~~ > | compilation terminated. > | Makefile:557: recipe for target 'dispatch.lo' failed > | make[2]: *** [dispatch.lo] Error 1 > | In file included from ../includes/dhcpd.h:91, > | from bpf.c:35: > | ../includes/omapip/isclib.h:51:10: fatal error: isc/boolean.h: No > such file or directory > |51 | #include > | | ^~~ > > https://autobuilder.yoctoproject.org/typhoon/#/builders/64/builds/871/steps/8/logs/step1b Ah, musl.. ok thanks, Armin > > Thanks, > > Anuj > > On Sat, 2019-07-27 at 13:49 -0700, Armin Kuster wrote: >> Even releases are stable and supported for 1 year. >> >> Drop patches no longer needed. >> Refresh a few patches. >> Removed config options no longed supported. >> >> Signed-off-by: Armin Kuster >> --- >> ...igure.in-remove-useless-L-use_openssl-lib.patch | 32 >> - >> ...-gen.c-extend-DIRNAMESIZE-from-256-to-512.patch | 22 >> --- >> .../0001-lib-dns-gen.c-fix-too-long-error.patch| 31 >> >> ...lwresd-V-and-start-log-hide-build-options.patch | 33 ++ >> >> ...-searching-for-json-headers-searches-sysr.patch | 30 ++ >> -- >> .../bind/{bind_9.11.5-P4.bb => bind_9.14.3.bb} | 24 ++ >> -- >> 6 files changed, 38 insertions(+), 134 deletions(-) >> delete mode 100644 meta/recipes-connectivity/bind/bind/0001- >> configure.in-remove-useless-L-use_openssl-lib.patch >> delete mode 100644 meta/recipes-connectivity/bind/bind/0001-gen.c- >> extend-DIRNAMESIZE-from-256-to-512.patch >> delete mode 100644 meta/recipes-connectivity/bind/bind/0001-lib-dns- >> gen.c-fix-too-long-error.patch >> rename meta/recipes-connectivity/bind/{bind_9.11.5-P4.bb => >> bind_9.14.3.bb} (83%) >> >> diff --git a/meta/recipes-connectivity/bind/bind/0001-configure.in- >> remove-useless-L-use_openssl-lib.patch b/meta/recipes- >> connectivity/bind/bind/0001-configure.in-remove-useless-L- >> use_openssl-lib.patch >> deleted file mode 100644 >> index 871bb2a..000 >> --- a/meta/recipes-connectivity/bind/bind/0001-configure.in-remove- >> useless-L-use_openssl-lib.patch >> +++ /dev/null >> @@ -1,32 +0,0 @@ >> -From 950867d9fd3f690e271c8c807b6eed144b2935b2 Mon Sep 17 00:00:00 >> 2001 >> -From: Hongxu Jia >> -Date: Mon, 27 Aug 2018 15:00:51 +0800 >> -Subject: [PATCH] configure.in: remove useless `-L$use_openssl/lib' >> - >> -Since `--with-openssl=${STAGING_DIR_HOST}${prefix}' is used in bind >> recipe, >> -the `-L$use_openssl/lib' has a hardcoded suffix, removing it is >> harmless >> -and helpful for clean up host build path in isc-config.sh >> - >> -Upstream-Status: Inappropriate [oe-core specific] >> - >> -Signed-off-by: Hongxu Jia >> >> - configure.in | 2 +- >> - 1 file changed, 1 insertion(+), 1 deletion(-) >> - >> -diff --git a/configure.in b/configure.in >> -index 54efc55..76ac0eb 100644 >> a/configure.in >> -+++ b/configure.in >> -@@ -1691,7 +1691,7 @@ If you don't want OpenSSL, use --without- >> openssl]) >> -fi >> -;; >> -*) >> -- DST_OPENSSL_LIBS="-L$use_openssl/lib >> -lcrypto" >> -+ DST_OPENSSL_LIBS="-lcrypto" >> -;; >> -esac >> -fi >> --- >> -2.7.4 >> - >> diff --git a/meta/recipes-connectivity/bind/bind/0001-gen.c-extend- >> DIRNAMESIZE-from-256-to-512.patch b/meta/recipes- >> connectivity/bind/bind/0001-gen.c-extend-DIRNAMESIZE-from-256-to- >> 512.patch >> deleted file mode 100644 >> index a8d601d..000 >> --- a/meta/recipes-connectivity/bind/bind/0001-gen.c-extend- >> DIRNAMESIZE-from-256-to-512.patch >> +++ /dev/null >> @@ -1,22 +0,0 @@ >> -Upstream-Status: Pending >> - >> -Subject: gen.c: extend DIRNAMESIZE from 256 to 512 >> - >> -Signed-off-by: Chen Qi >> >> - lib/dns/gen.c | 2 +- >> - 1 file changed, 1 insertion(+), 1 deletion(-) >> - >> -Index: bind-9.11.3/lib/dns/gen.c >> -=== >> bind-9.11.3.orig/lib/dns/gen.c >> -+++ bind-9.11.3/lib/dns/gen.c >> -@@ -130,7 +130,7 @@ static const char copyright[] = >> - #define TYPECLASSBUF
Re: [OE-core] [PATCH] bind: Update to latest stable, 9.14.
This is causing errors: | Makefile:557: recipe for target 'alloc.lo' failed | make[2]: *** [alloc.lo] Error 1 | In file included from ../includes/dhcpd.h:91, | from conflex.c:29: | ../includes/omapip/isclib.h:51:10: fatal error: isc/boolean.h: No such file or directory |51 | #include | | ^~~ | compilation terminated. | Makefile:557: recipe for target 'dhcp4o6.lo' failed | make[2]: *** [dhcp4o6.lo] Error 1 | In file included from ../includes/dhcpd.h:91, | from icmp.c:30: | ../includes/omapip/isclib.h:51:10: fatal error: isc/boolean.h: No such file or directory |51 | #include | | ^~~ | compilation terminated. | Makefile:557: recipe for target 'dispatch.lo' failed | make[2]: *** [dispatch.lo] Error 1 | In file included from ../includes/dhcpd.h:91, | from bpf.c:35: | ../includes/omapip/isclib.h:51:10: fatal error: isc/boolean.h: No such file or directory |51 | #include | | ^~~ https://autobuilder.yoctoproject.org/typhoon/#/builders/64/builds/871/steps/8/logs/step1b Thanks, Anuj On Sat, 2019-07-27 at 13:49 -0700, Armin Kuster wrote: > Even releases are stable and supported for 1 year. > > Drop patches no longer needed. > Refresh a few patches. > Removed config options no longed supported. > > Signed-off-by: Armin Kuster > --- > ...igure.in-remove-useless-L-use_openssl-lib.patch | 32 > - > ...-gen.c-extend-DIRNAMESIZE-from-256-to-512.patch | 22 > --- > .../0001-lib-dns-gen.c-fix-too-long-error.patch| 31 > > ...lwresd-V-and-start-log-hide-build-options.patch | 33 ++ > > ...-searching-for-json-headers-searches-sysr.patch | 30 ++ > -- > .../bind/{bind_9.11.5-P4.bb => bind_9.14.3.bb} | 24 ++ > -- > 6 files changed, 38 insertions(+), 134 deletions(-) > delete mode 100644 meta/recipes-connectivity/bind/bind/0001- > configure.in-remove-useless-L-use_openssl-lib.patch > delete mode 100644 meta/recipes-connectivity/bind/bind/0001-gen.c- > extend-DIRNAMESIZE-from-256-to-512.patch > delete mode 100644 meta/recipes-connectivity/bind/bind/0001-lib-dns- > gen.c-fix-too-long-error.patch > rename meta/recipes-connectivity/bind/{bind_9.11.5-P4.bb => > bind_9.14.3.bb} (83%) > > diff --git a/meta/recipes-connectivity/bind/bind/0001-configure.in- > remove-useless-L-use_openssl-lib.patch b/meta/recipes- > connectivity/bind/bind/0001-configure.in-remove-useless-L- > use_openssl-lib.patch > deleted file mode 100644 > index 871bb2a..000 > --- a/meta/recipes-connectivity/bind/bind/0001-configure.in-remove- > useless-L-use_openssl-lib.patch > +++ /dev/null > @@ -1,32 +0,0 @@ > -From 950867d9fd3f690e271c8c807b6eed144b2935b2 Mon Sep 17 00:00:00 > 2001 > -From: Hongxu Jia > -Date: Mon, 27 Aug 2018 15:00:51 +0800 > -Subject: [PATCH] configure.in: remove useless `-L$use_openssl/lib' > - > -Since `--with-openssl=${STAGING_DIR_HOST}${prefix}' is used in bind > recipe, > -the `-L$use_openssl/lib' has a hardcoded suffix, removing it is > harmless > -and helpful for clean up host build path in isc-config.sh > - > -Upstream-Status: Inappropriate [oe-core specific] > - > -Signed-off-by: Hongxu Jia > > - configure.in | 2 +- > - 1 file changed, 1 insertion(+), 1 deletion(-) > - > -diff --git a/configure.in b/configure.in > -index 54efc55..76ac0eb 100644 > a/configure.in > -+++ b/configure.in > -@@ -1691,7 +1691,7 @@ If you don't want OpenSSL, use --without- > openssl]) > - fi > - ;; > - *) > --DST_OPENSSL_LIBS="-L$use_openssl/lib > -lcrypto" > -+DST_OPENSSL_LIBS="-lcrypto" > - ;; > - esac > - fi > --- > -2.7.4 > - > diff --git a/meta/recipes-connectivity/bind/bind/0001-gen.c-extend- > DIRNAMESIZE-from-256-to-512.patch b/meta/recipes- > connectivity/bind/bind/0001-gen.c-extend-DIRNAMESIZE-from-256-to- > 512.patch > deleted file mode 100644 > index a8d601d..000 > --- a/meta/recipes-connectivity/bind/bind/0001-gen.c-extend- > DIRNAMESIZE-from-256-to-512.patch > +++ /dev/null > @@ -1,22 +0,0 @@ > -Upstream-Status: Pending > - > -Subject: gen.c: extend DIRNAMESIZE from 256 to 512 > - > -Signed-off-by: Chen Qi > > - lib/dns/gen.c | 2 +- > - 1 file changed, 1 insertion(+), 1 deletion(-) > - > -Index: bind-9.11.3/lib/dns/gen.c > -=== > bind-9.11.3.orig/lib/dns/gen.c > -+++ bind-9.11.3/lib/dns/gen.c > -@@ -130,7 +130,7 @@ static const char copyright[] = > - #define TYPECLASSBUF (TYPECLASSLEN + 1) > - #define TYPECLASSFMT "%" STR(TYPECLASSLEN) "[-0-9a-z]_%d" > - #define ATTRIBUTESIZE 256 > --#define DIRNAMESIZE 256 > -+#define DIRNAMESIZE 512 > - > - static struct cc { > - struct cc *next; > diff
[OE-core] [PATCH] bind: Update to latest stable, 9.14.
Even releases are stable and supported for 1 year. Drop patches no longer needed. Refresh a few patches. Removed config options no longed supported. Signed-off-by: Armin Kuster --- ...igure.in-remove-useless-L-use_openssl-lib.patch | 32 - ...-gen.c-extend-DIRNAMESIZE-from-256-to-512.patch | 22 --- .../0001-lib-dns-gen.c-fix-too-long-error.patch| 31 ...lwresd-V-and-start-log-hide-build-options.patch | 33 ++ ...-searching-for-json-headers-searches-sysr.patch | 30 ++-- .../bind/{bind_9.11.5-P4.bb => bind_9.14.3.bb} | 24 ++-- 6 files changed, 38 insertions(+), 134 deletions(-) delete mode 100644 meta/recipes-connectivity/bind/bind/0001-configure.in-remove-useless-L-use_openssl-lib.patch delete mode 100644 meta/recipes-connectivity/bind/bind/0001-gen.c-extend-DIRNAMESIZE-from-256-to-512.patch delete mode 100644 meta/recipes-connectivity/bind/bind/0001-lib-dns-gen.c-fix-too-long-error.patch rename meta/recipes-connectivity/bind/{bind_9.11.5-P4.bb => bind_9.14.3.bb} (83%) diff --git a/meta/recipes-connectivity/bind/bind/0001-configure.in-remove-useless-L-use_openssl-lib.patch b/meta/recipes-connectivity/bind/bind/0001-configure.in-remove-useless-L-use_openssl-lib.patch deleted file mode 100644 index 871bb2a..000 --- a/meta/recipes-connectivity/bind/bind/0001-configure.in-remove-useless-L-use_openssl-lib.patch +++ /dev/null @@ -1,32 +0,0 @@ -From 950867d9fd3f690e271c8c807b6eed144b2935b2 Mon Sep 17 00:00:00 2001 -From: Hongxu Jia -Date: Mon, 27 Aug 2018 15:00:51 +0800 -Subject: [PATCH] configure.in: remove useless `-L$use_openssl/lib' - -Since `--with-openssl=${STAGING_DIR_HOST}${prefix}' is used in bind recipe, -the `-L$use_openssl/lib' has a hardcoded suffix, removing it is harmless -and helpful for clean up host build path in isc-config.sh - -Upstream-Status: Inappropriate [oe-core specific] - -Signed-off-by: Hongxu Jia - configure.in | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/configure.in b/configure.in -index 54efc55..76ac0eb 100644 a/configure.in -+++ b/configure.in -@@ -1691,7 +1691,7 @@ If you don't want OpenSSL, use --without-openssl]) - fi - ;; - *) -- DST_OPENSSL_LIBS="-L$use_openssl/lib -lcrypto" -+ DST_OPENSSL_LIBS="-lcrypto" - ;; - esac - fi --- -2.7.4 - diff --git a/meta/recipes-connectivity/bind/bind/0001-gen.c-extend-DIRNAMESIZE-from-256-to-512.patch b/meta/recipes-connectivity/bind/bind/0001-gen.c-extend-DIRNAMESIZE-from-256-to-512.patch deleted file mode 100644 index a8d601d..000 --- a/meta/recipes-connectivity/bind/bind/0001-gen.c-extend-DIRNAMESIZE-from-256-to-512.patch +++ /dev/null @@ -1,22 +0,0 @@ -Upstream-Status: Pending - -Subject: gen.c: extend DIRNAMESIZE from 256 to 512 - -Signed-off-by: Chen Qi - lib/dns/gen.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -Index: bind-9.11.3/lib/dns/gen.c -=== bind-9.11.3.orig/lib/dns/gen.c -+++ bind-9.11.3/lib/dns/gen.c -@@ -130,7 +130,7 @@ static const char copyright[] = - #define TYPECLASSBUF (TYPECLASSLEN + 1) - #define TYPECLASSFMT "%" STR(TYPECLASSLEN) "[-0-9a-z]_%d" - #define ATTRIBUTESIZE 256 --#define DIRNAMESIZE 256 -+#define DIRNAMESIZE 512 - - static struct cc { - struct cc *next; 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 01874a4..000 --- a/meta/recipes-connectivity/bind/bind/0001-lib-dns-gen.c-fix-too-long-error.patch +++ /dev/null @@ -1,31 +0,0 @@ -From 5bc3167a8b714ec0c4a3f1c7f3b9411296ec0a23 Mon Sep 17 00:00:00 2001 -From: Robert Yang -Date: Wed, 16 Sep 2015 20:23:47 -0700 -Subject: [PATCH] lib/dns/gen.c: fix too long error - -The 512 is a little short when build in deep dir, and cause "too long" -error, use PATH_MAX if defined. - -Upstream-Status: Pending - -Signed-off-by: Robert Yang - lib/dns/gen.c |4 - 1 file changed, 4 insertions(+) - -Index: bind-9.11.3/lib/dns/gen.c -=== bind-9.11.3.orig/lib/dns/gen.c -+++ bind-9.11.3/lib/dns/gen.c -@@ -130,7 +130,11 @@ static const char copyright[] = - #define TYPECLASSBUF (TYPECLASSLEN + 1) - #define TYPECLASSFMT "%" STR(TYPECLASSLEN) "[-0-9a-z]_%d" - #define ATTRIBUTESIZE 256 -+#ifdef PATH_MAX -+#define DIRNAMESIZE PATH_MAX -+#else - #define DIRNAMESIZE 512 -+#endif - - static struct cc { - struct cc *next; diff --git a/meta/recipes-connectivity/bind/bind/0001-named-lwresd-V-and-start-log-hide-build-options.patch