1 |
commit: fd195d06aa313696e420de4ab669a77d13f9d1d4 |
2 |
Author: Aaron W. Swenson <titanofold <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Jul 2 11:47:07 2013 +0000 |
4 |
Commit: Aaron Swenson <titanofold <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jul 2 11:47:07 2013 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/pgsql-patches.git;a=commit;h=fd195d06 |
7 |
|
8 |
Split out run directory patch. |
9 |
|
10 |
--- |
11 |
base.patch | 12 ------------ |
12 |
run-dir.patch | 12 ++++++++++++ |
13 |
server.patch | 12 ------------ |
14 |
3 files changed, 12 insertions(+), 24 deletions(-) |
15 |
|
16 |
diff --git a/base.patch b/base.patch |
17 |
index 0a43d26..3ce90d6 100644 |
18 |
--- a/base.patch |
19 |
+++ b/base.patch |
20 |
@@ -124,18 +124,6 @@ diff -Naur a/src/bin/Makefile b/src/bin/Makefile |
21 |
|
22 |
ifeq ($(PORTNAME), win32) |
23 |
SUBDIRS += pgevent |
24 |
-diff -Naur a/src/include/pg_config_manual.h b/src/include/pg_config_manual.h |
25 |
---- a/src/include/pg_config_manual.h 2013-05-06 20:57:06.000000000 +0000 |
26 |
-+++ b/src/include/pg_config_manual.h 2013-06-09 01:53:27.019761951 +0000 |
27 |
-@@ -144,7 +144,7 @@ |
28 |
- * here's where to twiddle it. You can also override this at runtime |
29 |
- * with the postmaster's -k switch. |
30 |
- */ |
31 |
--#define DEFAULT_PGSOCKET_DIR "/tmp" |
32 |
-+#define DEFAULT_PGSOCKET_DIR "@GENTOO_PORTAGE_EPREFIX@/run/postgresql" |
33 |
- |
34 |
- /* |
35 |
- * The random() function is expected to yield values between 0 and |
36 |
diff -Naur a/src/Makefile b/src/Makefile |
37 |
--- a/src/Makefile 2013-05-06 20:57:06.000000000 +0000 |
38 |
+++ b/src/Makefile 2013-06-09 01:54:30.479704228 +0000 |
39 |
|
40 |
diff --git a/run-dir.patch b/run-dir.patch |
41 |
new file mode 100644 |
42 |
index 0000000..46acedb |
43 |
--- /dev/null |
44 |
+++ b/run-dir.patch |
45 |
@@ -0,0 +1,12 @@ |
46 |
+diff -Naur a/src/include/pg_config_manual.h b/src/include/pg_config_manual.h |
47 |
+--- a/src/include/pg_config_manual.h 2013-05-06 20:57:06.000000000 +0000 |
48 |
++++ b/src/include/pg_config_manual.h 2013-06-09 01:53:27.019761951 +0000 |
49 |
+@@ -144,7 +144,7 @@ |
50 |
+ * here's where to twiddle it. You can also override this at runtime |
51 |
+ * with the postmaster's -k switch. |
52 |
+ */ |
53 |
+-#define DEFAULT_PGSOCKET_DIR "/tmp" |
54 |
++#define DEFAULT_PGSOCKET_DIR "@GENTOO_PORTAGE_EPREFIX@/run/postgresql" |
55 |
+ |
56 |
+ /* |
57 |
+ * The random() function is expected to yield values between 0 and |
58 |
|
59 |
diff --git a/server.patch b/server.patch |
60 |
index c295c53..26daf20 100644 |
61 |
--- a/server.patch |
62 |
+++ b/server.patch |
63 |
@@ -137,18 +137,6 @@ diff -Naur a/src/bin/Makefile b/src/bin/Makefile |
64 |
|
65 |
ifeq ($(PORTNAME), win32) |
66 |
SUBDIRS += pgevent |
67 |
-diff -Naur a/src/include/pg_config_manual.h b/src/include/pg_config_manual.h |
68 |
---- a/src/include/pg_config_manual.h 2013-05-06 20:57:06.000000000 +0000 |
69 |
-+++ b/src/include/pg_config_manual.h 2013-06-09 02:24:08.790040861 +0000 |
70 |
-@@ -144,7 +144,7 @@ |
71 |
- * here's where to twiddle it. You can also override this at runtime |
72 |
- * with the postmaster's -k switch. |
73 |
- */ |
74 |
--#define DEFAULT_PGSOCKET_DIR "/tmp" |
75 |
-+#define DEFAULT_PGSOCKET_DIR "@GENTOO_PORTAGE_EPREFIX@/run/postgresql" |
76 |
- |
77 |
- /* |
78 |
- * The random() function is expected to yield values between 0 and |
79 |
diff -Naur a/src/Makefile b/src/Makefile |
80 |
--- a/src/Makefile 2013-05-06 20:57:06.000000000 +0000 |
81 |
+++ b/src/Makefile 2013-06-09 02:25:13.697707579 +0000 |