Gentoo Archives: gentoo-commits

From: Aaron Swenson <titanofold@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/pgsql-patches:9.1 commit in: /
Date: Mon, 04 Jul 2011 22:56:07
Message-Id: f15bfd5e94ee08640ffe900a5eb4fe793abec673.titanofold@gentoo
1 commit: f15bfd5e94ee08640ffe900a5eb4fe793abec673
2 Author: Aaron W. Swenson <titanofold <AT> gentoo <DOT> org>
3 AuthorDate: Mon May 2 23:05:52 2011 +0000
4 Commit: Aaron Swenson <titanofold <AT> gentoo <DOT> org>
5 CommitDate: Mon May 2 23:05:52 2011 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/pgsql-patches.git;a=commit;h=f15bfd5e
7
8 Update for PostgreSQL 9.1beta1
9
10 ---
11 autoconf.patch | 6 ++--
12 base.patch | 22 ++++++++++----------
13 regress.patch | 16 +++++++-------
14 server.patch | 62 ++++++++++++++++++++++++++++----------------------------
15 4 files changed, 53 insertions(+), 53 deletions(-)
16
17 diff --git a/autoconf.patch b/autoconf.patch
18 index a2027a7..2a82580 100644
19 --- a/autoconf.patch
20 +++ b/autoconf.patch
21 @@ -1,9 +1,9 @@
22 diff -Naur a/configure.in b/configure.in
23 ---- a/configure.in 2010-07-08 22:43:12.000000000 -0400
24 -+++ b/configure.in 2010-07-12 00:13:37.585527031 -0400
25 +--- a/configure.in 2011-04-27 17:17:22.000000000 -0400
26 ++++ b/configure.in 2011-05-02 18:02:31.471665153 -0400
27 @@ -19,10 +19,6 @@
28
29 - AC_INIT([PostgreSQL], [9.1alpha4], [pgsql-bugs@××××××××××.org])
30 + AC_INIT([PostgreSQL], [9.1beta1], [pgsql-bugs@××××××××××.org])
31
32 -m4_if(m4_defn([m4_PACKAGE_VERSION]), [2.63], [], [m4_fatal([Autoconf version 2.63 is required.
33 -Untested combinations of 'autoconf' and PostgreSQL versions are not
34
35 diff --git a/base.patch b/base.patch
36 index c55bb77..9c53e1b 100644
37 --- a/base.patch
38 +++ b/base.patch
39 @@ -1,6 +1,6 @@
40 diff -Naur a/contrib/Makefile b/contrib/Makefile
41 ---- a/contrib/Makefile 2011-03-28 09:42:09.000000000 -0400
42 -+++ b/contrib/Makefile 2011-03-29 20:18:08.394999851 -0400
43 +--- a/contrib/Makefile 2011-04-27 17:17:22.000000000 -0400
44 ++++ b/contrib/Makefile 2011-05-02 18:13:25.185010280 -0400
45 @@ -5,54 +5,10 @@
46 include $(top_builddir)/src/Makefile.global
47
48 @@ -57,8 +57,8 @@ diff -Naur a/contrib/Makefile b/contrib/Makefile
49 ifeq ($(with_ossp_uuid),yes)
50 SUBDIRS += uuid-ossp
51 diff -Naur a/src/Makefile b/src/Makefile
52 ---- a/src/Makefile 2011-03-28 09:42:09.000000000 -0400
53 -+++ b/src/Makefile 2011-03-29 20:19:45.356494851 -0400
54 +--- a/src/Makefile 2011-04-27 17:17:22.000000000 -0400
55 ++++ b/src/Makefile 2011-05-02 18:14:24.435313471 -0400
56 @@ -14,17 +14,11 @@
57
58 SUBDIRS = \
59 @@ -79,8 +79,8 @@ diff -Naur a/src/Makefile b/src/Makefile
60 # There are too many interdependencies between the subdirectories, so
61 # don't attempt parallel make here.
62 diff -Naur a/src/backend/Makefile b/src/backend/Makefile
63 ---- a/src/backend/Makefile 2011-03-28 09:42:09.000000000 -0400
64 -+++ b/src/backend/Makefile 2011-03-29 20:24:25.836184851 -0400
65 +--- a/src/backend/Makefile 2011-04-27 17:17:22.000000000 -0400
66 ++++ b/src/backend/Makefile 2011-05-02 18:19:06.946759115 -0400
67 @@ -45,7 +45,7 @@
68
69 ##########################################################################
70 @@ -125,21 +125,21 @@ diff -Naur a/src/backend/Makefile b/src/backend/Makefile
71 install-bin: postgres $(POSTGRES_IMP) installdirs
72 $(INSTALL_PROGRAM) postgres$(X) '$(DESTDIR)$(bindir)/postgres$(X)'
73 diff -Naur a/src/bin/Makefile b/src/bin/Makefile
74 ---- a/src/bin/Makefile 2011-03-28 09:42:09.000000000 -0400
75 -+++ b/src/bin/Makefile 2011-03-29 20:25:34.162004851 -0400
76 +--- a/src/bin/Makefile 2011-04-27 17:17:22.000000000 -0400
77 ++++ b/src/bin/Makefile 2011-05-02 18:20:49.697284900 -0400
78 @@ -13,8 +13,7 @@
79 top_builddir = ../..
80 include $(top_builddir)/src/Makefile.global
81
82 -SUBDIRS = initdb pg_ctl pg_dump \
83 - psql scripts pg_config pg_controldata pg_resetxlog pg_basebackup
84 -+SUBDIRS = pg_dump psql scripts pg_config
85 ++SUBDIRS = psql scripts pg_config
86 ifeq ($(PORTNAME), win32)
87 SUBDIRS+=pgevent
88 endif
89 diff -Naur a/src/include/pg_config_manual.h b/src/include/pg_config_manual.h
90 ---- a/src/include/pg_config_manual.h 2011-03-28 09:42:09.000000000 -0400
91 -+++ b/src/include/pg_config_manual.h 2011-03-29 20:26:50.973579851 -0400
92 +--- a/src/include/pg_config_manual.h 2011-04-27 17:17:22.000000000 -0400
93 ++++ b/src/include/pg_config_manual.h 2011-05-02 18:21:59.197640542 -0400
94 @@ -141,7 +141,7 @@
95 * here's where to twiddle it. You can also override this at runtime
96 * with the postmaster's -k switch.
97
98 diff --git a/regress.patch b/regress.patch
99 index a42ed7e..cf706a6 100644
100 --- a/regress.patch
101 +++ b/regress.patch
102 @@ -1,7 +1,7 @@
103 diff -Naur a/src/test/regress/pg_regress.c b/src/test/regress/pg_regress.c
104 ---- a/src/test/regress/pg_regress.c 2011-03-09 09:19:24.000000000 -0500
105 -+++ b/src/test/regress/pg_regress.c 2011-03-18 22:07:11.104847001 -0400
106 -@@ -803,7 +803,7 @@
107 +--- a/src/test/regress/pg_regress.c 2011-04-27 17:17:22.000000000 -0400
108 ++++ b/src/test/regress/pg_regress.c 2011-05-02 19:01:20.470763739 -0400
109 +@@ -806,7 +806,7 @@
110 datadir = tmp;
111
112 /* psql will be installed into temp-install bindir */
113 @@ -10,7 +10,7 @@ diff -Naur a/src/test/regress/pg_regress.c b/src/test/regress/pg_regress.c
114
115 /*
116 * Set up shared library paths to include the temp install.
117 -@@ -901,7 +901,7 @@
118 +@@ -906,7 +906,7 @@
119
120 /* And now we can build and execute the shell command */
121 snprintf(psql_cmd, sizeof(psql_cmd),
122 @@ -19,7 +19,7 @@ diff -Naur a/src/test/regress/pg_regress.c b/src/test/regress/pg_regress.c
123 psqldir ? psqldir : "",
124 psqldir ? "/" : "",
125 query_escaped,
126 -@@ -2178,8 +2178,8 @@
127 +@@ -2207,8 +2207,8 @@
128 * Check if there is a postmaster running already.
129 */
130 snprintf(buf2, sizeof(buf2),
131 @@ -30,7 +30,7 @@ diff -Naur a/src/test/regress/pg_regress.c b/src/test/regress/pg_regress.c
132
133 for (i = 0; i < 16; i++)
134 {
135 -@@ -2210,7 +2210,7 @@
136 +@@ -2239,7 +2239,7 @@
137 */
138 header(_("starting postmaster"));
139 snprintf(buf, sizeof(buf),
140 @@ -40,8 +40,8 @@ diff -Naur a/src/test/regress/pg_regress.c b/src/test/regress/pg_regress.c
141 debug ? " -d 5" : "",
142 hostname ? hostname : "",
143 diff -Naur a/src/test/regress/pg_regress_main.c b/src/test/regress/pg_regress_main.c
144 ---- a/src/test/regress/pg_regress_main.c 2011-03-09 09:19:24.000000000 -0500
145 -+++ b/src/test/regress/pg_regress_main.c 2011-03-18 22:10:05.263089001 -0400
146 +--- a/src/test/regress/pg_regress_main.c 2011-04-27 17:17:22.000000000 -0400
147 ++++ b/src/test/regress/pg_regress_main.c 2011-05-02 19:02:23.571086780 -0400
148 @@ -64,7 +64,7 @@
149 "%s ", launcher);
150
151
152 diff --git a/server.patch b/server.patch
153 index d2703f1..f3bc148 100644
154 --- a/server.patch
155 +++ b/server.patch
156 @@ -1,6 +1,6 @@
157 diff -Naur a/GNUmakefile.in b/GNUmakefile.in
158 ---- a/GNUmakefile.in 2011-03-09 09:19:24.000000000 -0500
159 -+++ b/GNUmakefile.in 2011-03-18 19:17:04.815898001 -0400
160 +--- a/GNUmakefile.in 2011-04-27 17:17:22.000000000 -0400
161 ++++ b/GNUmakefile.in 2011-05-02 18:32:41.400926770 -0400
162 @@ -8,7 +8,7 @@
163 top_builddir = .
164 include $(top_builddir)/src/Makefile.global
165 @@ -34,8 +34,8 @@ diff -Naur a/GNUmakefile.in b/GNUmakefile.in
166 $(call recurse,distprep,doc src config contrib)
167
168 diff -Naur a/contrib/Makefile b/contrib/Makefile
169 ---- a/contrib/Makefile 2011-03-09 09:19:24.000000000 -0500
170 -+++ b/contrib/Makefile 2011-03-18 19:10:24.415898001 -0400
171 +--- a/contrib/Makefile 2011-04-27 17:17:22.000000000 -0400
172 ++++ b/contrib/Makefile 2011-05-02 18:34:03.901348935 -0400
173 @@ -26,7 +26,6 @@
174 isn \
175 lo \
176 @@ -63,8 +63,8 @@ diff -Naur a/contrib/Makefile b/contrib/Makefile
177 ifeq ($(with_openssl),yes)
178 SUBDIRS += sslinfo
179 diff -Naur a/contrib/adminpack/Makefile b/contrib/adminpack/Makefile
180 ---- a/contrib/adminpack/Makefile 2011-03-09 09:19:24.000000000 -0500
181 -+++ b/contrib/adminpack/Makefile 2011-03-18 19:08:19.375898001 -0400
182 +--- a/contrib/adminpack/Makefile 2011-04-27 17:17:22.000000000 -0400
183 ++++ b/contrib/adminpack/Makefile 2011-05-02 18:35:24.991763884 -0400
184 @@ -2,7 +2,7 @@
185
186 MODULE_big = adminpack
187 @@ -75,8 +75,8 @@ diff -Naur a/contrib/adminpack/Makefile b/contrib/adminpack/Makefile
188 EXTENSION = adminpack
189 DATA = adminpack--1.0.sql
190 diff -Naur a/contrib/dblink/Makefile b/contrib/dblink/Makefile
191 ---- a/contrib/dblink/Makefile 2011-03-09 09:19:24.000000000 -0500
192 -+++ b/contrib/dblink/Makefile 2011-03-18 19:09:04.655898001 -0400
193 +--- a/contrib/dblink/Makefile 2011-04-27 17:17:22.000000000 -0400
194 ++++ b/contrib/dblink/Makefile 2011-05-02 18:36:02.701956851 -0400
195 @@ -2,7 +2,7 @@
196
197 MODULE_big = dblink
198 @@ -87,13 +87,12 @@ diff -Naur a/contrib/dblink/Makefile b/contrib/dblink/Makefile
199 SHLIB_PREREQS = submake-libpq
200
201 diff -Naur a/contrib/uuid-ossp/Makefile b/contrib/uuid-ossp/Makefile
202 ---- a/contrib/uuid-ossp/Makefile 2011-03-09 09:19:24.000000000 -0500
203 -+++ b/contrib/uuid-ossp/Makefile 2011-03-18 19:11:40.055898001 -0400
204 -@@ -1,12 +1,14 @@
205 +--- a/contrib/uuid-ossp/Makefile 2011-04-27 17:17:22.000000000 -0400
206 ++++ b/contrib/uuid-ossp/Makefile 2011-05-02 18:38:24.893721477 -0400
207 +@@ -1,12 +1,12 @@
208 # contrib/uuid-ossp/Makefile
209 -
210 +-
211 +PG_CPPFLAGS += "-DHAVE_OSSP_UUID_H"
212 -+
213 MODULE_big = uuid-ossp
214 OBJS = uuid-ossp.o
215
216 @@ -106,21 +105,22 @@ diff -Naur a/contrib/uuid-ossp/Makefile b/contrib/uuid-ossp/Makefile
217 ifdef USE_PGXS
218 PG_CONFIG = pg_config
219 diff -Naur a/contrib/xml2/Makefile b/contrib/xml2/Makefile
220 ---- a/contrib/xml2/Makefile 2011-03-09 09:19:24.000000000 -0500
221 -+++ b/contrib/xml2/Makefile 2011-03-18 19:13:29.625898001 -0400
222 -@@ -8,7 +8,8 @@
223 +--- a/contrib/xml2/Makefile 2011-04-27 17:17:22.000000000 -0400
224 ++++ b/contrib/xml2/Makefile 2011-05-02 18:41:30.824673350 -0400
225 +@@ -7,8 +7,8 @@
226 + DATA = xml2--1.0.sql xml2--unpackaged--1.0.sql
227
228 REGRESS = xml2
229 -
230 +-
231 -SHLIB_LINK += $(filter -lxslt, $(LIBS)) $(filter -lxml2, $(LIBS))
232 -+PG_CPPFLAGS = $(shell xml2-config --cflags)
233 ++PG_CPPFLAGS = $(shell xml2-config --cflags)
234 +SHLIB_LINK += $(shell xml2-config --libs) $(shell xslt-config --libs)
235
236 ifdef USE_PGXS
237 PG_CONFIG = pg_config
238 diff -Naur a/src/Makefile b/src/Makefile
239 ---- a/src/Makefile 2011-03-09 09:19:24.000000000 -0500
240 -+++ b/src/Makefile 2011-03-18 19:43:49.633641001 -0400
241 +--- a/src/Makefile 2011-04-27 17:17:22.000000000 -0400
242 ++++ b/src/Makefile 2011-05-02 18:43:02.395142144 -0400
243 @@ -18,12 +18,9 @@
244 backend \
245 backend/utils/mb/conversion_procs \
246 @@ -144,9 +144,9 @@ diff -Naur a/src/Makefile b/src/Makefile
247 install-local: installdirs-local
248 $(INSTALL_DATA) Makefile.global '$(DESTDIR)$(pgxsdir)/$(subdir)/Makefile.global'
249 diff -Naur a/src/Makefile.global.in b/src/Makefile.global.in
250 ---- a/src/Makefile.global.in 2011-03-09 09:19:24.000000000 -0500
251 -+++ b/src/Makefile.global.in 2011-03-18 19:59:53.876991001 -0400
252 -@@ -474,6 +474,7 @@
253 +--- a/src/Makefile.global.in 2011-04-27 17:17:22.000000000 -0400
254 ++++ b/src/Makefile.global.in 2011-05-02 18:45:16.765830055 -0400
255 +@@ -480,6 +480,7 @@
256 LDFLAGS += $(PROFILE)
257 endif
258
259 @@ -155,8 +155,8 @@ diff -Naur a/src/Makefile.global.in b/src/Makefile.global.in
260 ##########################################################################
261 #
262 diff -Naur a/src/bin/Makefile b/src/bin/Makefile
263 ---- a/src/bin/Makefile 2011-03-09 09:19:24.000000000 -0500
264 -+++ b/src/bin/Makefile 2011-03-18 19:29:28.872631001 -0400
265 +--- a/src/bin/Makefile 2011-04-27 17:17:22.000000000 -0400
266 ++++ b/src/bin/Makefile 2011-05-02 18:47:05.106384704 -0400
267 @@ -13,8 +13,7 @@
268 top_builddir = ../..
269 include $(top_builddir)/src/Makefile.global
270 @@ -168,8 +168,8 @@ diff -Naur a/src/bin/Makefile b/src/bin/Makefile
271 SUBDIRS+=pgevent
272 endif
273 diff -Naur a/src/bin/initdb/Makefile b/src/bin/initdb/Makefile
274 ---- a/src/bin/initdb/Makefile 2011-03-09 09:19:24.000000000 -0500
275 -+++ b/src/bin/initdb/Makefile 2011-03-18 19:27:46.042631001 -0400
276 +--- a/src/bin/initdb/Makefile 2011-04-27 17:17:22.000000000 -0400
277 ++++ b/src/bin/initdb/Makefile 2011-05-02 18:48:35.636848175 -0400
278 @@ -16,7 +16,7 @@
279 top_builddir = ../../..
280 include $(top_builddir)/src/Makefile.global
281 @@ -180,8 +180,8 @@ diff -Naur a/src/bin/initdb/Makefile b/src/bin/initdb/Makefile
282 OBJS= initdb.o encnames.o pqsignal.o $(WIN32RES)
283
284 diff -Naur a/src/include/pg_config_manual.h b/src/include/pg_config_manual.h
285 ---- a/src/include/pg_config_manual.h 2011-03-09 09:19:24.000000000 -0500
286 -+++ b/src/include/pg_config_manual.h 2011-03-18 19:30:57.712631001 -0400
287 +--- a/src/include/pg_config_manual.h 2011-04-27 17:17:22.000000000 -0400
288 ++++ b/src/include/pg_config_manual.h 2011-05-02 18:49:38.277168861 -0400
289 @@ -141,7 +141,7 @@
290 * here's where to twiddle it. You can also override this at runtime
291 * with the postmaster's -k switch.
292 @@ -192,8 +192,8 @@ diff -Naur a/src/include/pg_config_manual.h b/src/include/pg_config_manual.h
293 /*
294 * The random() function is expected to yield values between 0 and
295 diff -Naur a/src/port/Makefile b/src/port/Makefile
296 ---- a/src/port/Makefile 2011-03-09 09:19:24.000000000 -0500
297 -+++ b/src/port/Makefile 2011-03-18 20:01:10.986991001 -0400
298 +--- a/src/port/Makefile 2011-04-27 17:17:22.000000000 -0400
299 ++++ b/src/port/Makefile 2011-05-02 18:50:27.707421919 -0400
300 @@ -37,11 +37,10 @@
301 # foo_srv.o and foo.o are both built from foo.c, but only foo.o has -DFRONTEND
302 OBJS_SRV = $(OBJS:%.o=%_srv.o)