summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-09-23 04:57:43 +0000
committerMike Frysinger <vapier@gentoo.org>2006-09-23 04:57:43 +0000
commit9398a24159b2b4beb3d90b73957a6f19eba2da96 (patch)
treeaec90e9a02367b600ccd4e4d6915e3ab50d5af52 /net-misc/openssh/files
parentVersion bump. Ebuild contributed by Miroslav Sulc <miroslav.sulc@startnet.cz>... (diff)
downloadgentoo-2-9398a24159b2b4beb3d90b73957a6f19eba2da96.tar.gz
gentoo-2-9398a24159b2b4beb3d90b73957a6f19eba2da96.tar.bz2
gentoo-2-9398a24159b2b4beb3d90b73957a6f19eba2da96.zip
Fix building with --as-needed #148538 by Mart Raudsepp.
(Portage version: 2.1.2_pre1)
Diffstat (limited to 'net-misc/openssh/files')
-rw-r--r--net-misc/openssh/files/openssh-4.3_p2-opensc-libs.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/net-misc/openssh/files/openssh-4.3_p2-opensc-libs.patch b/net-misc/openssh/files/openssh-4.3_p2-opensc-libs.patch
new file mode 100644
index 000000000000..8eb8ff823069
--- /dev/null
+++ b/net-misc/openssh/files/openssh-4.3_p2-opensc-libs.patch
@@ -0,0 +1,14 @@
+http://bugs.gentoo.org/148538
+http://bugzilla.mindrot.org/show_bug.cgi?id=1234
+
+--- openssh/configure
++++ openssh/configure
+@@ -3086,7 +3086,7 @@ AC_ARG_WITH(opensc,
+ LIBOPENSC_CFLAGS=`$OPENSC_CONFIG --cflags`
+ LIBOPENSC_LIBS=`$OPENSC_CONFIG --libs`
+ CPPFLAGS="$CPPFLAGS $LIBOPENSC_CFLAGS"
+- LDFLAGS="$LDFLAGS $LIBOPENSC_LIBS"
++ LIBS="$LIBS $LIBOPENSC_LIBS"
+ cat >>confdefs.h <<\_ACEOF
+ #define SMARTCARD 1
+ _ACEOF