Hello community,

here is the log from the commit of package pcsc-cyberjack for openSUSE:Factory
checked in at Thu Jun 23 13:17:58 CEST 2011.



--------
--- pcsc-cyberjack/pcsc-cyberjack.changes       2011-06-09 20:23:31.000000000 
+0200
+++ /mounts/work_src_done/STABLE/pcsc-cyberjack/pcsc-cyberjack.changes  
2011-06-22 14:57:11.000000000 +0200
@@ -1,0 +2,5 @@
+Wed Jun 22 12:56:46 UTC 2011 - w...@rosenauer.org
+
+- add patch for compatibility with pcsc-lite >= 1.7.3
+
+-------------------------------------------------------------------

calling whatdependson for head-i586


New:
----
  pcsc-lite-1_7_3.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ pcsc-cyberjack.spec ++++++
--- /var/tmp/diff_new_pack.1TmX20/_old  2011-06-23 13:17:40.000000000 +0200
+++ /var/tmp/diff_new_pack.1TmX20/_new  2011-06-23 13:17:40.000000000 +0200
@@ -26,7 +26,7 @@
 BuildRequires:  hal-devel libusb-devel
 %endif
 Version:        3.99.5final.SP01
-Release:        1
+Release:        2
 Group:          Productivity/Security
 License:        LGPLv2.1+
 Url:            http://www.reiner-sct.de/support/treiber_cyberjack.php
@@ -36,6 +36,7 @@
 Source2:        40-cyberjack.rules
 Patch1:         ctapi-cyberjack-configure.patch
 Patch2:         ctapi-cyberjack-check.patch
+Patch3:         pcsc-lite-1_7_3.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 %define ifddir %(pkg-config --variable=usbdropdir libpcsclite)
 Supplements:    modalias(usb:v0C4Bp0100d*dc*dsc*dp*ic*isc*ip*)
@@ -59,6 +60,7 @@
 cp -a %{S:1} README.SUSE
 %patch1
 %patch2
+%patch3 -p1
 
 %build
 ACLOCAL="aclocal -I m4" autoreconf -f -i

++++++ pcsc-lite-1_7_3.patch ++++++
diff --git a/ifd/ifd.cpp b/ifd/ifd.cpp
index 9339223..8b924a5 100644
--- a/ifd/ifd.cpp
+++ b/ifd/ifd.cpp
@@ -1101,7 +1101,11 @@ RESPONSECODE IFDHandler::p10GetFeatures(Context *ctx,
   len+=sizeof(PCSC_TLV_STRUCTURE);
 
   DEBUGLUN(Lun, DEBUG_MASK_IFD, "  Reporting Feature FEATURE_MCT_READERDIRECT 
(%08x)", CJPCSC_VEN_IOCTRL_MCT_READERDIRECT);
+#ifdef FEATURE_MCT_READERDIRECT
   pcsc_tlv->tag = FEATURE_MCT_READERDIRECT;
+#else
+  pcsc_tlv->tag = FEATURE_MCT_READER_DIRECT;
+#endif
   pcsc_tlv->length = 0x04; /* always 0x04 */
   pcsc_tlv->value = htonl(CJPCSC_VEN_IOCTRL_MCT_READERDIRECT);
   pcsc_tlv++;

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



Remember to have fun...

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to