mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-25 07:42:13 +08:00
Kf5: the sed for kcodecs must
be done after changing to $packagedir git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@21387 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
parent
f50f3f37ad
commit
400a529a91
@ -310,15 +310,14 @@ ln -sfv /usr/share/dbus-1 $KF5_PREFIX/share</userinput></screen>
|
||||
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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user