bluez: bump to 5.47 fix CVE-2017-1000250
[feed/packages.git] / utils / bluez / patches / 201-readline.patch
1 --- a/Makefile.in 2017-09-14 11:47:06.000000000 +0200
2 +++ b/Makefile.in 2017-09-15 02:52:39.315926972 +0200
3 @@ -2447,7 +2447,7 @@
4 @CLIENT_TRUE@ monitor/uuid.h monitor/uuid.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 @MESH_TRUE@mesh_meshctl_SOURCES = mesh/main.c \
11 @MESH_TRUE@ mesh/mesh-net.h \
12 @@ -2468,7 +2468,7 @@
13
14 @MESH_TRUE@mesh_meshctl_LDADD = gdbus/libgdbus-internal.la src/libshared-glib.la \
15 @MESH_TRUE@ lib/libbluetooth-internal.la \
16 -@MESH_TRUE@ @GLIB_LIBS@ @DBUS_LIBS@ -ljson-c -lreadline
17 +@MESH_TRUE@ @GLIB_LIBS@ @DBUS_LIBS@ -ljson-c -lreadline -lncurses
18
19 @MONITOR_TRUE@monitor_btmon_SOURCES = monitor/main.c monitor/bt.h \
20 @MONITOR_TRUE@ monitor/display.h monitor/display.c \
21 @@ -2724,7 +2724,7 @@
22 @READLINE_TRUE@ tools/obex-client-tool.c
23
24 @READLINE_TRUE@tools_obex_client_tool_LDADD = lib/libbluetooth-internal.la \
25 -@READLINE_TRUE@ @GLIB_LIBS@ -lreadline
26 +@READLINE_TRUE@ @GLIB_LIBS@ -lreadline -lncurses
27
28 @READLINE_TRUE@tools_obex_server_tool_SOURCES = $(gobex_sources) $(btio_sources) \
29 @READLINE_TRUE@ tools/obex-server-tool.c
30 @@ -2734,17 +2734,17 @@
31 @READLINE_TRUE@ client/display.h client/display.c
32
33 @READLINE_TRUE@tools_bluetooth_player_LDADD = gdbus/libgdbus-internal.la \
34 -@READLINE_TRUE@ @GLIB_LIBS@ @DBUS_LIBS@ -lreadline
35 +@READLINE_TRUE@ @GLIB_LIBS@ @DBUS_LIBS@ -lreadline -lncurses
36
37 @READLINE_TRUE@tools_obexctl_SOURCES = tools/obexctl.c \
38 @READLINE_TRUE@ client/display.h client/display.c
39
40 @READLINE_TRUE@tools_obexctl_LDADD = gdbus/libgdbus-internal.la \
41 -@READLINE_TRUE@ @GLIB_LIBS@ @DBUS_LIBS@ -lreadline
42 +@READLINE_TRUE@ @GLIB_LIBS@ @DBUS_LIBS@ -lreadline -lncurses
43
44 @READLINE_TRUE@tools_btmgmt_SOURCES = tools/btmgmt.c src/uuid-helper.c client/display.c
45 @READLINE_TRUE@tools_btmgmt_LDADD = lib/libbluetooth-internal.la src/libshared-mainloop.la \
46 -@READLINE_TRUE@ -lreadline
47 +@READLINE_TRUE@ -lreadline -lncurses
48
49 @DEPRECATED_TRUE@@READLINE_TRUE@attrib_gatttool_SOURCES = attrib/gatttool.c attrib/att.c attrib/gatt.c \
50 @DEPRECATED_TRUE@@READLINE_TRUE@ attrib/gattrib.c btio/btio.c \
51 @@ -2753,7 +2753,7 @@
52 @DEPRECATED_TRUE@@READLINE_TRUE@ client/display.h
53
54 @DEPRECATED_TRUE@@READLINE_TRUE@attrib_gatttool_LDADD = lib/libbluetooth-internal.la \
55 -@DEPRECATED_TRUE@@READLINE_TRUE@ src/libshared-glib.la @GLIB_LIBS@ -lreadline
56 +@DEPRECATED_TRUE@@READLINE_TRUE@ src/libshared-glib.la @GLIB_LIBS@ -lreadline -lncurses
57
58 @CUPS_TRUE@cupsdir = $(libdir)/cups/backend
59 @CUPS_TRUE@profiles_cups_bluetooth_SOURCES = profiles/cups/main.c \