commit bluez-hcidump for openSUSE:Factory
Hello community, here is the log from the commit of package bluez-hcidump for openSUSE:Factory checked in at Thu Feb 18 15:17:34 CET 2010. -------- --- bluez-hcidump/bluez-hcidump.changes 2009-05-01 11:54:25.000000000 +0200 +++ /mounts/work_src_done/STABLE/bluez-hcidump/bluez-hcidump.changes 2010-02-14 13:00:23.000000000 +0100 @@ -1,0 +2,5 @@ +Sun Feb 14 11:59:34 UTC 2010 - seife@opensuse.org + +- fix compilation with bluez-4.61 + +------------------------------------------------------------------- calling whatdependson for head-i586 New: ---- 0001-Fix-compilation-with-bluez-4.61-s-changed-hci.h.patch 0002-Add-hack-to-allow-compilation-with-old-bluez-lib.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ bluez-hcidump.spec ++++++ --- /var/tmp/diff_new_pack.wHAe2U/_old 2010-02-18 14:14:56.000000000 +0100 +++ /var/tmp/diff_new_pack.wHAe2U/_new 2010-02-18 14:14:56.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package bluez-hcidump (Version 1.42) # -# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -22,13 +22,15 @@ BuildRequires: bluez bluez-devel pkgconfig Url: http://bluez.sourceforge.net Version: 1.42 -Release: 18 +Release: 19 Summary: HCI Dumper for Debugging Bluetooth Connections -License: GPL v2 or later +License: GPLv2+ PreReq: %insserv_prereq Group: Development/Tools/Debuggers AutoReqProv: on Source: bluez-hcidump-%{version}.tar.bz2 +Patch1: 0001-Fix-compilation-with-bluez-4.61-s-changed-hci.h.patch +Patch2: 0002-Add-hack-to-allow-compilation-with-old-bluez-lib.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %if 0%{?suse_version} > 1100 %requires_ge bluez @@ -49,6 +51,8 @@ %prep %setup +%patch1 -p1 +%patch2 -p1 #%{?s #use_update_c #onfig:%{suse_up ++++++ 0001-Fix-compilation-with-bluez-4.61-s-changed-hci.h.patch ++++++
From 060633ba7a672cffa60f658692d36d08281a57e6 Mon Sep 17 00:00:00 2001 From: Stefan Seyfried
Date: Sun, 14 Feb 2010 12:24:00 +0100 Subject: [PATCH 1/2] Fix compilation with bluez 4.61's changed hci.h
--- parser/hci.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/parser/hci.c b/parser/hci.c index f1507fc..e4fc473 100644 --- a/parser/hci.c +++ b/parser/hci.c @@ -1973,7 +1973,7 @@ static inline void read_ext_inquiry_response_dump(int level, struct frame *frm) static inline void read_inquiry_transmit_power_level_dump(int level, struct frame *frm) { - read_inquiry_transmit_power_level_rp *rp = frm->ptr; + read_inq_response_tx_power_level_rp *rp = frm->ptr; p_indent(level, frm); printf("status 0x%2.2x level %d\n", rp->status, rp->level); @@ -2325,7 +2325,7 @@ static inline void cmd_complete_dump(int level, struct frame *frm) case OCF_READ_EXT_INQUIRY_RESPONSE: read_ext_inquiry_response_dump(level, frm); return; - case OCF_READ_INQUIRY_TRANSMIT_POWER_LEVEL: + case OCF_READ_INQ_RESPONSE_TX_POWER_LEVEL: read_inquiry_transmit_power_level_dump(level, frm); return; case OCF_READ_DEFAULT_ERROR_DATA_REPORTING: -- 1.6.6.1 ++++++ 0002-Add-hack-to-allow-compilation-with-old-bluez-lib.patch ++++++
From b2eb39866ddb6c6e902ba9ace73b0479f08eb786 Mon Sep 17 00:00:00 2001 From: Stefan Seyfried
Date: Sun, 14 Feb 2010 12:24:48 +0100 Subject: [PATCH 2/2] Add hack to allow compilation with old bluez lib
---
parser/hci.c | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/parser/hci.c b/parser/hci.c
index e4fc473..33c3640 100644
--- a/parser/hci.c
+++ b/parser/hci.c
@@ -41,6 +41,12 @@
#include
participants (1)
-
root@Hilbert.suse.de