summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-dbs/postgresql/files/0004-config_info.c-not-expose-build-info.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-dbs/postgresql/files/0004-config_info.c-not-expose-build-info.patch')
-rw-r--r--meta-oe/recipes-dbs/postgresql/files/0004-config_info.c-not-expose-build-info.patch13
1 files changed, 5 insertions, 8 deletions
diff --git a/meta-oe/recipes-dbs/postgresql/files/0004-config_info.c-not-expose-build-info.patch b/meta-oe/recipes-dbs/postgresql/files/0004-config_info.c-not-expose-build-info.patch
index ff0582ab80..d94f028036 100644
--- a/meta-oe/recipes-dbs/postgresql/files/0004-config_info.c-not-expose-build-info.patch
+++ b/meta-oe/recipes-dbs/postgresql/files/0004-config_info.c-not-expose-build-info.patch
@@ -1,7 +1,7 @@
1From 5be3ffdf767c1efcbfd2d1be87aa83f2e37e348e Mon Sep 17 00:00:00 2001 1From 62733bdc9346651637d9e5ac7cbf8d7311ef5d97 Mon Sep 17 00:00:00 2001
2From: Mingli Yu <mingli.yu@windriver.com> 2From: Mingli Yu <mingli.yu@windriver.com>
3Date: Mon, 1 Aug 2022 15:44:38 +0800 3Date: Mon, 1 Aug 2022 15:44:38 +0800
4Subject: [PATCH 4/5] config_info.c: not expose build info 4Subject: [PATCH] config_info.c: not expose build info
5 5
6Don't collect the build information to fix the buildpaths issue. 6Don't collect the build information to fix the buildpaths issue.
7 7
@@ -14,10 +14,10 @@ Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
14 2 files changed, 2 insertions(+), 70 deletions(-) 14 2 files changed, 2 insertions(+), 70 deletions(-)
15 15
16diff --git a/configure.ac b/configure.ac 16diff --git a/configure.ac b/configure.ac
17index 27f382d..3dd6bb1 100644 17index f0fa973..8ccd8bc 100644
18--- a/configure.ac 18--- a/configure.ac
19+++ b/configure.ac 19+++ b/configure.ac
20@@ -23,7 +23,7 @@ AC_COPYRIGHT([Copyright (c) 1996-2023, PostgreSQL Global Development Group]) 20@@ -23,7 +23,7 @@ AC_COPYRIGHT([Copyright (c) 1996-2024, PostgreSQL Global Development Group])
21 AC_CONFIG_SRCDIR([src/backend/access/common/heaptuple.c]) 21 AC_CONFIG_SRCDIR([src/backend/access/common/heaptuple.c])
22 AC_CONFIG_AUX_DIR(config) 22 AC_CONFIG_AUX_DIR(config)
23 AC_PREFIX_DEFAULT(/usr/local/pgsql) 23 AC_PREFIX_DEFAULT(/usr/local/pgsql)
@@ -27,7 +27,7 @@ index 27f382d..3dd6bb1 100644
27 [PG_MAJORVERSION=`expr "$PACKAGE_VERSION" : '\([0-9][0-9]*\)'`] 27 [PG_MAJORVERSION=`expr "$PACKAGE_VERSION" : '\([0-9][0-9]*\)'`]
28 [PG_MINORVERSION=`expr "$PACKAGE_VERSION" : '.*\.\([0-9][0-9]*\)'`] 28 [PG_MINORVERSION=`expr "$PACKAGE_VERSION" : '.*\.\([0-9][0-9]*\)'`]
29diff --git a/src/common/config_info.c b/src/common/config_info.c 29diff --git a/src/common/config_info.c b/src/common/config_info.c
30index 09e78a6..86e4230 100644 30index 89c1ccb..a2206de 100644
31--- a/src/common/config_info.c 31--- a/src/common/config_info.c
32+++ b/src/common/config_info.c 32+++ b/src/common/config_info.c
33@@ -38,7 +38,7 @@ get_configdata(const char *my_exec_path, size_t *configdata_len) 33@@ -38,7 +38,7 @@ get_configdata(const char *my_exec_path, size_t *configdata_len)
@@ -114,6 +114,3 @@ index 09e78a6..86e4230 100644
114 configdata[i].name = pstrdup("VERSION"); 114 configdata[i].name = pstrdup("VERSION");
115 configdata[i].setting = pstrdup("PostgreSQL " PG_VERSION); 115 configdata[i].setting = pstrdup("PostgreSQL " PG_VERSION);
116 i++; 116 i++;
117--
1182.25.1
119