From: Caleb Maclennan Date: Mon, 8 Nov 2010 10:03:12 +0000 (+0000) Subject: - Up to 4.78 X-Git-Tag: auto/th/bluez-4_79-1~1 X-Git-Url: https://git.pld-linux.org/gitweb.cgi?a=commitdiff_plain;h=10d5237284c59618b49160468e06cfad1ddf70cd;p=packages%2Fbluez.git - Up to 4.78 Changed files: bluez-try-utf8-harder.patch -> 1.2 bluez.spec -> 1.57 --- diff --git a/bluez-try-utf8-harder.patch b/bluez-try-utf8-harder.patch index 6a95fb7..c762e3a 100644 --- a/bluez-try-utf8-harder.patch +++ b/bluez-try-utf8-harder.patch @@ -1,9 +1,7 @@ -diff --git a/src/security.c b/src/security.c -index 905cf61..67fd266 100644 ---- a/src/security.c -+++ b/src/security.c -@@ -705,8 +705,16 @@ static inline void remote_name_information(int dev, bdaddr_t *sba, void *ptr) - memcpy(name, evt->name, MAX_NAME_LENGTH); +--- bluez-4.78/src/event.c.orig 2010-11-08 11:58:02.359781937 +0200 ++++ bluez-4.78/src/event.c 2010-11-08 11:58:34.456448604 +0200 +@@ -489,8 +489,16 @@ + /* It's ok to cast end between const and non-const since * we know it points to inside of name which is non-const */ - if (!g_utf8_validate(name, -1, (const char **) &end)) @@ -18,6 +16,6 @@ index 905cf61..67fd266 100644 + } else + *end = '\0'; + } - write_device_name(sba, &dba, name); - } + write_device_name(local, peer, name); + } diff --git a/bluez.spec b/bluez.spec index 7d157a4..b5daa2e 100644 --- a/bluez.spec +++ b/bluez.spec @@ -1,13 +1,13 @@ Summary: Bluetooth utilities Summary(pl.UTF-8): Narzędzia Bluetooth Name: bluez -Version: 4.77 +Version: 4.78 Release: 1 License: GPL v2+ Group: Applications/System #Source0Download: http://www.bluez.org/download.html Source0: http://www.kernel.org/pub/linux/bluetooth/%{name}-%{version}.tar.gz -# Source0-md5: 58644b9d65bc7c73a19e9a38f56b165d +# Source0-md5: 2587846014db01baa1659a04a9185e53 Source1: %{name}.init Source2: %{name}.sysconfig Source3: dund.init