From bf119cb33bfe732aecf08ff03d41e5bbc7e63b58 Mon Sep 17 00:00:00 2001 From: Dirk Neukirchen Date: Fri, 21 Aug 2015 09:59:27 +0200 Subject: [PATCH] postgresql: fix potential snprintf issue adopt buildroot commit: 3d3f70b567718ae308b5704ddd7d107c4849309e spotted while reviewing buildroot changes to postgresql Signed-off-by: Dirk Neukirchen --- libs/postgresql/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libs/postgresql/Makefile b/libs/postgresql/Makefile index ebec6cad0..5ab9a582e 100644 --- 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