summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-db/postgresql/files')
-rw-r--r--dev-db/postgresql/files/digest-postgresql-7.3.1912
-rw-r--r--dev-db/postgresql/files/digest-postgresql-7.3.2012
-rw-r--r--dev-db/postgresql/files/digest-postgresql-7.4.1712
-rw-r--r--dev-db/postgresql/files/digest-postgresql-8.0.1312
-rw-r--r--dev-db/postgresql/files/digest-postgresql-8.0.1412
-rw-r--r--dev-db/postgresql/files/digest-postgresql-8.1.1012
-rw-r--r--dev-db/postgresql/files/digest-postgresql-8.1.912
-rw-r--r--dev-db/postgresql/files/digest-postgresql-8.2.4-r112
-rw-r--r--dev-db/postgresql/files/digest-postgresql-8.2.512
-rw-r--r--dev-db/postgresql/files/postgresql-7.3.19-autoconf.patch26
-rw-r--r--dev-db/postgresql/files/postgresql-7.3.20-autoconf.patch51
-rw-r--r--dev-db/postgresql/files/postgresql-7.3.20-cubeparse.patch (renamed from dev-db/postgresql/files/postgresql-7.3.19-cubeparse.patch)0
-rw-r--r--dev-db/postgresql/files/postgresql-7.4.17-autoconf.patch17
-rw-r--r--dev-db/postgresql/files/postgresql-7.4.18-autoconf.patch42
-rw-r--r--dev-db/postgresql/files/postgresql-7.4.18-hppa-testandset.patch (renamed from dev-db/postgresql/files/postgresql-7.4.17-hppa-testandset.patch)0
-rw-r--r--dev-db/postgresql/files/postgresql-8.0.14-sh.patch (renamed from dev-db/postgresql/files/postgresql-8.0.13-sh.patch)0
-rw-r--r--dev-db/postgresql/files/postgresql-8.1.10-regress_su.patch (renamed from dev-db/postgresql/files/postgresql-8.1.9-regress_su.patch)0
-rw-r--r--dev-db/postgresql/files/postgresql-8.1.10-sh.patch (renamed from dev-db/postgresql/files/postgresql-8.1.9-sh.patch)0
-rw-r--r--dev-db/postgresql/files/postgresql-8.2.5-gentoo.patch (renamed from dev-db/postgresql/files/postgresql-8.2.4-gentoo.patch)0
-rw-r--r--dev-db/postgresql/files/postgresql-8.2.5-no-test.patch (renamed from dev-db/postgresql/files/postgresql-8.2.4-no-test.patch)0
-rw-r--r--dev-db/postgresql/files/postgresql-8.2.5-regress_fix.patch (renamed from dev-db/postgresql/files/postgresql-8.2.4-regress_fix.patch)0
-rw-r--r--dev-db/postgresql/files/postgresql-8.2.5-regress_su.patch (renamed from dev-db/postgresql/files/postgresql-8.2.4-regress_su.patch)0
-rw-r--r--dev-db/postgresql/files/postgresql-8.2.5-sh.patch (renamed from dev-db/postgresql/files/postgresql-8.2.4-sh.patch)0
23 files changed, 141 insertions, 103 deletions
diff --git a/dev-db/postgresql/files/digest-postgresql-7.3.19 b/dev-db/postgresql/files/digest-postgresql-7.3.19
deleted file mode 100644
index 770e854..0000000
--- a/dev-db/postgresql/files/digest-postgresql-7.3.19
+++ /dev/null
@@ -1,12 +0,0 @@
-MD5 b9b2dca0468bafff72486bd54812c317 postgresql-base-7.3.19.tar.bz2 5691127
-RMD160 802bbba70d1368097a74de6b67589ab9645597cc postgresql-base-7.3.19.tar.bz2 5691127
-SHA256 1804e0424e4444f67acfb98b4e4ad2ede26748d1ddb4a9201cbff7627e394e6a postgresql-base-7.3.19.tar.bz2 5691127
-MD5 de4888125bef49f9f53824d4f9ae7bf6 postgresql-docs-7.3.19.tar.bz2 2365906
-RMD160 acad805217a5b16badc5ea1c5f88e2780d48e849 postgresql-docs-7.3.19.tar.bz2 2365906
-SHA256 0a4910cf776b6be8017eaf68a60c541be59288079fe5696d955bdace22ebde0a postgresql-docs-7.3.19.tar.bz2 2365906
-MD5 1fe88fa959492155518787c0eb197b14 postgresql-opt-7.3.19.tar.bz2 342076
-RMD160 7ee1dea5c906d88ba3384ea805368a9dcb8af47d postgresql-opt-7.3.19.tar.bz2 342076
-SHA256 2735bceed9f0d27befb3ec26b5d76f9272da1cdf2434ceb9d68327494912017f postgresql-opt-7.3.19.tar.bz2 342076
-MD5 a0958b2352586b7cd4083f46e1ba1ae8 postgresql-test-7.3.19.tar.bz2 891109
-RMD160 4f5ee0f9c4dd86b6ee54a818e25e929c2fc2334f postgresql-test-7.3.19.tar.bz2 891109
-SHA256 8df80f3fb5f61d61fe6348e037c614b3c0f2114ae5c8a7f3050b5fadde517ba3 postgresql-test-7.3.19.tar.bz2 891109
diff --git a/dev-db/postgresql/files/digest-postgresql-7.3.20 b/dev-db/postgresql/files/digest-postgresql-7.3.20
new file mode 100644
index 0000000..75d2edf
--- /dev/null
+++ b/dev-db/postgresql/files/digest-postgresql-7.3.20
@@ -0,0 +1,12 @@
+MD5 fb5cc3b22d3fceb8cfb5b89061ceadb0 postgresql-base-7.3.20.tar.bz2 5711312
+RMD160 1230e544979d7d22352ef66741568190e1ee533d postgresql-base-7.3.20.tar.bz2 5711312
+SHA256 009695d3c04004c7ba6365b112dee0cad6738daa2550fdb37c2adab52994e636 postgresql-base-7.3.20.tar.bz2 5711312
+MD5 53472e7d7bf808b738d31a52bd7c6451 postgresql-docs-7.3.20.tar.bz2 2365475
+RMD160 65579b7d5c21db7c18ef2dc763e14b509cee4b71 postgresql-docs-7.3.20.tar.bz2 2365475
+SHA256 4e337e64a2c2cd9f8f600e6f0514be9c9170b1fabf2b9534c6f8c7ed9ace5373 postgresql-docs-7.3.20.tar.bz2 2365475
+MD5 e88b8f75c07a844a65eeb3a5194f3d80 postgresql-opt-7.3.20.tar.bz2 344312
+RMD160 f3f4723a7dd28e2d961d67d06db5de6978d0e9b9 postgresql-opt-7.3.20.tar.bz2 344312
+SHA256 050c79c87d9dbf443fbda20b0f8fd40523231c2c6bcf1a24808214fe599f4d17 postgresql-opt-7.3.20.tar.bz2 344312
+MD5 0195720da56dfb16140393ace788f907 postgresql-test-7.3.20.tar.bz2 869518
+RMD160 e5cc3a2a96ee3ca4ea0315960bc1712aa0508e9f postgresql-test-7.3.20.tar.bz2 869518
+SHA256 05648eda34c9a4670e5afa3fb6dad7bdf0ce69ffa633b8a83cd424de942562d7 postgresql-test-7.3.20.tar.bz2 869518
diff --git a/dev-db/postgresql/files/digest-postgresql-7.4.17 b/dev-db/postgresql/files/digest-postgresql-7.4.17
deleted file mode 100644
index d0643a9..0000000
--- a/dev-db/postgresql/files/digest-postgresql-7.4.17
+++ /dev/null
@@ -1,12 +0,0 @@
-MD5 c513ae755abd4fb011378351be9e1ba0 postgresql-base-7.4.17.tar.bz2 6609512
-RMD160 cd5aed1fb45cc42e12cca0cd31174b6726dae97b postgresql-base-7.4.17.tar.bz2 6609512
-SHA256 f1b7ff754ccb43d4a3a62a9124b1c8ac215e48e5549e620bfcde59124c6f1bc5 postgresql-base-7.4.17.tar.bz2 6609512
-MD5 e9a33e70add61f6a1018870c88dbf0ea postgresql-docs-7.4.17.tar.bz2 2434028
-RMD160 a7470801732f7458c4a6dec6b441b151a2963d88 postgresql-docs-7.4.17.tar.bz2 2434028
-SHA256 855b08821fa06cce280d63c1c57a1a51cc02eee1af0a53ba9a550cc3e66c2696 postgresql-docs-7.4.17.tar.bz2 2434028
-MD5 43a87be48f3e43c5fce957af000bff60 postgresql-opt-7.4.17.tar.bz2 333513
-RMD160 55b7d1c9900f590d778c915d586d8cafd14dc633 postgresql-opt-7.4.17.tar.bz2 333513
-SHA256 8ff6ca8f726ce39d873d495273c31ceb3d647d75a85a7940b38d38ae7b2eff3e postgresql-opt-7.4.17.tar.bz2 333513
-MD5 493b0b142f0ca6fb52dbdfc5c32e0c5b postgresql-test-7.4.17.tar.bz2 902524
-RMD160 5d2580ac74e01a65d9c00bc7a2900630e2c5720d postgresql-test-7.4.17.tar.bz2 902524
-SHA256 0486999f89b38996c15a91a66638f40718d5fb702ac592f4f2a22e9377b6b6bf postgresql-test-7.4.17.tar.bz2 902524
diff --git a/dev-db/postgresql/files/digest-postgresql-8.0.13 b/dev-db/postgresql/files/digest-postgresql-8.0.13
deleted file mode 100644
index 1a68a72..0000000
--- a/dev-db/postgresql/files/digest-postgresql-8.0.13
+++ /dev/null
@@ -1,12 +0,0 @@
-MD5 d3b5185dc6a12f2443f06f83cdee03d0 postgresql-base-8.0.13.tar.bz2 7848290
-RMD160 de34ef01b76d777e9b22bcd16dd29328a11d35cf postgresql-base-8.0.13.tar.bz2 7848290
-SHA256 5627ad76e6a6c8eb85c1debe5fce2c12b42611434dabe0fd5763b8a72c7ac49d postgresql-base-8.0.13.tar.bz2 7848290
-MD5 877fc8417555cff0a889d38013afefd6 postgresql-docs-8.0.13.tar.bz2 2271196
-RMD160 fdb9775d082da9c10aebb9394d84c55cfea3f4d7 postgresql-docs-8.0.13.tar.bz2 2271196
-SHA256 a703a22b11288eb20b5c4f28e34cfeeed11c730cebf51671049ad37ace5e204d postgresql-docs-8.0.13.tar.bz2 2271196
-MD5 824caf8451dec685a0d5886eb4892807 postgresql-opt-8.0.13.tar.bz2 134769
-RMD160 f3fb741c5dcff23045a58baf57f4386099e3c563 postgresql-opt-8.0.13.tar.bz2 134769
-SHA256 9f63fc12ede1a605934cdc462ff45c0e924288284f411ae38dec1c5b6e87ce25 postgresql-opt-8.0.13.tar.bz2 134769
-MD5 e736c9887ca4c66051501ce2b95a88f8 postgresql-test-8.0.13.tar.bz2 932945
-RMD160 d1a1c5e05337d82fb1fc2a7249e98ce8df375978 postgresql-test-8.0.13.tar.bz2 932945
-SHA256 ea7e45aa8d9d8f127704e659575a0e860fd53abdaefa7c0f256f246c283ff1cf postgresql-test-8.0.13.tar.bz2 932945
diff --git a/dev-db/postgresql/files/digest-postgresql-8.0.14 b/dev-db/postgresql/files/digest-postgresql-8.0.14
new file mode 100644
index 0000000..fd54bdb
--- /dev/null
+++ b/dev-db/postgresql/files/digest-postgresql-8.0.14
@@ -0,0 +1,12 @@
+MD5 ffaaa630db6613cedbe935edd85d2a98 postgresql-base-8.0.14.tar.bz2 7907547
+RMD160 4e1c627af447ef24ec343baa3121edd2427d9fa9 postgresql-base-8.0.14.tar.bz2 7907547
+SHA256 8201ce5a99051c2b561f4b58ce07f17fe4959383ef38afcb25ab802119f9755e postgresql-base-8.0.14.tar.bz2 7907547
+MD5 2435d1036364eecf093bc783d4e92101 postgresql-docs-8.0.14.tar.bz2 2274002
+RMD160 fc62e74b90c6b8b241aa3f825db418170c0e5e48 postgresql-docs-8.0.14.tar.bz2 2274002
+SHA256 df1da39c1bbdb54f506a25332770ccf19296234ba0b9ac755e8b1c5bdf296f10 postgresql-docs-8.0.14.tar.bz2 2274002
+MD5 6a6feb48ca70bf1e36e99bab1671b66d postgresql-opt-8.0.14.tar.bz2 134706
+RMD160 ff8773b373aa33f6c43f2d7cc3a56b4484197fc7 postgresql-opt-8.0.14.tar.bz2 134706
+SHA256 b097922bb346c039dc605b45927dca2916394d587000d5412b30c9ca5a1c117a postgresql-opt-8.0.14.tar.bz2 134706
+MD5 fd66be583db9d5b38d0822b9a9a027b0 postgresql-test-8.0.14.tar.bz2 935168
+RMD160 109af78285a2309210a88cc270ca10264d1b5d39 postgresql-test-8.0.14.tar.bz2 935168
+SHA256 a228576902ea273aff6ee1f7bd7e4bd5d5b6d0b9bbb532aec1c83d5a6beb5a6e postgresql-test-8.0.14.tar.bz2 935168
diff --git a/dev-db/postgresql/files/digest-postgresql-8.1.10 b/dev-db/postgresql/files/digest-postgresql-8.1.10
new file mode 100644
index 0000000..93d6e44
--- /dev/null
+++ b/dev-db/postgresql/files/digest-postgresql-8.1.10
@@ -0,0 +1,12 @@
+MD5 dbb5c5e48a43037e979b621f0c03614b postgresql-base-8.1.10.tar.bz2 8110015
+RMD160 473e1c66ccc9d4ec47b01b03dff7951749afc785 postgresql-base-8.1.10.tar.bz2 8110015
+SHA256 c49b8b094838024ef09d1e574181c409dbc3bb13c8470ae495e74a0185aed981 postgresql-base-8.1.10.tar.bz2 8110015
+MD5 c6423b4745c1f677448af4f20dfda5f9 postgresql-docs-8.1.10.tar.bz2 2507870
+RMD160 99651337e7e6addbc4f5298874df369917b6994e postgresql-docs-8.1.10.tar.bz2 2507870
+SHA256 870edb5e0d364d235f9f83820256db66eaf1aebfd47e05b7a4546bff53bfac88 postgresql-docs-8.1.10.tar.bz2 2507870
+MD5 23f7f08905a05a50a681ea2a83b049ab postgresql-opt-8.1.10.tar.bz2 144584
+RMD160 fd9f11216465513494320b43fe27614c01b98e98 postgresql-opt-8.1.10.tar.bz2 144584
+SHA256 9c99a8c31515107e29201e2ba1c5362871851b54bcf6bb9a5d3f81848196834f postgresql-opt-8.1.10.tar.bz2 144584
+MD5 3dce92e7913ea70ca0c240a3adf93140 postgresql-test-8.1.10.tar.bz2 948352
+RMD160 8c25d16ace091dda2fcec5d39c9199d9829e91e9 postgresql-test-8.1.10.tar.bz2 948352
+SHA256 d887a18cade52167c0390fa7270bf86e33d95cba34d2ac3f755e13a1360d9de8 postgresql-test-8.1.10.tar.bz2 948352
diff --git a/dev-db/postgresql/files/digest-postgresql-8.1.9 b/dev-db/postgresql/files/digest-postgresql-8.1.9
deleted file mode 100644
index a20386c..0000000
--- a/dev-db/postgresql/files/digest-postgresql-8.1.9
+++ /dev/null
@@ -1,12 +0,0 @@
-MD5 44582cd7184badf63d9c558f91cdd128 postgresql-base-8.1.9.tar.bz2 8108212
-RMD160 e10c91f95e16cfcdf10235d533855676f8e03ceb postgresql-base-8.1.9.tar.bz2 8108212
-SHA256 4d11584d545d5f18566bc1bf65409794adceef1825dc4850514238f6b5d3f5fd postgresql-base-8.1.9.tar.bz2 8108212
-MD5 a13ad4fbe78aa2ab4f86381cfcec8eb7 postgresql-docs-8.1.9.tar.bz2 2503673
-RMD160 68df3beb8c8f2ccdcf0f3875d4d1bacf1ad3017d postgresql-docs-8.1.9.tar.bz2 2503673
-SHA256 9b1f5d47345067baf9ecc71941707199d055d2f147a206b1b70245a9d5c45b30 postgresql-docs-8.1.9.tar.bz2 2503673
-MD5 26fed39417431ff56e213caf11dc7215 postgresql-opt-8.1.9.tar.bz2 144737
-RMD160 3541c7c2d86e7a9d129d521c3a7bac189758d1a5 postgresql-opt-8.1.9.tar.bz2 144737
-SHA256 b8c5c3098c53e8c8b722ba8928787eb7478beeb3c6b42adbaad1d8ca24d2e49f postgresql-opt-8.1.9.tar.bz2 144737
-MD5 abd4d19d536f846eb37f63d50bbfc02f postgresql-test-8.1.9.tar.bz2 948085
-RMD160 80f20a3353ee437efc78390d8d2d0d12c5cb519f postgresql-test-8.1.9.tar.bz2 948085
-SHA256 2dd60f661df70d43b261af0722e768f6ec4dc856c765c3dd9cd24042089323ba postgresql-test-8.1.9.tar.bz2 948085
diff --git a/dev-db/postgresql/files/digest-postgresql-8.2.4-r1 b/dev-db/postgresql/files/digest-postgresql-8.2.4-r1
deleted file mode 100644
index 6035a30..0000000
--- a/dev-db/postgresql/files/digest-postgresql-8.2.4-r1
+++ /dev/null
@@ -1,12 +0,0 @@
-MD5 5c0576627c9969a3cedb6b014fb6ae05 postgresql-base-8.2.4.tar.bz2 8549159
-RMD160 876105c3cc9d36b66cf9dc9b687d4b6f6b2c3d9c postgresql-base-8.2.4.tar.bz2 8549159
-SHA256 8ee5ad364ee21079ce3d726b4abcfa0f318015a331e37e9856a3500fcce74cca postgresql-base-8.2.4.tar.bz2 8549159
-MD5 7d520a0fc88c8b59338c25cf18331f6a postgresql-docs-8.2.4.tar.bz2 2769630
-RMD160 bcdb176f509f69141524ababa0f6c9b1a1dd5c3f postgresql-docs-8.2.4.tar.bz2 2769630
-SHA256 2bb5bea974a68f562e40104d756ea87dbd831cf8fbd4bb54faca38f23c87de4c postgresql-docs-8.2.4.tar.bz2 2769630
-MD5 b71b0526e7c8af22d82fbc7b6f81a750 postgresql-opt-8.2.4.tar.bz2 167612
-RMD160 aaacb743be86afbfe0f885b7994c15c94fef2413 postgresql-opt-8.2.4.tar.bz2 167612
-SHA256 5977ca1f0913aa98bc889e49b38768621865959b14e2674e7716d44b7fe9eb35 postgresql-opt-8.2.4.tar.bz2 167612
-MD5 0fefe28b8c9d16ebdf6f05c366477a9d postgresql-test-8.2.4.tar.bz2 985819
-RMD160 c5fcbef081565f7ba02fc4ac96ce8e1f4141c3ae postgresql-test-8.2.4.tar.bz2 985819
-SHA256 fc4471ecece04251289cfe7feb0acbafa3a18cf8f35c2d61ce3f68bd4394e504 postgresql-test-8.2.4.tar.bz2 985819
diff --git a/dev-db/postgresql/files/digest-postgresql-8.2.5 b/dev-db/postgresql/files/digest-postgresql-8.2.5
new file mode 100644
index 0000000..b872176
--- /dev/null
+++ b/dev-db/postgresql/files/digest-postgresql-8.2.5
@@ -0,0 +1,12 @@
+MD5 5879b205b635f3fb905f6015c50f4edd postgresql-base-8.2.5.tar.bz2 8602348
+RMD160 784924608f8bad40d079b3f54a75d98ea302ac34 postgresql-base-8.2.5.tar.bz2 8602348
+SHA256 b70a2cc0d0613944ce0eae99c1001894354b77e81c8ae45f6c8c890709861929 postgresql-base-8.2.5.tar.bz2 8602348
+MD5 d9edbcbebd620dbeaa42a04c0a2fd900 postgresql-docs-8.2.5.tar.bz2 2773777
+RMD160 56cdea05e6b162f21b021df807f6051102d14b75 postgresql-docs-8.2.5.tar.bz2 2773777
+SHA256 8824f13eaca20328ffa1244ba036c51890a718f40683b9e3003e72b77a1f774d postgresql-docs-8.2.5.tar.bz2 2773777
+MD5 dea12379311886d825fe7090884521b7 postgresql-opt-8.2.5.tar.bz2 167549
+RMD160 92f6ee646eaf0268ee165fd592013cc3acaee5ca postgresql-opt-8.2.5.tar.bz2 167549
+SHA256 0d64c3fd4fb097126d9cb7d599fbd86435f23d887f7985c9fdb441db4e3c9ae5 postgresql-opt-8.2.5.tar.bz2 167549
+MD5 a4d39451e13cef32df96df35e24643cb postgresql-test-8.2.5.tar.bz2 987137
+RMD160 0acc94206384bcd784bd2d35e9d5b9c256e24db0 postgresql-test-8.2.5.tar.bz2 987137
+SHA256 89174ef45e2ce09221d31c57745ecc18ea8f28389b0ba541ec2f26ba656dc752 postgresql-test-8.2.5.tar.bz2 987137
diff --git a/dev-db/postgresql/files/postgresql-7.3.19-autoconf.patch b/dev-db/postgresql/files/postgresql-7.3.19-autoconf.patch
deleted file mode 100644
index 9e83884..0000000
--- a/dev-db/postgresql/files/postgresql-7.3.19-autoconf.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-diff --git a/configure.in b/configure.in
-index 2dd90d6..6fffa79 100644
---- a/configure.in
-+++ b/configure.in
-@@ -19,12 +19,7 @@ m4_pattern_forbid(^PGAC_)dnl to catch undefined macros
- dnl
- dnl The GNU folks apparently haven't heard that some people don't use
- dnl Texinfo. Use this sorcery to use "docdir" instead of "infodir".
--m4_define([info], [doc])
--m4_define([infodir], [docdir])
- AC_INIT([PostgreSQL], [7.3.19], [pgsql-bugs@postgresql.org])
--m4_undefine([infodir])
--m4_undefine([info])
--AC_SUBST(docdir)
-
- AC_PREREQ(2.53)
- AC_COPYRIGHT([Copyright 2002 PostgreSQL Global Development Group])
-@@ -623,7 +618,7 @@ AC_CHECK_LIB(PW, main)
- AC_CHECK_LIB(resolv, main)
- AC_SEARCH_LIBS(getopt_long, [getopt gnugetopt])
- # QNX:
--AC_CHECK_LIB([[unix]], main)
-+AC_CHECK_LIB([unix], main)
- AC_SEARCH_LIBS(crypt, crypt)
- # BeOS:
- AC_CHECK_LIB(bind, __inet_ntoa)
diff --git a/dev-db/postgresql/files/postgresql-7.3.20-autoconf.patch b/dev-db/postgresql/files/postgresql-7.3.20-autoconf.patch
new file mode 100644
index 0000000..df951f1
--- /dev/null
+++ b/dev-db/postgresql/files/postgresql-7.3.20-autoconf.patch
@@ -0,0 +1,51 @@
+diff --git a/config/programs.m4 b/config/programs.m4
+index 35d9e2b..c681983 100644
+--- a/config/programs.m4
++++ b/config/programs.m4
+@@ -153,13 +153,13 @@ AC_DEFUN([PGAC_CHECK_GETTEXT],
+ dnl FIXME: We should probably check for version >=0.10.36.
+ AC_CHECK_PROGS(XGETTEXT, xgettext)
+
+- # Note: share/locale is always the default, independent of $datadir
+- localedir='${prefix}/share/locale'
+- if test x"$prefix" = x"NONE"; then
+- exp_localedir="$ac_default_prefix/share/locale"
+- else
+- exp_localedir="$prefix/share/locale"
+- fi
++ # Note: share/locale *WAS* always the default, independent of $datadir
++ AC_ARG_WITH([locale-dir],
++ AC_HELP_STRING([--with-locale-dir],[Set path to locale files]),
++ [ localedir="${withval}" ],
++ [ localedir='${prefix}/share/locale' ]
++ )
++ exp_localedir="${localedir}"
+
+ AC_SUBST(localedir)
+ AC_DEFINE_UNQUOTED(LOCALEDIR, ["$exp_localedir"],
+diff --git a/configure.in b/configure.in
+index 83e8d46..22ea677 100644
+--- a/configure.in
++++ b/configure.in
+@@ -19,12 +19,7 @@ m4_pattern_forbid(^PGAC_)dnl to catch undefined macros
+ dnl
+ dnl The GNU folks apparently haven't heard that some people don't use
+ dnl Texinfo. Use this sorcery to use "docdir" instead of "infodir".
+-m4_define([info], [doc])
+-m4_define([infodir], [docdir])
+ AC_INIT([PostgreSQL], [7.3.20], [pgsql-bugs@postgresql.org])
+-m4_undefine([infodir])
+-m4_undefine([info])
+-AC_SUBST(docdir)
+
+ AC_PREREQ(2.53)
+ AC_COPYRIGHT([Copyright 2002 PostgreSQL Global Development Group])
+@@ -623,7 +618,7 @@ AC_CHECK_LIB(PW, main)
+ AC_CHECK_LIB(resolv, main)
+ AC_SEARCH_LIBS(getopt_long, [getopt gnugetopt])
+ # QNX:
+-AC_CHECK_LIB([[unix]], main)
++AC_CHECK_LIB([unix], main)
+ AC_SEARCH_LIBS(crypt, crypt)
+ # BeOS:
+ AC_CHECK_LIB(bind, __inet_ntoa)
diff --git a/dev-db/postgresql/files/postgresql-7.3.19-cubeparse.patch b/dev-db/postgresql/files/postgresql-7.3.20-cubeparse.patch
index 705e073..705e073 100644
--- a/dev-db/postgresql/files/postgresql-7.3.19-cubeparse.patch
+++ b/dev-db/postgresql/files/postgresql-7.3.20-cubeparse.patch
diff --git a/dev-db/postgresql/files/postgresql-7.4.17-autoconf.patch b/dev-db/postgresql/files/postgresql-7.4.17-autoconf.patch
deleted file mode 100644
index ac01049..0000000
--- a/dev-db/postgresql/files/postgresql-7.4.17-autoconf.patch
+++ /dev/null
@@ -1,17 +0,0 @@
-diff --git a/configure.in b/configure.in
-index 97a9701..0270800 100644
---- a/configure.in
-+++ b/configure.in
-@@ -19,12 +19,7 @@ m4_pattern_forbid(^PGAC_)dnl to catch undefined macros
- dnl
- dnl The GNU folks apparently haven't heard that some people don't use
- dnl Texinfo. Use this sorcery to use "docdir" instead of "infodir".
--m4_define([info], [doc])
--m4_define([infodir], [docdir])
- AC_INIT([PostgreSQL], [7.4.17], [pgsql-bugs@postgresql.org])
--m4_undefine([infodir])
--m4_undefine([info])
--AC_SUBST(docdir)
-
- AC_PREREQ(2.53)
- AC_COPYRIGHT([Copyright 2004 PostgreSQL Global Development Group])
diff --git a/dev-db/postgresql/files/postgresql-7.4.18-autoconf.patch b/dev-db/postgresql/files/postgresql-7.4.18-autoconf.patch
new file mode 100644
index 0000000..cf67242
--- /dev/null
+++ b/dev-db/postgresql/files/postgresql-7.4.18-autoconf.patch
@@ -0,0 +1,42 @@
+diff --git a/config/programs.m4 b/config/programs.m4
+index ae3b91a..6af24d2 100644
+--- a/config/programs.m4
++++ b/config/programs.m4
+@@ -153,13 +153,13 @@ AC_DEFUN([PGAC_CHECK_GETTEXT],
+ dnl FIXME: We should probably check for version >=0.10.36.
+ AC_CHECK_PROGS(XGETTEXT, xgettext)
+
+- # Note: share/locale is always the default, independent of $datadir
+- localedir='${prefix}/share/locale'
+- if test x"$prefix" = x"NONE"; then
+- exp_localedir="$ac_default_prefix/share/locale"
+- else
+- exp_localedir="$prefix/share/locale"
+- fi
++ # Note: share/locale *WAS* always the default, independent of $datadir
++ AC_ARG_WITH([locale-dir],
++ AC_HELP_STRING([--with-locale-dir],[Set path to locale files]),
++ [ localedir="${withval}" ],
++ [ localedir='${prefix}/share/locale' ]
++ )
++ exp_localedir="${localedir}"
+
+ AC_SUBST(localedir)
+ AC_DEFINE_UNQUOTED(LOCALEDIR, ["$exp_localedir"],
+diff --git a/configure.in b/configure.in
+index ea83766..934e5a1 100644
+--- a/configure.in
++++ b/configure.in
+@@ -19,12 +19,7 @@ m4_pattern_forbid(^PGAC_)dnl to catch undefined macros
+ dnl
+ dnl The GNU folks apparently haven't heard that some people don't use
+ dnl Texinfo. Use this sorcery to use "docdir" instead of "infodir".
+-m4_define([info], [doc])
+-m4_define([infodir], [docdir])
+ AC_INIT([PostgreSQL], [7.4.18], [pgsql-bugs@postgresql.org])
+-m4_undefine([infodir])
+-m4_undefine([info])
+-AC_SUBST(docdir)
+
+ AC_PREREQ(2.53)
+ AC_COPYRIGHT([Copyright 2004 PostgreSQL Global Development Group])
diff --git a/dev-db/postgresql/files/postgresql-7.4.17-hppa-testandset.patch b/dev-db/postgresql/files/postgresql-7.4.18-hppa-testandset.patch
index d5f916d..d5f916d 100644
--- a/dev-db/postgresql/files/postgresql-7.4.17-hppa-testandset.patch
+++ b/dev-db/postgresql/files/postgresql-7.4.18-hppa-testandset.patch
diff --git a/dev-db/postgresql/files/postgresql-8.0.13-sh.patch b/dev-db/postgresql/files/postgresql-8.0.14-sh.patch
index fc1dafe..fc1dafe 100644
--- a/dev-db/postgresql/files/postgresql-8.0.13-sh.patch
+++ b/dev-db/postgresql/files/postgresql-8.0.14-sh.patch
diff --git a/dev-db/postgresql/files/postgresql-8.1.9-regress_su.patch b/dev-db/postgresql/files/postgresql-8.1.10-regress_su.patch
index 28e2925..28e2925 100644
--- a/dev-db/postgresql/files/postgresql-8.1.9-regress_su.patch
+++ b/dev-db/postgresql/files/postgresql-8.1.10-regress_su.patch
diff --git a/dev-db/postgresql/files/postgresql-8.1.9-sh.patch b/dev-db/postgresql/files/postgresql-8.1.10-sh.patch
index 6350771..6350771 100644
--- a/dev-db/postgresql/files/postgresql-8.1.9-sh.patch
+++ b/dev-db/postgresql/files/postgresql-8.1.10-sh.patch
diff --git a/dev-db/postgresql/files/postgresql-8.2.4-gentoo.patch b/dev-db/postgresql/files/postgresql-8.2.5-gentoo.patch
index 6d47d25..6d47d25 100644
--- a/dev-db/postgresql/files/postgresql-8.2.4-gentoo.patch
+++ b/dev-db/postgresql/files/postgresql-8.2.5-gentoo.patch
diff --git a/dev-db/postgresql/files/postgresql-8.2.4-no-test.patch b/dev-db/postgresql/files/postgresql-8.2.5-no-test.patch
index 0f887e2..0f887e2 100644
--- a/dev-db/postgresql/files/postgresql-8.2.4-no-test.patch
+++ b/dev-db/postgresql/files/postgresql-8.2.5-no-test.patch
diff --git a/dev-db/postgresql/files/postgresql-8.2.4-regress_fix.patch b/dev-db/postgresql/files/postgresql-8.2.5-regress_fix.patch
index 0af8c3f..0af8c3f 100644
--- a/dev-db/postgresql/files/postgresql-8.2.4-regress_fix.patch
+++ b/dev-db/postgresql/files/postgresql-8.2.5-regress_fix.patch
diff --git a/dev-db/postgresql/files/postgresql-8.2.4-regress_su.patch b/dev-db/postgresql/files/postgresql-8.2.5-regress_su.patch
index 83c56d7..83c56d7 100644
--- a/dev-db/postgresql/files/postgresql-8.2.4-regress_su.patch
+++ b/dev-db/postgresql/files/postgresql-8.2.5-regress_su.patch
diff --git a/dev-db/postgresql/files/postgresql-8.2.4-sh.patch b/dev-db/postgresql/files/postgresql-8.2.5-sh.patch
index 295bb6c..295bb6c 100644
--- a/dev-db/postgresql/files/postgresql-8.2.4-sh.patch
+++ b/dev-db/postgresql/files/postgresql-8.2.5-sh.patch