fix header file
This commit is contained in:
parent
f977799af1
commit
4d3bfbe1d0
29
0001-fix-invalid-conversion.patch
Normal file
29
0001-fix-invalid-conversion.patch
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
From 11e92de1808451e2811a38ca8e398457574b2f84 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Fedora Bluez maintainers <bluez-owner@fedoraproject.org>
|
||||||
|
Date: Sun, 29 Mar 2015 18:28:48 +0200
|
||||||
|
Subject: [PATCH] fix invalid conversion
|
||||||
|
|
||||||
|
error: invalid conversion from 'const void*' to 'const uint8_t* {aka
|
||||||
|
const unsigned char*}' [-fpermissive]
|
||||||
|
---
|
||||||
|
lib/bluetooth.h | 4 ++--
|
||||||
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/lib/bluetooth.h b/lib/bluetooth.h
|
||||||
|
index 6ca64b6..852a6b2 100644
|
||||||
|
--- a/lib/bluetooth.h
|
||||||
|
+++ b/lib/bluetooth.h
|
||||||
|
@@ -345,8 +345,8 @@ typedef struct {
|
||||||
|
|
||||||
|
static inline void bswap_128(const void *src, void *dst)
|
||||||
|
{
|
||||||
|
- const uint8_t *s = src;
|
||||||
|
- uint8_t *d = dst;
|
||||||
|
+ const uint8_t *s = (const uint8_t *) src;
|
||||||
|
+ uint8_t *d = (uint8_t *) dst;
|
||||||
|
int i;
|
||||||
|
|
||||||
|
for (i = 0; i < 16; i++)
|
||||||
|
--
|
||||||
|
2.3.4
|
||||||
|
|
@ -3,7 +3,7 @@
|
|||||||
Summary: Bluetooth utilities
|
Summary: Bluetooth utilities
|
||||||
Name: bluez
|
Name: bluez
|
||||||
Version: 5.29
|
Version: 5.29
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
Group: Applications/System
|
Group: Applications/System
|
||||||
URL: http://www.bluez.org/
|
URL: http://www.bluez.org/
|
||||||
@ -18,6 +18,7 @@ Patch3: 0001-Allow-using-obexd-without-systemd-in-the-user-sessio.patch
|
|||||||
Patch4: 0001-obex-Use-GLib-helper-function-to-manipulate-paths.patch
|
Patch4: 0001-obex-Use-GLib-helper-function-to-manipulate-paths.patch
|
||||||
Patch5: 0002-autopair-Don-t-handle-the-iCade.patch
|
Patch5: 0002-autopair-Don-t-handle-the-iCade.patch
|
||||||
Patch7: 0004-agent-Assert-possible-infinite-loop.patch
|
Patch7: 0004-agent-Assert-possible-infinite-loop.patch
|
||||||
|
Patch8: 0001-fix-invalid-conversion.patch
|
||||||
|
|
||||||
BuildRequires: git
|
BuildRequires: git
|
||||||
BuildRequires: dbus-devel >= 0.90
|
BuildRequires: dbus-devel >= 0.90
|
||||||
@ -240,6 +241,9 @@ mkdir -p $RPM_BUILD_ROOT/%{_libdir}/bluetooth/
|
|||||||
/lib/udev/rules.d/97-hid2hci.rules
|
/lib/udev/rules.d/97-hid2hci.rules
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sun Mar 29 2015 David Tardon <dtardon@redhat.com> - 5.29-2
|
||||||
|
- fix header file
|
||||||
|
|
||||||
* Wed Mar 25 2015 Don Zickus <dzickus@redhat.com> 5.29-1
|
* Wed Mar 25 2015 Don Zickus <dzickus@redhat.com> 5.29-1
|
||||||
- Update to 5.29
|
- Update to 5.29
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user