diff --git a/kde/kf5/kf5-frameworks.xml b/kde/kf5/kf5-frameworks.xml index c466009e21..619dd7ab7a 100644 --- a/kde/kf5/kf5-frameworks.xml +++ b/kde/kf5/kf5-frameworks.xml @@ -310,15 +310,14 @@ ln -sfv /usr/share/dbus-1 $KF5_PREFIX/share pkg=$(echo $file|sed 's|^.*/||') # Remove directory packagedir=$(echo $pkg|sed 's|\.tar.*||') # Package directory - # Fix a security issue in kcodecs name=$(echo $pkg|sed 's|-5.*$||') # Isolate package name - if [ "$name" == "kcodecs" ]; then - sed -i '/int ISO2022JPChar/s/}/, 0, 0}/' src/probers/nsEscSM.cpp - fi - tar -xf $file pushd $packagedir + # Fix a security issue in kcodecs + if [ "$name" == "kcodecs" ]; then + sed -i '/int ISO2022JPChar/s/}/, 0, 0}/' src/probers/nsEscSM.cpp + fi mkdir build cd build