Gentoo Archives: gentoo-commits

From: Aaron Swenson <titanofold@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/pgsql-patches:patches-9.0 commit in: /
Date: Thu, 01 Dec 2011 02:34:44
Message-Id: 057c9b2972c4e5d90bb6d93db1f942e98f1bee04.titanofold@gentoo
1 commit: 057c9b2972c4e5d90bb6d93db1f942e98f1bee04
2 Author: Aaron W. Swenson <titanofold <AT> gentoo <DOT> org>
3 AuthorDate: Thu Dec 1 02:34:09 2011 +0000
4 Commit: Aaron Swenson <titanofold <AT> gentoo <DOT> org>
5 CommitDate: Thu Dec 1 02:34:09 2011 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/pgsql-patches.git;a=commit;h=057c9b29
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 45ecda3..491698b 100644
17 --- a/base.patch
18 +++ b/base.patch
19 @@ -120,7 +120,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 2c8cc6a..11cb2cb 100644
31 --- a/server.patch
32 +++ b/server.patch
33 @@ -141,7 +141,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