Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=bluez.git;a=commitdiff;h=43b7bec5c2ddaa9a76a6a8ec6fe0184e2fd0a28b

commit 43b7bec5c2ddaa9a76a6a8ec6fe0184e2fd0a28b
Author: crazy <cr...@frugalware.org>
Date:   Sat Feb 13 20:10:11 2010 +0100

bluez-hcidump-1.42-2-x86_64
* rebuilt with bluez
* added patch to fix building with bluez>4.61
* see 
http://git.kernel.org/?p=bluetooth/bluez.git;a=commit;h=c886503a79c720b5953fe06108c0ac86e9c17b69

diff --git a/source/apps-extra/bluez-hcidump/FrugalBuild 
b/source/apps-extra/bluez-hcidump/FrugalBuild
index 98c3e59..b983acf 100644
--- a/source/apps-extra/bluez-hcidump/FrugalBuild
+++ b/source/apps-extra/bluez-hcidump/FrugalBuild
@@ -3,14 +3,15 @@

pkgname=bluez-hcidump
pkgver=1.42
-pkgrel=1
+pkgrel=2
pkgdesc="Bluetooth packet analyzer"
url="http://www.bluez.org";
depends=('bluez-libs>=3.19')
groups=('apps-extra')
archs=('i686' 'x86_64')
up2date="lynx -dump http://www.bluez.org/download.html|grep bluez-hcidump-|sed 
-n 's/.*bluez-hcidump-\(.*\)\.t.*/\1/; 1 p'"
-source=(http://bluez.sourceforge.net/download/$pkgname-$pkgver.tar.gz)
-sha1sums=('b18e41cbf92c00cfd0331506312fa248b39a0eee')
+source=(http://bluez.sourceforge.net/download/$pkgname-$pkgver.tar.gz 
bluez-4.61.patch)
+sha1sums=('b18e41cbf92c00cfd0331506312fa248b39a0eee' \
+          'f5257c5117198e5f1e9cd8e2007e9d34d0186f05')

# optimization OK
diff --git a/source/apps-extra/bluez-hcidump/bluez-4.61.patch 
b/source/apps-extra/bluez-hcidump/bluez-4.61.patch
new file mode 100644
index 0000000..da4cb26
--- /dev/null
+++ b/source/apps-extra/bluez-hcidump/bluez-4.61.patch
@@ -0,0 +1,21 @@
+diff -Naur bluez-hcidump-1.42/parser/hci.c bluez-hcidump-1.42-p/parser/hci.c
+--- bluez-hcidump-1.42/parser/hci.c    2008-06-15 14:46:13.000000000 +0200
++++ bluez-hcidump-1.42-p/parser/hci.c  2010-02-13 20:06:28.000000000 +0100
+@@ -1973,7 +1973,7 @@
+
+ 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 @@
+               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:
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to