File disable-power-off.diff of Package pcsc-lite

Index: src/pcscd.h
===================================================================
--- src/pcscd.h.orig
+++ src/pcscd.h
@@ -63,7 +63,7 @@ enum
 #define PCSCLITE_STATUS_EVENT_TIMEOUT 10*60*1000 /* 10 minutes */
 
 /* Uncomment the next line if you do NOT want to use auto power off */
-/* #define DISABLE_ON_DEMAND_POWER_ON */
+#define DISABLE_ON_DEMAND_POWER_ON
 
 /* Uncomment the next line if you do not want the card to be powered on
  * when inserted */
Index: src/pcscd.h.in
===================================================================
--- src/pcscd.h.in.orig
+++ src/pcscd.h.in
@@ -63,7 +63,7 @@ enum
 #define PCSCLITE_STATUS_EVENT_TIMEOUT 10*60*1000 /* 10 minutes */
 
 /* Uncomment the next line if you do NOT want to use auto power off */
-/* #define DISABLE_ON_DEMAND_POWER_ON */
+#define DISABLE_ON_DEMAND_POWER_ON
 
 /* Uncomment the next line if you do not want the card to be powered on
  * when inserted */
openSUSE Build Service is sponsored by