Gentoo Archives: gentoo-commits

From: Aaron Swenson <titanofold@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/pgsql-patches:patches-9.1 commit in: /
Date: Thu, 01 Dec 2011 02:36:46
Message-Id: 5cfc5db2e2a742f469f6cb3d342b5b36fd0420c0.titanofold@gentoo
1 commit: 5cfc5db2e2a742f469f6cb3d342b5b36fd0420c0
2 Author: Aaron W. Swenson <titanofold <AT> gentoo <DOT> org>
3 AuthorDate: Thu Dec 1 02:36:09 2011 +0000
4 Commit: Aaron Swenson <titanofold <AT> gentoo <DOT> org>
5 CommitDate: Thu Dec 1 02:36:09 2011 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/pgsql-patches.git;a=commit;h=5cfc5db2
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 25117b0..3d43225 100644
17 --- a/base.patch
18 +++ b/base.patch
19 @@ -125,7 +125,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 2cbec0b..a9e7ce9 100644
31 --- a/server.patch
32 +++ b/server.patch
33 @@ -153,7 +153,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