+++ /dev/null
---- 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))
-- *end = '\0';
-+ if (!g_utf8_validate(name, -1, (const char **) &end)) {
-+ char *utf8_name;
-+
-+ utf8_name = g_convert(name, -1, "UTF-8", "ISO-8859-1", NULL, NULL, NULL);
-+ if (utf8_name) {
-+ memcpy(name, utf8_name, 248);
-+ g_free(utf8_name);
-+ } else
-+ *end = '\0';
-+ }
-
- write_device_name(local, peer, name);
- }
Summary: Bluetooth utilities
Summary(pl.UTF-8): Narzędzia Bluetooth
Name: bluez
-Version: 4.93
+Version: 4.94
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: c0f6450a39809996306005f5b85c6d3d
+# Source0-md5: 59040081375411e3000dea9e5d53e5b7
Source1: %{name}.init
Source2: %{name}.sysconfig
Source3: dund.init
Source5: rfcomm.init
Patch0: %{name}-etc_dir.patch
Patch1: %{name}-wacom-mode-2.patch
-Patch2: %{name}-try-utf8-harder.patch
URL: http://www.bluez.org/
BuildRequires: alsa-lib-devel >= 1.0.10-1
BuildRequires: autoconf >= 2.60
%setup -q
%patch0 -p1
%patch1 -p1
-%patch2 -p1
%build
%{__libtoolize}