aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron W. Swenson <titanofold@gentoo.org>2011-11-30 15:34:12 -0500
committerAaron W. Swenson <titanofold@gentoo.org>2011-11-30 15:34:12 -0500
commit64f6007958cf8d1507f34b591c0ee194fd989676 (patch)
tree121147a8c086944fc2d2934189836f802ca226f3
parentbool.patch to fix PPC{,64} defining it to . . . something. (diff)
downloadpatches-8.2.tar.gz
patches-8.2.tar.bz2
patches-8.2.zip
Socket directory can be /run or /var/run now.patches-8.2
-rw-r--r--base.patch2
-rw-r--r--server.patch2
2 files changed, 2 insertions, 2 deletions
diff --git a/base.patch b/base.patch
index 7f0d918..babc628 100644
--- a/base.patch
+++ b/base.patch
@@ -124,7 +124,7 @@ diff -Naur a/src/include/pg_config_manual.h b/src/include/pg_config_manual.h
* with the postmaster's -k switch.
*/
-#define DEFAULT_PGSOCKET_DIR "/tmp"
-+#define DEFAULT_PGSOCKET_DIR "@GENTOO_PORTAGE_EPREFIX@/var/run/postgresql"
++#define DEFAULT_PGSOCKET_DIR "@GENTOO_PORTAGE_EPREFIX@@RUNDIR@/run/postgresql"
/*
* The random() function is expected to yield values between 0 and
diff --git a/server.patch b/server.patch
index 83c2f4a..128ce7e 100644
--- a/server.patch
+++ b/server.patch
@@ -111,7 +111,7 @@ diff -Naur a/src/include/pg_config_manual.h b/src/include/pg_config_manual.h
* with the postmaster's -k switch.
*/
-#define DEFAULT_PGSOCKET_DIR "/tmp"
-+#define DEFAULT_PGSOCKET_DIR "@GENTOO_PORTAGE_EPREFIX@/var/run/postgresql"
++#define DEFAULT_PGSOCKET_DIR "@GENTOO_PORTAGE_EPREFIX@@RUNDIR@/run/postgresql"
/*
* The random() function is expected to yield values between 0 and