diff options
Diffstat (limited to 'sys-fs/lvm2/files/lvm2-2.02.48-fix-pkgconfig.patch')
-rw-r--r-- | sys-fs/lvm2/files/lvm2-2.02.48-fix-pkgconfig.patch | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/sys-fs/lvm2/files/lvm2-2.02.48-fix-pkgconfig.patch b/sys-fs/lvm2/files/lvm2-2.02.48-fix-pkgconfig.patch deleted file mode 100644 index 10d923b835b9..000000000000 --- a/sys-fs/lvm2/files/lvm2-2.02.48-fix-pkgconfig.patch +++ /dev/null @@ -1,45 +0,0 @@ -libdevmapper.so doesn't link to SELinux libraries unless SELinux is enabled. -Adding those libraries to Libs.private unconditionally is wrong. - -See bug 270350 ---- ---- LVM2.2.02.48/configure.in -+++ LVM2.2.02.48/configure.in -@@ -558,18 +558,19 @@ - if test x$HAVE_SEPOL = xyes; then - AC_DEFINE([HAVE_SEPOL], 1, - [Define to 1 if sepol_check_context is available.]) -- LIBS="-lsepol $LIBS" -+ SELINUX_LIBS="-lsepol $SELINUX_LIBS" - fi - - AC_CHECK_LIB(selinux, is_selinux_enabled, HAVE_SELINUX=yes, HAVE_SELINUX=no) - - if test x$HAVE_SELINUX = xyes; then - AC_DEFINE([HAVE_SELINUX], 1, [Define to 1 to include support for selinux.]) -- LIBS="-lselinux $LIBS" -+ SELINUX_LIBS="-lselinux $SELINUX_LIBS" - else - AC_MSG_WARN(Disabling selinux) - fi - -+ LIBS="$SELINUX_LIBS $LIBS" - # With --enable-static_link and selinux enabled, linking - # fails on at least Debian unstable due to unsatisfied references - # to pthread_mutex_lock and _unlock. See if we need -lpthread. -@@ -813,6 +814,7 @@ - AC_SUBST(POOL) - AC_SUBST(QUORUM_CFLAGS) - AC_SUBST(QUORUM_LIBS) -+AC_SUBST(SELINUX_LIBS) - AC_SUBST(SNAPSHOTS) - AC_SUBST(STATICDIR) - AC_SUBST(STATIC_LINK) ---- LVM2.2.02.48/libdm/libdevmapper.pc.in -+++ LVM2.2.02.48/libdm/libdevmapper.pc.in -@@ -8,4 +8,4 @@ - Version: @DM_LIB_PATCHLEVEL@ - Cflags: -I${includedir} - Libs: -L${libdir} -ldevmapper --Libs.private: -lselinux -lsepol -+Libs.private: @SELINUX_LIBS@ |