diff options
Diffstat (limited to 'meta-networking/recipes-support/mtr/files')
| -rw-r--r-- | meta-networking/recipes-support/mtr/files/no-gtk.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/meta-networking/recipes-support/mtr/files/no-gtk.patch b/meta-networking/recipes-support/mtr/files/no-gtk.patch new file mode 100644 index 0000000000..0dbeb7a297 --- /dev/null +++ b/meta-networking/recipes-support/mtr/files/no-gtk.patch | |||
| @@ -0,0 +1,31 @@ | |||
| 1 | Disable gtk check that breaks with current autotools | ||
| 2 | |||
| 3 | Ideally we would have a proper fix for this and send that upstream instead. | ||
| 4 | |||
| 5 | Upstream-Status: Pending | ||
| 6 | |||
| 7 | Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> | ||
| 8 | |||
| 9 | diff --git a/configure.in b/configure.in | ||
| 10 | index 8474543..5118565 100644 | ||
| 11 | --- a/configure.in | ||
| 12 | +++ b/configure.in | ||
| 13 | @@ -48,16 +48,8 @@ AC_ARG_ENABLE(ipv6, | ||
| 14 | [ --disable-ipv6 Do not enable IPv6], | ||
| 15 | WANTS_IPV6=$enableval, WANTS_IPV6=yes) | ||
| 16 | |||
| 17 | -if test "x$WANTS_GTK" = "xyes"; then | ||
| 18 | - AM_PATH_GTK_2_0(2.6.0, CFLAGS="$CFLAGS $GTK_CFLAGS" | ||
| 19 | - LIBS="$LIBS $GTK_LIBS -lm", | ||
| 20 | - AC_MSG_WARN(Building without GTK2 display support) | ||
| 21 | - AC_DEFINE(NO_GTK, 1, [Define if you don't have the GTK+ libraries available.]) | ||
| 22 | - GTK_OBJ="") | ||
| 23 | -else | ||
| 24 | - AC_DEFINE(NO_GTK) | ||
| 25 | - GTK_OBJ="" | ||
| 26 | -fi | ||
| 27 | +AC_DEFINE(NO_GTK, 1, [Define if you don't have the GTK+ libraries available.]) | ||
| 28 | +GTK_OBJ="" | ||
| 29 | |||
| 30 | AC_CHECK_FUNC(socket, , | ||
| 31 | AC_CHECK_LIB(socket, socket, , AC_MSG_ERROR(No socket library found))) | ||
