summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-fs/cryptsetup/files/cryptsetup-1.6.1-openssl-static.patch')
-rw-r--r--sys-fs/cryptsetup/files/cryptsetup-1.6.1-openssl-static.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/sys-fs/cryptsetup/files/cryptsetup-1.6.1-openssl-static.patch b/sys-fs/cryptsetup/files/cryptsetup-1.6.1-openssl-static.patch
new file mode 100644
index 000000000000..e479a305c310
--- /dev/null
+++ b/sys-fs/cryptsetup/files/cryptsetup-1.6.1-openssl-static.patch
@@ -0,0 +1,13 @@
+--- a/configure.ac 2013-03-24 05:02:02.000000000 -0400
++++ b/configure.ac 2013-08-06 15:57:57.844461481 -0400
+@@ -149,8 +149,8 @@
+ if test x$enable_static_cryptsetup = xyes; then
+ saved_PKG_CONFIG=$PKG_CONFIG
+ PKG_CONFIG="$PKG_CONFIG --static"
+- PKG_CHECK_MODULES([OPENSSL], [openssl])
+- CRYPTO_STATIC_LIBS=$OPENSSL_LIBS
++ PKG_CHECK_MODULES([OPENSSL_STATIC], [openssl])
++ CRYPTO_STATIC_LIBS=$OPENSSL_STATIC_LIBS
+ PKG_CONFIG=$saved_PKG_CONFIG
+ fi
+ NO_FIPS([])