postgresql: fix pgac_cv_snprintf_long_long_int_modifier
authorPeter Seiderer <ps.report@gmx.net>
Mon, 28 Nov 2016 18:53:51 +0000 (19:53 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 28 Nov 2016 20:37:38 +0000 (21:37 +0100)
Supplementary change the pgac_cv_snprintf_long_long_int_modifier from
complete format '%lld' to modifier 'll' version only (forgotten in commit
02c43157ab09f6fe4078fd1145fc9d403d66c089 ([1])).

Fixes Bug 9451 ([2]).

[1] https://git.buildroot.net/buildroot/commit/?id=02c43157ab09f6fe4078fd1145fc9d403d66c089
[2] https://bugs.busybox.net/show_bug.cgi?id=9451

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

index d46e8c0ec8ec77b7493e04a7a803e284cb7c9168..786ef4876ac0056f798e9b56a540b71b8fd80faf 100644 (file)
@@ -13,7 +13,7 @@ POSTGRESQL_INSTALL_STAGING = YES
 POSTGRESQL_CONFIG_SCRIPTS = pg_config
 POSTGRESQL_CONF_ENV = \
        ac_cv_type_struct_sockaddr_in6=yes \
-       pgac_cv_snprintf_long_long_int_modifier="%lld" \
+       pgac_cv_snprintf_long_long_int_modifier="ll" \
        pgac_cv_snprintf_size_t_support=yes
 POSTGRESQL_CONF_OPTS = --disable-rpath