diff --git a/packages/network/bluez/patches/bluez-link_against_ncurses.patch b/packages/network/bluez/patches/bluez-link_against_ncurses.patch new file mode 100644 index 0000000000..ed8fac807d --- /dev/null +++ b/packages/network/bluez/patches/bluez-link_against_ncurses.patch @@ -0,0 +1,42 @@ +diff -Naur bluez-5.22/Makefile.tools bluez-5.22.patch/Makefile.tools +--- bluez-5.22/Makefile.tools 2014-08-06 19:25:36.000000000 +0200 ++++ bluez-5.22.patch/Makefile.tools 2014-09-24 19:33:38.061067877 +0200 +@@ -7,7 +7,7 @@ + client/agent.h client/agent.c \ + monitor/uuid.h monitor/uuid.c + client_bluetoothctl_LDADD = gdbus/libgdbus-internal.la @GLIB_LIBS@ @DBUS_LIBS@ \ +- -lreadline ++ -lreadline -lncurses + endif + + if MONITOR +@@ -372,12 +372,12 @@ + client/display.h \ + src/shared/crypto.h src/shared/crypto.c + +-attrib_gatttool_LDADD = lib/libbluetooth-internal.la @GLIB_LIBS@ -lreadline ++attrib_gatttool_LDADD = lib/libbluetooth-internal.la @GLIB_LIBS@ -lreadline -lncurses + + tools_obex_client_tool_SOURCES = $(gobex_sources) $(btio_sources) \ + tools/obex-client-tool.c + tools_obex_client_tool_LDADD = lib/libbluetooth-internal.la \ +- @GLIB_LIBS@ -lreadline ++ @GLIB_LIBS@ -lreadline -lncurses + + tools_obex_server_tool_SOURCES = $(gobex_sources) $(btio_sources) \ + tools/obex-server-tool.c +@@ -386,12 +386,12 @@ + tools_bluetooth_player_SOURCES = tools/bluetooth-player.c \ + client/display.h client/display.c + tools_bluetooth_player_LDADD = gdbus/libgdbus-internal.la \ +- @GLIB_LIBS@ @DBUS_LIBS@ -lreadline ++ @GLIB_LIBS@ @DBUS_LIBS@ -lreadline -lncurses + + tools_obexctl_SOURCES = tools/obexctl.c \ + client/display.h client/display.c + tools_obexctl_LDADD = gdbus/libgdbus-internal.la \ +- @GLIB_LIBS@ @DBUS_LIBS@ -lreadline ++ @GLIB_LIBS@ @DBUS_LIBS@ -lreadline -lncurses + endif + + if EXPERIMENTAL