summaryrefslogtreecommitdiff
path: root/packages/dbus/dbus-1.0.3/tmpdir.patch
diff options
context:
space:
mode:
authorJohn Lee <john_lee@openmoko.org>2008-03-07 13:05:07 +0000
committerJohn Lee <john_lee@openmoko.org>2008-03-07 13:05:07 +0000
commit0b098d35b319ed6c00f363cb0d4fd447d7fb8d57 (patch)
treea830bf983a66688f5648cd83e362c4fea2f48f6b /packages/dbus/dbus-1.0.3/tmpdir.patch
parent06fb90eb31b0b85a5c5c7adf185ce2515c5b1220 (diff)
parentd3bbd28f22fbd8e9d097081fa128ae18197f36e1 (diff)
merge of '26501141207c84e31e0f43c5795a15c0f16dbce5'
and '86618f966282489d43b51fbf0ee93b954ac615ae'
Diffstat (limited to 'packages/dbus/dbus-1.0.3/tmpdir.patch')
-rw-r--r--packages/dbus/dbus-1.0.3/tmpdir.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/packages/dbus/dbus-1.0.3/tmpdir.patch b/packages/dbus/dbus-1.0.3/tmpdir.patch
new file mode 100644
index 0000000000..838b903f0a
--- /dev/null
+++ b/packages/dbus/dbus-1.0.3/tmpdir.patch
@@ -0,0 +1,30 @@
+--- dbus-0.22/configure.in.orig 2004-08-13 00:57:16.000000000 +0200
++++ dbus-0.22/configure.in 2004-12-30 21:15:57.000000000 +0100
+@@ -1047,15 +1048,18 @@
+ AC_SUBST(ABSOLUTE_TOP_BUILDDIR)
+
+ #### Find socket directories
+-if ! test -z "$TMPDIR" ; then
+- DEFAULT_SOCKET_DIR=$TMPDIR
+-elif ! test -z "$TEMP" ; then
+- DEFAULT_SOCKET_DIR=$TEMP
+-elif ! test -z "$TMP" ; then
+- DEFAULT_SOCKET_DIR=$TMP
+-else
+- DEFAULT_SOCKET_DIR=/tmp
+-fi
++#if ! test -z "$TMPDIR" ; then
++# DEFAULT_SOCKET_DIR=$TMPDIR
++#elif ! test -z "$TEMP" ; then
++# DEFAULT_SOCKET_DIR=$TEMP
++#elif ! test -z "$TMP" ; then
++# DEFAULT_SOCKET_DIR=$TMP
++#else
++# DEFAULT_SOCKET_DIR=/tmp
++#fi
++
++# checks disabled to avoid expanding this at build time
++DEFAULT_SOCKET_DIR=/tmp
+
+ if ! test -z "$with_test_socket_dir" ; then
+ TEST_SOCKET_DIR="$with_test_socket_dir"