SHA256
1
0
forked from pool/pam_pkcs11
pam_pkcs11/pam_pkcs11-0.6.8-fix-crypto-cflags.patch
Stanislav Brabec 786c74ddf5 Accepting request 358604 from home:1Antoine1:branches:security:chipcard
- Fix build for Tumbleweed:
  * Add pam_pkcs11-0.6.8-fix-crypto-cflags.patch
  * Rebuild configure with the bootstrap script (add libtool as
    build dependency)

Simply because "echo $(pkg-config --libs nss)-DHAVE-NSS" used to
return:
"-lssl3 -lsmime3 -lnss3 -lnssutil3 -lplds4 -lplc4 -lnspr4 -DHAVE-NSS"
but returns:
"-lssl3 -lsmime3 -lnss3 -lnssutil3 -lplds4 -lplc4 -lnspr4-DHAVE-NSS"
on Tumbleweed

OBS-URL: https://build.opensuse.org/request/show/358604
OBS-URL: https://build.opensuse.org/package/show/security:chipcard/pam_pkcs11?expand=0&rev=15
2016-04-04 12:03:04 +00:00

13 lines
430 B
Diff

diff -up ./configure.in.orig ./configure.in
--- ./configure.in.orig 2016-02-08 23:31:17.057761702 +0100
+++ ./configure.in 2016-02-08 23:31:44.917760530 +0100
@@ -157,7 +157,7 @@ fi
AM_CONDITIONAL(HAVE_NSS, test x$with_nss = xyes)
if test "$with_nss" = "yes"
then
- CRYPTO_CFLAGS="${NSS_CFLAGS}-DHAVE_NSS"
+ CRYPTO_CFLAGS="${NSS_CFLAGS} -DHAVE_NSS"
CRYPTO_LIBS=${NSS_LIBS}
else
CRYPTO_CFLAGS=${OPENSSL_CFLAGS}