$OpenBSD: patch-src-pcsclite_h,v 1.3 2002/04/10 05:00:48 shell Exp $
--- src/pcsclite.h.orig	Thu Nov  8 06:54:30 2001
+++ src/pcsclite.h	Wed Dec 12 03:01:26 2001
@@ -143,11 +143,13 @@
 #define BLOCK_STATUS_RESUME             0x00FF  /* Normal resume        */
 #define BLOCK_STATUS_BLOCKING           0x00FA  /* Function is blocking */
 
-#define PCSCLITE_READER_CONFIG		"/etc/reader.conf"
-#define PCSCLITE_CARD_CONFIG		"/etc/card.conf"
-#define PCSCLITE_SHM_FILE               "/tmp/pcsc/.pcsctmp"
-#define PCSCLITE_PUBSHM_FILE            "/tmp/pcsc/.pcscpub"
-#define PCSCLITE_CSOCK_NAME             "/tmp/pcsc/.pcscomm"
+#define PCSCLITE_CONFIG_DIR		"/etc/pcscd"
+#define PCSCLITE_READER_CONFIG		PCSCLITE_CONFIG_DIR "/reader.conf"
+#define PCSCLITE_CARD_CONFIG		PCSCLITE_CONFIG_DIR "/card.conf"
+#define PCSCLITE_IPC_DIR		"/var/run/pcsc"
+#define PCSCLITE_SHM_FILE               PCSCLITE_IPC_DIR "/.pcsctmp"
+#define PCSCLITE_PUBSHM_FILE            PCSCLITE_IPC_DIR "/.pcscpub"
+#define PCSCLITE_CSOCK_NAME             PCSCLITE_IPC_DIR "/.pcscomm"
 
 #define PCSCLITE_SVC_IDENTITY	     0x01030000 /* Service ID           */
 
