Gentoo Archives: gentoo-commits

From: Aaron Swenson <titanofold@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/pgsql-patches:patches-8.2 commit in: /
Date: Wed, 30 Nov 2011 20:55:17
Message-Id: 64f6007958cf8d1507f34b591c0ee194fd989676.titanofold@gentoo
1 commit: 64f6007958cf8d1507f34b591c0ee194fd989676
2 Author: Aaron W. Swenson <titanofold <AT> gentoo <DOT> org>
3 AuthorDate: Wed Nov 30 20:34:12 2011 +0000
4 Commit: Aaron Swenson <titanofold <AT> gentoo <DOT> org>
5 CommitDate: Wed Nov 30 20:34:12 2011 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/pgsql-patches.git;a=commit;h=64f60079
7
8 Socket directory can be /run or /var/run now.
9
10 ---
11 base.patch | 2 +-
12 server.patch | 2 +-
13 2 files changed, 2 insertions(+), 2 deletions(-)
14
15 diff --git a/base.patch b/base.patch
16 index 7f0d918..babc628 100644
17 --- a/base.patch
18 +++ b/base.patch
19 @@ -124,7 +124,7 @@ diff -Naur a/src/include/pg_config_manual.h b/src/include/pg_config_manual.h
20 * with the postmaster's -k switch.
21 */
22 -#define DEFAULT_PGSOCKET_DIR "/tmp"
23 -+#define DEFAULT_PGSOCKET_DIR "@GENTOO_PORTAGE_EPREFIX@/var/run/postgresql"
24 ++#define DEFAULT_PGSOCKET_DIR "@GENTOO_PORTAGE_EPREFIX@@RUNDIR@/run/postgresql"
25
26 /*
27 * The random() function is expected to yield values between 0 and
28
29 diff --git a/server.patch b/server.patch
30 index 83c2f4a..128ce7e 100644
31 --- a/server.patch
32 +++ b/server.patch
33 @@ -111,7 +111,7 @@ diff -Naur a/src/include/pg_config_manual.h b/src/include/pg_config_manual.h
34 * with the postmaster's -k switch.
35 */
36 -#define DEFAULT_PGSOCKET_DIR "/tmp"
37 -+#define DEFAULT_PGSOCKET_DIR "@GENTOO_PORTAGE_EPREFIX@/var/run/postgresql"
38 ++#define DEFAULT_PGSOCKET_DIR "@GENTOO_PORTAGE_EPREFIX@@RUNDIR@/run/postgresql"
39
40 /*
41 * The random() function is expected to yield values between 0 and