From ded00ce5799d48f6fb35111fb877063a17314957 Mon Sep 17 00:00:00 2001 From: Ivana Varekova Date: Thu, 7 Feb 2008 14:30:53 +0000 Subject: [PATCH] - apply Tom Billet's patch for libusb & Z22 thanks Joe Christy and Kevin R. Page --- pilot-link-0.12.2-Zire.patch | 13 +++++++++++++ pilot-link.spec | 8 +++++++- 2 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 pilot-link-0.12.2-Zire.patch diff --git a/pilot-link-0.12.2-Zire.patch b/pilot-link-0.12.2-Zire.patch new file mode 100644 index 0000000..9019fae --- /dev/null +++ b/pilot-link-0.12.2-Zire.patch @@ -0,0 +1,13 @@ +diff -up pilot-link-0.12.2/libpisock/usb.c.pom pilot-link-0.12.2/libpisock/usb.c +--- pilot-link-0.12.2/libpisock/usb.c.pom 2008-02-07 15:03:58.000000000 +0100 ++++ pilot-link-0.12.2/libpisock/usb.c 2008-02-07 15:02:51.000000000 +0100 +@@ -810,7 +810,8 @@ pi_usb_dev_t known_devices[] = { + { + .vendor = 0x0830, + .product = 0x0061, ++ .idstr = "Zire 31, 72, Z22", ++ .flags = USB_INIT_TAPWAVE, +- .idstr = "Zire 31, 72", + }, + + { diff --git a/pilot-link.spec b/pilot-link.spec index fcc6422..ee49c50 100644 --- a/pilot-link.spec +++ b/pilot-link.spec @@ -3,7 +3,7 @@ Name: pilot-link Version: 0.12.2 -Release: 17%{?dist} +Release: 18%{?dist} Epoch: 2 License: GPLv2 and GPLv2+ and LGPLv2+ and TCL Group: Applications/Communications @@ -27,6 +27,7 @@ Patch5: pilot-link-0.12.2-m4.patch Patch6: pilot-link-0.12.2-open.patch Patch7: pilot-link-0.12.2-NR70V.patch Patch8: pilot-link-0.12.2-md5.patch +Patch9: pilot-link-0.12.2-Zire.patch Requires(post): /sbin/ldconfig Requires(postun): /sbin/ldconfig @@ -82,6 +83,7 @@ need to install pilot-link-devel. %patch6 -p1 -b .open %patch7 -p1 -b .NR70V %patch8 -p1 -b .md5 +%patch9 -p1 -b .Zire %build autoreconf -is @@ -189,6 +191,10 @@ rm -rf %{buildroot} %{_datadir}/aclocal/*.m4 %changelog +* Thu Feb 7 2008 Ivana Varekova - 2:0.12.2-18 +- apply Tom Billet's patch for libusb & Z22 + thanks Joe Christy and Kevin R. Page + * Wed Jan 9 2008 Ivana Varekova - 2:0.12.2-17 - remove visor modul remove from %post script - Change README.fedora use "ttyUSB[13579]" in 60-pilot.rules