diff options
author | 2018-05-05 02:35:07 +0200 | |
---|---|---|
committer | 2018-05-08 10:11:05 -0700 | |
commit | da222eb668e9d0743688b0bd1608fd0824b1b8b1 (patch) | |
tree | 05ee379fcd28ad3328ceac438c97c087b72297ba /sys-fs/lvm2/files | |
parent | app-arch/p7zip: adding 2016 cve (diff) | |
download | gentoo-da222eb668e9d0743688b0bd1608fd0824b1b8b1.tar.gz gentoo-da222eb668e9d0743688b0bd1608fd0824b1b8b1.tar.bz2 gentoo-da222eb668e9d0743688b0bd1608fd0824b1b8b1.zip |
sys-fs/lvm2-2.02.17{1,2,3}: Fix static build
Closes: https://bugs.gentoo.org/617756
Package-Manager: Portage-2.3.35, Repoman-2.3.9
(cherry picked from commit 0d57a354c5b3ab9db2b8e2ea6adbdad2dd6a1c03)
Closes: https://github.com/gentoo/gentoo/pull/8265
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
Diffstat (limited to 'sys-fs/lvm2/files')
-rw-r--r-- | sys-fs/lvm2/files/lvm2-2.02.171-static-libm.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/sys-fs/lvm2/files/lvm2-2.02.171-static-libm.patch b/sys-fs/lvm2/files/lvm2-2.02.171-static-libm.patch new file mode 100644 index 000000000000..1cbf956db258 --- /dev/null +++ b/sys-fs/lvm2/files/lvm2-2.02.171-static-libm.patch @@ -0,0 +1,13 @@ +diff --git a/make.tmpl.in b/make.tmpl.in +index a40eaaa15..7eea943aa 100644 +--- a/make.tmpl.in ++++ b/make.tmpl.in +@@ -53,7 +53,7 @@ PYCOMPILE = $(top_srcdir)/autoconf/py-compile + + LIBS = @LIBS@ + # Extra libraries always linked with static binaries +-STATIC_LIBS = $(SELINUX_STATIC_LIBS) $(UDEV_STATIC_LIBS) $(BLKID_STATIC_LIBS) ++STATIC_LIBS = $(SELINUX_STATIC_LIBS) $(UDEV_STATIC_LIBS) $(BLKID_STATIC_LIBS) $(M_LIBS) + DEFS += @DEFS@ + # FIXME set this only where it's needed, not globally? + CFLAGS ?= @COPTIMISE_FLAG@ @CFLAGS@ |