summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTiziano Müller <dev-zero@gentoo.org>2007-07-11 17:39:54 +0000
committerTiziano Müller <dev-zero@gentoo.org>2007-07-11 17:39:54 +0000
commit280345a3d077d4059abf4b6c49b7c6c68737c280 (patch)
tree8e4eb852b7422de526e192d302ddba6ccac93ad2 /dev-db/postgresql/files/postgresql-8.2.4-regress_su.patch
parenteclass/einput: Removed portageq call in global context for EINPUT_NOCOLOR (diff)
downloadtesting-280345a3d077d4059abf4b6c49b7c6c68737c280.tar.gz
testing-280345a3d077d4059abf4b6c49b7c6c68737c280.tar.bz2
testing-280345a3d077d4059abf4b6c49b7c6c68737c280.zip
Added libpq and postgresql from the tree to fix a couple of bugs
svn path=/testing/; revision=266
Diffstat (limited to 'dev-db/postgresql/files/postgresql-8.2.4-regress_su.patch')
-rw-r--r--dev-db/postgresql/files/postgresql-8.2.4-regress_su.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/dev-db/postgresql/files/postgresql-8.2.4-regress_su.patch b/dev-db/postgresql/files/postgresql-8.2.4-regress_su.patch
new file mode 100644
index 0000000..83c56d7
--- /dev/null
+++ b/dev-db/postgresql/files/postgresql-8.2.4-regress_su.patch
@@ -0,0 +1,15 @@
+diff --git a/src/test/regress/GNUmakefile b/src/test/regress/GNUmakefile
+index f2319d2..b14a6f0 100644
+--- a/src/test/regress/GNUmakefile
++++ b/src/test/regress/GNUmakefile
+@@ -148,7 +148,8 @@ ##
+ check: all
+ -rm -rf ./testtablespace
+ mkdir ./testtablespace
+- ./pg_regress --temp-install=./tmp_check --top-builddir=$(top_builddir) --temp-port=$(TEMP_PORT) --schedule=$(srcdir)/parallel_schedule --multibyte=$(MULTIBYTE) --load-language=plpgsql $(MAXCONNOPT) $(NOLOCALE)
++ chown portage testtablespace .
++ su -s /bin/sh portage -c "./pg_regress --psqldir=`pwd`/../../bin/psql --temp-install=./tmp_check --top-builddir=$(top_builddir) --temp-port=$(TEMP_PORT) --schedule=$(srcdir)/parallel_schedule --multibyte=$(MULTIBYTE) --load-language=plpgsql $(MAXCONNOPT) $(NOLOCALE)"
+
+ installcheck: all
+ -rm -rf ./testtablespace
+diff --git a/src/test/regress/pg_regress.c b/src/test/regress/pg_regress.c