libauthen-sasl-perl,libhtml-tree-perl: allow PERL_USE_UNSAFE_INC
PATCH 1/2 libauthen-sasl-perl,libhtml-tree-perl: allow PERL_USE_UNSAFE_INC
latest perl has made it defualt to remove current directory from default include paths but some modules still depend on this behavior, so let them use it
Signed-off-by Khem Raj <[email protected]>
--- meta-perl/recipes-perl/libauthen/libauthen-sasl-perl_2.16.bb | 2 ++ meta-perl/recipes-perl/libhtml/libhtml-tree-perl_5.03.bb | 2 ++ 2 files changed, 4 insertions(+)
meta-perl/recipes-perl/libauthen/libauthen-sasl-perl_2.16.bb +2 -0
@@ -21,6 +21,8 @@ S = "${WORKDIR}/Authen-SASL-${PV}" inherit cpan ptest +export PERL_USE_UNSAFE_INC = "1" + do_install_ptest () { cp -r ${B}/t ${D}${PTEST_PATH} }
meta-perl/recipes-perl/libhtml/libhtml-tree-perl_5.03.bb +2 -0
@@ -21,6 +21,8 @@ S = "${WORKDIR}/HTML-Tree-${PV}" inherit cpan_build +export PERL_USE_UNSAFE_INC = "1" + DEPENDS += "libmodule-build-perl-native \ "
Signature · 1 line
2.30.1
PATCH 2/2 dvb-apps: Allow insecure inc paths
Latest perl have switched the default to not allow the unsafe include paths like current dir (.), but dvb-apps depend on this behaviour
Signed-off-by Khem Raj <[email protected]>
Cc Andreas Müller <[email protected]>
--- meta-multimedia/recipes-multimedia/dvb-apps/dvb-apps_1.1.1.bb | 2 ++ 1 file changed, 2 insertions(+)
meta-multimedia/recipes-multimedia/dvb-apps/dvb-apps_1.1.1.bb +2 -0
@@ -20,6 +20,8 @@ inherit perlnative export enable_static="no" +export PERL_USE_UNSAFE_INC = "1" + do_configure() { sed -i -e s:/usr/include:${STAGING_INCDIR}:g util/av7110_loadkeys/generate-keynames.sh }
Signature · 1 line
2.30.1