diff options
Diffstat (limited to 'meta/packages/dbus/dbus-1.2.24/tmpdir.patch')
-rw-r--r-- | meta/packages/dbus/dbus-1.2.24/tmpdir.patch | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/meta/packages/dbus/dbus-1.2.24/tmpdir.patch b/meta/packages/dbus/dbus-1.2.24/tmpdir.patch new file mode 100644 index 0000000000..f5c22af129 --- /dev/null +++ b/meta/packages/dbus/dbus-1.2.24/tmpdir.patch | |||
@@ -0,0 +1,34 @@ | |||
1 | # avoid to check tmp dir at build time. instead uses hard coded /tmp here | ||
2 | # | ||
3 | # comment added by Kevin Tian <kevin.tian@intel.com> | ||
4 | |||
5 | --- dbus-0.22/configure.in.orig 2004-08-13 00:57:16.000000000 +0200 | ||
6 | +++ dbus-0.22/configure.in 2004-12-30 21:15:57.000000000 +0100 | ||
7 | @@ -1047,15 +1048,18 @@ | ||
8 | AC_SUBST(ABSOLUTE_TOP_BUILDDIR) | ||
9 | |||
10 | #### Find socket directories | ||
11 | -if ! test -z "$TMPDIR" ; then | ||
12 | - DEFAULT_SOCKET_DIR=$TMPDIR | ||
13 | -elif ! test -z "$TEMP" ; then | ||
14 | - DEFAULT_SOCKET_DIR=$TEMP | ||
15 | -elif ! test -z "$TMP" ; then | ||
16 | - DEFAULT_SOCKET_DIR=$TMP | ||
17 | -else | ||
18 | - DEFAULT_SOCKET_DIR=/tmp | ||
19 | -fi | ||
20 | +#if ! test -z "$TMPDIR" ; then | ||
21 | +# DEFAULT_SOCKET_DIR=$TMPDIR | ||
22 | +#elif ! test -z "$TEMP" ; then | ||
23 | +# DEFAULT_SOCKET_DIR=$TEMP | ||
24 | +#elif ! test -z "$TMP" ; then | ||
25 | +# DEFAULT_SOCKET_DIR=$TMP | ||
26 | +#else | ||
27 | +# DEFAULT_SOCKET_DIR=/tmp | ||
28 | +#fi | ||
29 | + | ||
30 | +# checks disabled to avoid expanding this at build time | ||
31 | +DEFAULT_SOCKET_DIR=/tmp | ||
32 | |||
33 | if ! test -z "$with_test_socket_dir" ; then | ||
34 | TEST_SOCKET_DIR="$with_test_socket_dir" | ||