diff options
Diffstat (limited to 'meta/recipes-multimedia/gstreamer/gstreamer1.0')
-rw-r--r-- | meta/recipes-multimedia/gstreamer/gstreamer1.0/deterministic-unwind.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0/deterministic-unwind.patch b/meta/recipes-multimedia/gstreamer/gstreamer1.0/deterministic-unwind.patch new file mode 100644 index 0000000000..e39e6cad09 --- /dev/null +++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0/deterministic-unwind.patch | |||
@@ -0,0 +1,24 @@ | |||
1 | Make the detection of libunwind deterministic. | ||
2 | |||
3 | Upstream-Status: Pending | ||
4 | Signed-off-by: Ross Burton <ross.burton@intel.com> | ||
5 | |||
6 | diff --git a/configure.ac b/configure.ac | ||
7 | index ac88fb2..182c19a 100644 | ||
8 | --- a/configure.ac | ||
9 | +++ b/configure.ac | ||
10 | @@ -829,3 +828,0 @@ AM_CONDITIONAL(HAVE_GTK, test "x$HAVE_GTK" = "xyes") | ||
11 | -dnl libunwind is optionally used by the leaks tracer | ||
12 | -PKG_CHECK_MODULES(UNWIND, libunwind, HAVE_UNWIND=yes, HAVE_UNWIND=no) | ||
13 | - | ||
14 | @@ -839,3 +836,7 @@ AC_CHECK_FUNC(backtrace, [ | ||
15 | -if test "x$HAVE_UNWIND" = "xyes"; then | ||
16 | - AC_DEFINE(HAVE_UNWIND, 1, [libunwind available]) | ||
17 | -fi | ||
18 | +dnl libunwind is optionally used by the leaks tracer | ||
19 | +AC_ARG_WITH([unwind],[AS_HELP_STRING([--with-unwind],[use libunwind])], | ||
20 | + [], [with_unwind=yes]) | ||
21 | +AS_IF([test "$with_unwind" = yes], | ||
22 | + [PKG_CHECK_MODULES(UNWIND, libunwind) | ||
23 | + AC_DEFINE(HAVE_UNWIND, 1, [libunwind available])] | ||
24 | +) | ||