diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2017-12-17 16:46:42 +0100 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2017-12-17 16:48:31 +0100 |
commit | fd2ec76281f46103082801ea0e485388a798f931 (patch) | |
tree | 03c35eb93cd20b4635de23ef26bc7ce9a45264c6 /sys-fs/cryptsetup/files | |
parent | sys-apps/util-linux: Removed old. (diff) | |
download | gentoo-fd2ec76281f46103082801ea0e485388a798f931.tar.gz gentoo-fd2ec76281f46103082801ea0e485388a798f931.tar.bz2 gentoo-fd2ec76281f46103082801ea0e485388a798f931.zip |
sys-fs/cryptsetup: Fixed build with USE="static".
Closes: https://bugs.gentoo.org/641226
Package-Manager: Portage-2.3.19, Repoman-2.3.6
Diffstat (limited to 'sys-fs/cryptsetup/files')
-rw-r--r-- | sys-fs/cryptsetup/files/cryptsetup-2.0.0-pwquality_static.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/sys-fs/cryptsetup/files/cryptsetup-2.0.0-pwquality_static.patch b/sys-fs/cryptsetup/files/cryptsetup-2.0.0-pwquality_static.patch new file mode 100644 index 000000000000..56a2d45cb42b --- /dev/null +++ b/sys-fs/cryptsetup/files/cryptsetup-2.0.0-pwquality_static.patch @@ -0,0 +1,27 @@ +From 7c9312607c5b0923447175480d696b34f47f0e03 Mon Sep 17 00:00:00 2001 +From: Milan Broz <gmazyland@gmail.com> +Date: Sun, 17 Dec 2017 15:20:49 +0100 +Subject: [PATCH] Fix cryptsetup-reencrypt static build if pwquality is enabled. + +In static build we need to link also to pwquality. + +Fixes Issue#357. +--- + src/Makemodule.am | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/Makemodule.am b/src/Makemodule.am +index 55a388d..b6889eb 100644 +--- a/src/Makemodule.am ++++ b/src/Makemodule.am +@@ -112,6 +112,7 @@ cryptsetup_reencrypt_static_LDFLAGS = $(AM_LDFLAGS) -all-static + cryptsetup_reencrypt_static_LDADD = \ + $(cryptsetup_reencrypt_LDADD) \ + @CRYPTO_STATIC_LIBS@ \ ++ @PWQUALITY_STATIC_LIBS@ \ + @DEVMAPPER_STATIC_LIBS@ + endif + endif +-- +libgit2 0.26.0 + |