Gentoo Archives: gentoo-commits

From: Aaron Swenson <titanofold@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/pgsql-patches:patches-8.4 commit in: /
Date: Thu, 01 Dec 2011 02:32:07
Message-Id: ab2dc62ea4f42622ead3f37a3e0d418931280acc.titanofold@gentoo
1 commit: ab2dc62ea4f42622ead3f37a3e0d418931280acc
2 Author: Aaron W. Swenson <titanofold <AT> gentoo <DOT> org>
3 AuthorDate: Thu Dec 1 02:31:20 2011 +0000
4 Commit: Aaron Swenson <titanofold <AT> gentoo <DOT> org>
5 CommitDate: Thu Dec 1 02:31:20 2011 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/pgsql-patches.git;a=commit;h=ab2dc62e
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 3acefd3..d235f80 100644
17 --- a/base.patch
18 +++ b/base.patch
19 @@ -135,7 +135,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 4366c2b..901ff5f 100644
31 --- a/server.patch
32 +++ b/server.patch
33 @@ -167,7 +167,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