summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-misc/rdesktop/files/rdesktop-1.6.0-smartcard_configure.patch')
-rw-r--r--net-misc/rdesktop/files/rdesktop-1.6.0-smartcard_configure.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/net-misc/rdesktop/files/rdesktop-1.6.0-smartcard_configure.patch b/net-misc/rdesktop/files/rdesktop-1.6.0-smartcard_configure.patch
new file mode 100644
index 000000000000..a23796694429
--- /dev/null
+++ b/net-misc/rdesktop/files/rdesktop-1.6.0-smartcard_configure.patch
@@ -0,0 +1,22 @@
+--- configure.ac.orig 2009-07-05 16:13:23.000000000 +0200
++++ configure.ac 2009-07-05 16:19:39.000000000 +0200
+@@ -108,7 +108,10 @@
+ AC_ARG_ENABLE(smartcard,
+ [ --enable-smartcard Enables smart-card support.
+ ],
+- [
++ [
++ if test "$enableval" = no; then
++ WITH_SCARD=0
++ else
+ case "$OSTYPE" in
+ darwin*)
+ AC_CHECK_HEADER(PCSC/pcsclite.h, [WITH_SCARD=1], [WITH_SCARD=0])
+@@ -143,6 +146,7 @@
+ [AC_MSG_RESULT(yes) AC_DEFINE(WITH_PCSC120, 1, [old version of PCSC])],
+ [AC_MSG_RESULT(no)]
+ )
++ fi
+ ])
+
+ AC_SUBST(SCARDOBJ)