[Buildroot] [PATCH 1/1] package/popt: fix build without wchar

Thomas Petazzoni thomas.petazzoni at bootlin.com
Sat Sep 19 19:58:28 UTC 2020


On Sat, 19 Sep 2020 19:07:41 +0200
Fabrice Fontaine <fontaine.fabrice at gmail.com> wrote:

> Commit 82442b54b640fd4fbd5677e02690346a59f6cf13 removed
> 0001-no-wchar.patch but without importing an upstream patch that
> "should" have been equivalent to our patch but resulted in a build
> failure on toolchains with wchar but without mbsrtowcs
> 
> So add a bunch of upstream patches and a new patch to fix this build
> failure
> 
> While at it, also put back 0003-glob-detection.patch which, again, has
> been upstreamed but is not in version 1.18 ...
> 
> Fixes:
>  - http://autobuild.buildroot.org/results/27f184af35468941173628e5e847a284c0b80d73
> 
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
> ---
>  package/popt/0002-Detect-glob_pattern_p.patch | 53 +++++++++++++
>  ...-configure-replace-deprecated-macros.patch | 76 +++++++++++++++++++
>  .../popt/0004-fix-build-without-wchar.patch   | 53 +++++++++++++
>  .../0005-fix-build-without-mbstate_t.patch    | 68 +++++++++++++++++
>  package/popt/popt.mk                          |  2 +
>  5 files changed, 252 insertions(+)
>  create mode 100644 package/popt/0002-Detect-glob_pattern_p.patch
>  create mode 100644 package/popt/0003-configure-replace-deprecated-macros.patch
>  create mode 100644 package/popt/0004-fix-build-without-wchar.patch
>  create mode 100644 package/popt/0005-fix-build-without-mbstate_t.patch

Applied to master, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com



More information about the buildroot mailing list