commit bf119cb33bfe732aecf08ff03d41e5bbc7e63b58
parent b19dc5496efba9ef61bfd2874dc36278222b1b06
Author: Dirk Neukirchen <dirkneukirchen@web.de>
Date: Fri, 21 Aug 2015 09:59:27 +0200
postgresql: fix potential snprintf issue
adopt buildroot commit: 3d3f70b567718ae308b5704ddd7d107c4849309e
spotted while reviewing buildroot changes to postgresql
Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
Diffstat:
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/libs/postgresql/Makefile b/libs/postgresql/Makefile
@@ -66,6 +66,10 @@ define Package/pgsql-server/description
PostgreSQL databases Server.
endef
+PGSQL_CONFIG_VARS:= \
+ pgac_cv_snprintf_long_long_int_format="%lld" \
+ pgac_cv_snprintf_size_t_support=yes
+
ifeq ($(CONFIG_USE_UCLIBC),y)
# PostgreSQL does not build against uClibc with locales
# enabled, due to an uClibc bug, see