e58b504b30a98c420f1b93f186ae0daa2156af91
[feed/packages.git] / utils / bluez / patches / 201-readline.patch
1 --- a/Makefile.in
2 +++ b/Makefile.in
3 @@ -3598,7 +3598,7 @@ unit_tests = $(am__append_62) unit/test-
4 @CLIENT_TRUE@ client/player.h client/player.c
5
6 @CLIENT_TRUE@client_bluetoothctl_LDADD = gdbus/libgdbus-internal.la src/libshared-glib.la \
7 -@CLIENT_TRUE@ $(GLIB_LIBS) $(DBUS_LIBS) -lreadline
8 +@CLIENT_TRUE@ $(GLIB_LIBS) $(DBUS_LIBS) -lreadline -lncurses
9
10 @ZSH_COMPLETIONS_TRUE@zshcompletiondir = $(ZSH_COMPLETIONDIR)
11 @ZSH_COMPLETIONS_TRUE@dist_zshcompletion_DATA = completion/zsh/_bluetoothctl
12 @@ -3877,7 +3877,7 @@ unit_tests = $(am__append_62) unit/test-
13
14 @DEPRECATED_TRUE@@MESH_TRUE@@TOOLS_TRUE@tools_meshctl_LDADD = gdbus/libgdbus-internal.la src/libshared-glib.la \
15 @DEPRECATED_TRUE@@MESH_TRUE@@TOOLS_TRUE@ lib/libbluetooth-internal.la \
16 -@DEPRECATED_TRUE@@MESH_TRUE@@TOOLS_TRUE@ $(GLIB_LIBS) $(DBUS_LIBS) -ljson-c -lreadline
17 +@DEPRECATED_TRUE@@MESH_TRUE@@TOOLS_TRUE@ $(GLIB_LIBS) $(DBUS_LIBS) -ljson-c -lreadline -lncurses
18
19 @MESH_TRUE@@TOOLS_TRUE@tools_mesh_cfgclient_SOURCES = tools/mesh-cfgclient.c \
20 @MESH_TRUE@@TOOLS_TRUE@ tools/mesh/model.h tools/mesh/config-model.h \
21 @@ -3891,7 +3891,7 @@ unit_tests = $(am__append_62) unit/test-
22 @MESH_TRUE@@TOOLS_TRUE@ mesh/crypto.h mesh/crypto.c
23
24 @MESH_TRUE@@TOOLS_TRUE@tools_mesh_cfgclient_LDADD = lib/libbluetooth-internal.la src/libshared-ell.la \
25 -@MESH_TRUE@@TOOLS_TRUE@ $(ell_ldadd) -ljson-c -lreadline
26 +@MESH_TRUE@@TOOLS_TRUE@ $(ell_ldadd) -ljson-c -lreadline -lncurses
27
28 @MESH_TRUE@@TOOLS_TRUE@tools_mesh_cfgtest_SOURCES = tools/mesh-cfgtest.c
29 @MESH_TRUE@@TOOLS_TRUE@tools_mesh_cfgtest_LDADD = lib/libbluetooth-internal.la src/libshared-ell.la \
30 @@ -3948,7 +3948,7 @@ unit_tests = $(am__append_62) unit/test-
31 @READLINE_TRUE@ tools/obex-client-tool.c
32
33 @READLINE_TRUE@tools_obex_client_tool_LDADD = lib/libbluetooth-internal.la \
34 -@READLINE_TRUE@ src/libshared-glib.la $(GLIB_LIBS) -lreadline
35 +@READLINE_TRUE@ src/libshared-glib.la $(GLIB_LIBS) -lreadline -lncurses
36
37 @READLINE_TRUE@tools_obex_server_tool_SOURCES = $(gobex_sources) $(btio_sources) \
38 @READLINE_TRUE@ tools/obex-server-tool.c
39 @@ -3959,15 +3959,15 @@ unit_tests = $(am__append_62) unit/test-
40 @READLINE_TRUE@tools_bluetooth_player_SOURCES = tools/bluetooth-player.c client/player.c
41 @READLINE_TRUE@tools_bluetooth_player_LDADD = gdbus/libgdbus-internal.la \
42 @READLINE_TRUE@ src/libshared-glib.la \
43 -@READLINE_TRUE@ $(GLIB_LIBS) $(DBUS_LIBS) -lreadline
44 +@READLINE_TRUE@ $(GLIB_LIBS) $(DBUS_LIBS) -lreadline -lncurses
45
46 @READLINE_TRUE@tools_obexctl_SOURCES = tools/obexctl.c
47 @READLINE_TRUE@tools_obexctl_LDADD = gdbus/libgdbus-internal.la src/libshared-glib.la \
48 -@READLINE_TRUE@ $(GLIB_LIBS) $(DBUS_LIBS) -lreadline
49 +@READLINE_TRUE@ $(GLIB_LIBS) $(DBUS_LIBS) -lreadline -lncurses
50
51 @READLINE_TRUE@tools_btmgmt_SOURCES = tools/btmgmt.c src/uuid-helper.c client/display.c
52 @READLINE_TRUE@tools_btmgmt_LDADD = lib/libbluetooth-internal.la src/libshared-mainloop.la \
53 -@READLINE_TRUE@ -lreadline
54 +@READLINE_TRUE@ -lreadline -lncurses
55
56 @DEPRECATED_TRUE@@READLINE_TRUE@attrib_gatttool_SOURCES = attrib/gatttool.c attrib/att.c attrib/gatt.c \
57 @DEPRECATED_TRUE@@READLINE_TRUE@ attrib/gattrib.c btio/btio.c \
58 @@ -3976,7 +3976,7 @@ unit_tests = $(am__append_62) unit/test-
59 @DEPRECATED_TRUE@@READLINE_TRUE@ client/display.h
60
61 @DEPRECATED_TRUE@@READLINE_TRUE@attrib_gatttool_LDADD = lib/libbluetooth-internal.la \
62 -@DEPRECATED_TRUE@@READLINE_TRUE@ src/libshared-glib.la $(GLIB_LIBS) -lreadline
63 +@DEPRECATED_TRUE@@READLINE_TRUE@ src/libshared-glib.la $(GLIB_LIBS) -lreadline -lncurses
64
65 @CUPS_TRUE@cupsdir = $(libdir)/cups/backend
66 @CUPS_TRUE@profiles_cups_bluetooth_SOURCES = profiles/cups/main.c \
67 @@ -3996,7 +3996,7 @@ unit_tests = $(am__append_62) unit/test-
68 @BTPCLIENT_TRUE@tools_btpclient_DEPENDENCIES = lib/libbluetooth-internal.la $(ell_dependencies)
69 @BTPCLIENT_TRUE@tools_btpclientctl_SOURCES = tools/btpclientctl.c client/display.c
70 @BTPCLIENT_TRUE@tools_btpclientctl_LDADD = src/libshared-mainloop.la src/libshared-glib.la \
71 -@BTPCLIENT_TRUE@ lib/libbluetooth-internal.la -lreadline
72 +@BTPCLIENT_TRUE@ lib/libbluetooth-internal.la -lreadline -lncurses
73
74
75 # SPDX-License-Identifier: GPL-2.0