package/popt: fix build without wchar
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Sat, 19 Sep 2020 17:07:41 +0000 (19:07 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sat, 19 Sep 2020 19:55:35 +0000 (21:55 +0200)
commit2cb057314a406afd9925b22686e1633b4e9ff697
tree3f7768a4b08ec5d50e3eaf9d528e8e6e4d25c8db
parentaaf909aa263f5bb2fe260fb43d59114ba5e2bd47
package/popt: fix build without wchar

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@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/popt/0002-Detect-glob_pattern_p.patch [new file with mode: 0644]
package/popt/0003-configure-replace-deprecated-macros.patch [new file with mode: 0644]
package/popt/0004-fix-build-without-wchar.patch [new file with mode: 0644]
package/popt/0005-fix-build-without-mbstate_t.patch [new file with mode: 0644]
package/popt/popt.mk