postgresql: enable uclibc build
authorPeter Seiderer <ps.report@gmx.net>
Tue, 10 Mar 2015 19:59:37 +0000 (20:59 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 15 Mar 2015 17:56:32 +0000 (18:56 +0100)
commitf5e4ca10220e2325d3a34c0a423388e40b27dbdf
treef5d538839fb72f167984fdcb4607f95c5708e87e
parent3201c7746d7788f07237b0411535c5ed7a7ed60e
postgresql: enable uclibc build

Build with uclibc and locale support failes with the following error
message:

regc_pg_locale.c: In function ‘pg_wc_isdigit’:
regc_pg_locale.c:312:6: error: dereferencing pointer to incomplete type
      isdigit_l((unsigned char) c, pg_regex_locale));

This can be fixed by overwriting the HAVE_LOCALE_T detection (thanks
to Alex Potapenko <opotapenko@gmail.com> for the hint [1]).

[1] http://lists.busybox.net/pipermail/buildroot/2015-March/121088.html

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/postgresql/Config.in
package/postgresql/postgresql.mk