summaryrefslogtreecommitdiff
path: root/meta/recipes-core/dbus/dbus-1.4.1/tmpdir.patch
diff options
context:
space:
mode:
authorQing He <qing.he@intel.com>2011-01-20 14:22:37 +0800
committerSaul Wold <sgw@linux.intel.com>2011-01-21 01:36:17 -0800
commit310556e158c58ce2e598e43db239afb16a08479f (patch)
treefe499ddedd475cd8d9f2260a9bc861ea233f2843 /meta/recipes-core/dbus/dbus-1.4.1/tmpdir.patch
parent13e92c840bbb1ebdc5888c0eb228fb253e247026 (diff)
downloadopenembedded-core-310556e158c58ce2e598e43db239afb16a08479f.tar.gz
openembedded-core-310556e158c58ce2e598e43db239afb16a08479f.tar.bz2
openembedded-core-310556e158c58ce2e598e43db239afb16a08479f.tar.xz
openembedded-core-310556e158c58ce2e598e43db239afb16a08479f.zip
dbus: upgrade to version 1.4.1
from 1.4.0 Signed-off-by: Qing He <qing.he@intel.com>
Diffstat (limited to 'meta/recipes-core/dbus/dbus-1.4.1/tmpdir.patch')
-rw-r--r--meta/recipes-core/dbus/dbus-1.4.1/tmpdir.patch34
1 files changed, 34 insertions, 0 deletions
diff --git a/meta/recipes-core/dbus/dbus-1.4.1/tmpdir.patch b/meta/recipes-core/dbus/dbus-1.4.1/tmpdir.patch
new file mode 100644
index 000000000..f5c22af12
--- /dev/null
+++ b/meta/recipes-core/dbus/dbus-1.4.1/tmpdir.patch
@@ -0,0 +1,34 @@
+# avoid to check tmp dir at build time. instead uses hard coded /tmp here
+#
+# comment added by Kevin Tian <kevin.tian@intel.com>
+
+--- 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"