[libnfc] add fix for usb enumeration

François Kooman fkooman at fedoraproject.org
Mon Jul 30 12:11:31 UTC 2012


commit d7ff0da64f024269612e0e9282f99357041bfcc3
Author: François Kooman <fkooman at tuxed.net>
Date:   Mon Jul 30 14:11:10 2012 +0200

    add fix for usb enumeration

 libnfc.spec                  |    7 ++++++-
 libnfc_usb_enumeration.patch |   12 ++++++++++++
 2 files changed, 18 insertions(+), 1 deletions(-)
---
diff --git a/libnfc.spec b/libnfc.spec
index aece979..2e79d45 100644
--- a/libnfc.spec
+++ b/libnfc.spec
@@ -1,12 +1,13 @@
 Name:           libnfc
 Version:        1.4.2
-Release:        3%{?dist}
+Release:        4%{?dist}
 Summary:        NFC SDK and Programmers API
 
 Group:          System Environment/Libraries
 License:        LGPLv3+
 URL:            http://www.libnfc.org/
 Source0:        http://libnfc.googlecode.com/files/%{name}-%{version}.tar.gz
+Patch0:         libnfc_usb_enumeration.patch 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:  pcsc-lite-devel
@@ -38,6 +39,7 @@ of libnfc.
 
 %prep
 %setup -q
+%patch0
 
 %build
 %configure --disable-static
@@ -79,6 +81,9 @@ rm -rf $RPM_BUILD_ROOT
 %{_mandir}/man1/*
 
 %changelog
+* Mon Jul 30 2012 F. Kooman <fkooman at tuxed.net> - 1.4.2-4
+- added usb enumeration patch to fix RHBZ #832983, #843660
+
 * Thu Jul 19 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.4.2-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
 
diff --git a/libnfc_usb_enumeration.patch b/libnfc_usb_enumeration.patch
new file mode 100644
index 0000000..5e6a06f
--- /dev/null
+++ b/libnfc_usb_enumeration.patch
@@ -0,0 +1,12 @@
+*** acr122b.c	2012-07-27 00:37:17.903267685 +0200
+--- acr122.c	2012-07-27 00:40:03.386123096 +0200
+***************
+*** 74,79 ****
+--- 74,80 ----
+    "ACS ACR 38U-CCID",   // Touchatag, early version
+    "ACS ACR38U-CCID",    // Touchatag, early version, under MacOSX
+    "    CCID USB",       // ??
++   "ACS AET65 00 00",
+    NULL
+  };
+  


More information about the scm-commits mailing list