diff options
author | 2009-07-05 14:26:22 +0000 | |
---|---|---|
committer | 2009-07-05 14:26:22 +0000 | |
commit | d6dc83ac5ba57316fd2b5abc87a669c5f6821936 (patch) | |
tree | 12db58c3389cf3986144614f4c94bc01641472ad /net-misc/rdesktop/files | |
parent | Version bump to 3.6.7, minor changes (diff) | |
download | historical-d6dc83ac5ba57316fd2b5abc87a669c5f6821936.tar.gz historical-d6dc83ac5ba57316fd2b5abc87a669c5f6821936.tar.bz2 historical-d6dc83ac5ba57316fd2b5abc87a669c5f6821936.zip |
Fix autoconf logic on enabling pcsc-lite, bug #275972
Package-Manager: portage-2.2_rc33/cvs/Linux x86_64
Diffstat (limited to 'net-misc/rdesktop/files')
-rw-r--r-- | net-misc/rdesktop/files/rdesktop-1.6.0-smartcard_configure.patch | 22 |
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) |