summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-dbs/postgresql/files/0001-config_info.c-not-expose-build-info.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-dbs/postgresql/files/0001-config_info.c-not-expose-build-info.patch')
-rw-r--r--meta-oe/recipes-dbs/postgresql/files/0001-config_info.c-not-expose-build-info.patch18
1 files changed, 8 insertions, 10 deletions
diff --git a/meta-oe/recipes-dbs/postgresql/files/0001-config_info.c-not-expose-build-info.patch b/meta-oe/recipes-dbs/postgresql/files/0001-config_info.c-not-expose-build-info.patch
index 52ca276da6..eff69140f7 100644
--- a/meta-oe/recipes-dbs/postgresql/files/0001-config_info.c-not-expose-build-info.patch
+++ b/meta-oe/recipes-dbs/postgresql/files/0001-config_info.c-not-expose-build-info.patch
@@ -1,4 +1,4 @@
1From b92eebe8b0760fee7bd55c6c22318620c2c07579 Mon Sep 17 00:00:00 2001 1From 805f03529c7fc33685979651562112bab524e5a5 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] config_info.c: not expose build info 4Subject: [PATCH] config_info.c: not expose build info
@@ -8,13 +8,14 @@ Don't collect the build information to fix the buildpaths issue.
8Upstream-Status: Inappropriate [oe specific] 8Upstream-Status: Inappropriate [oe specific]
9 9
10Signed-off-by: Mingli Yu <mingli.yu@windriver.com> 10Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
11
11--- 12---
12 configure.ac | 2 +- 13 configure.ac | 2 +-
13 src/common/config_info.c | 68 ---------------------------------------- 14 src/common/config_info.c | 70 +---------------------------------------
14 2 files changed, 1 insertion(+), 69 deletions(-) 15 2 files changed, 2 insertions(+), 70 deletions(-)
15 16
16diff --git a/configure.ac b/configure.ac 17diff --git a/configure.ac b/configure.ac
17index 0eb595b..508487b 100644 18index 54a539e..c6edc0a 100644
18--- a/configure.ac 19--- a/configure.ac
19+++ b/configure.ac 20+++ b/configure.ac
20@@ -23,7 +23,7 @@ AC_COPYRIGHT([Copyright (c) 1996-2021, PostgreSQL Global Development Group]) 21@@ -23,7 +23,7 @@ AC_COPYRIGHT([Copyright (c) 1996-2021, PostgreSQL Global Development Group])
@@ -27,10 +28,10 @@ index 0eb595b..508487b 100644
27 [PG_MAJORVERSION=`expr "$PACKAGE_VERSION" : '\([0-9][0-9]*\)'`] 28 [PG_MAJORVERSION=`expr "$PACKAGE_VERSION" : '\([0-9][0-9]*\)'`]
28 [PG_MINORVERSION=`expr "$PACKAGE_VERSION" : '.*\.\([0-9][0-9]*\)'`] 29 [PG_MINORVERSION=`expr "$PACKAGE_VERSION" : '.*\.\([0-9][0-9]*\)'`]
29diff --git a/src/common/config_info.c b/src/common/config_info.c 30diff --git a/src/common/config_info.c b/src/common/config_info.c
30index e72e729..b482c20 100644 31index e72e729..a020236 100644
31--- a/src/common/config_info.c 32--- a/src/common/config_info.c
32+++ b/src/common/config_info.c 33+++ b/src/common/config_info.c
33@@ -38,7 +38,7 @@ 34@@ -38,7 +38,7 @@ get_configdata(const char *my_exec_path, size_t *configdata_len)
34 int i = 0; 35 int i = 0;
35 36
36 /* Adjust this to match the number of items filled below */ 37 /* Adjust this to match the number of items filled below */
@@ -39,7 +40,7 @@ index e72e729..b482c20 100644
39 configdata = (ConfigData *) palloc(*configdata_len * sizeof(ConfigData)); 40 configdata = (ConfigData *) palloc(*configdata_len * sizeof(ConfigData));
40 41
41 configdata[i].name = pstrdup("BINDIR"); 42 configdata[i].name = pstrdup("BINDIR");
42@@ -123,74 +123,6 @@ 43@@ -123,74 +123,6 @@ get_configdata(const char *my_exec_path, size_t *configdata_len)
43 configdata[i].setting = pstrdup(path); 44 configdata[i].setting = pstrdup(path);
44 i++; 45 i++;
45 46
@@ -114,6 +115,3 @@ index e72e729..b482c20 100644
114 configdata[i].name = pstrdup("VERSION"); 115 configdata[i].name = pstrdup("VERSION");
115 configdata[i].setting = pstrdup("PostgreSQL " PG_VERSION); 116 configdata[i].setting = pstrdup("PostgreSQL " PG_VERSION);
116 i++; 117 i++;
117--
1182.25.1
119