diff options
author | 2012-02-29 16:51:14 +0000 | |
---|---|---|
committer | 2012-02-29 16:51:14 +0000 | |
commit | 8fda49a51f34d3a1a92ec95afff89ba832e0eaa2 (patch) | |
tree | 3af3e719532f5e18e0e7a6982f750d889cbfc4f1 /dev-python/dbus-python/files | |
parent | Stable for HPPA (bug #405965). (diff) | |
download | historical-8fda49a51f34d3a1a92ec95afff89ba832e0eaa2.tar.gz historical-8fda49a51f34d3a1a92ec95afff89ba832e0eaa2.tar.bz2 historical-8fda49a51f34d3a1a92ec95afff89ba832e0eaa2.zip |
Fix test failure on systems with long values in PORTAGE_TMPDIR. Bug 405985. Thanks to Ian Delaney for reporting here and upstream.
Package-Manager: portage-2.2.0_alpha89/cvs/Linux x86_64
Diffstat (limited to 'dev-python/dbus-python/files')
-rw-r--r-- | dev-python/dbus-python/files/dbus-python-1.0.0-test-socket-tmpdir.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/dev-python/dbus-python/files/dbus-python-1.0.0-test-socket-tmpdir.patch b/dev-python/dbus-python/files/dbus-python-1.0.0-test-socket-tmpdir.patch new file mode 100644 index 000000000000..a1ab427cdf32 --- /dev/null +++ b/dev-python/dbus-python/files/dbus-python-1.0.0-test-socket-tmpdir.patch @@ -0,0 +1,27 @@ +From c53788657c0cfbd038325e690e7097e31f5e8430 Mon Sep 17 00:00:00 2001 +From: Simon McVittie <simon.mcvittie@collabora.co.uk> +Date: Wed, 29 Feb 2012 13:35:24 +0000 +Subject: Put sockets for the regression tests in /tmp, not ${builddir} + +Some automated build systems (naming no Portage) have really long build +directories, which can cause dbus-python to hit the length limit for Unix +sockets' names. + +Bug: https://bugs.freedesktop.org/show_bug.cgi?id=46747 +Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk> +--- +diff --git a/test/tmp-session-bus.conf.in b/test/tmp-session-bus.conf.in +index 9d172ff..3a2c756 100644 +--- a/test/tmp-session-bus.conf.in ++++ b/test/tmp-session-bus.conf.in +@@ -4,7 +4,7 @@ + <busconfig> + <!-- Our well-known bus type, don't change this --> + <type>session</type> +- <listen>unix:tmpdir=@abs_top_builddir@/test</listen> ++ <listen>unix:tmpdir=/tmp</listen> + + <servicedir>@abs_top_builddir@/test</servicedir> + +-- +cgit v0.9.0.2-2-gbebe |