summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTiziano Müller <dev-zero@gentoo.org>2008-04-07 14:40:54 +0000
committerTiziano Müller <dev-zero@gentoo.org>2008-04-07 14:40:54 +0000
commit486c338579edae4bdbd51722f462f7e3a4f0a99e (patch)
treef87132285fc5d16a2bc3b985a8424d00f619845a /dev-db/postgresql-base/files/postgresql-8.2-base.patch
parentdev-db/postgresql-base: Added --with-thread-safety-force when building with t... (diff)
downloadexperimental-486c338579edae4bdbd51722f462f7e3a4f0a99e.tar.gz
experimental-486c338579edae4bdbd51722f462f7e3a4f0a99e.tar.bz2
experimental-486c338579edae4bdbd51722f462f7e3a4f0a99e.zip
dev-db/postgresql-base: Standard location for unix domain socket changed to /var/run/postgresql
svn path=/experimental/; revision=354
Diffstat (limited to 'dev-db/postgresql-base/files/postgresql-8.2-base.patch')
-rw-r--r--dev-db/postgresql-base/files/postgresql-8.2-base.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/dev-db/postgresql-base/files/postgresql-8.2-base.patch b/dev-db/postgresql-base/files/postgresql-8.2-base.patch
index 3513069..a4881ed 100644
--- a/dev-db/postgresql-base/files/postgresql-8.2-base.patch
+++ b/dev-db/postgresql-base/files/postgresql-8.2-base.patch
@@ -122,3 +122,16 @@
ifeq ($(PORTNAME), win32)
DIRS+=pgevent
endif
+=== src/include/pg_config_manual.h
+==================================================================
+--- src/include/pg_config_manual.h (revision 10)
++++ src/include/pg_config_manual.h (local)
+@@ -175,7 +175,7 @@
+ * here's where to twiddle it. You can also override this at runtime
+ * with the postmaster's -k switch.
+ */
+-#define DEFAULT_PGSOCKET_DIR "/tmp"
++#define DEFAULT_PGSOCKET_DIR "/var/run/postgresql"
+
+ /*
+ * The random() function is expected to yield values between 0 and