libsoup3: update to 3.6.0; fix GTK2/3 app startup
[oi-userland.git] / components / desktop / libreoffice / patches / 60-unpack-to-rootdir.patch
blobc85814aff4d0345413462bc45cf39ec6acb80357
1 --- libreoffice-7.2.5.2/bin/unpack-sources.~1~ Tue Feb 8 14:46:06 2022
2 +++ libreoffice-7.2.5.2/bin/unpack-sources Tue Feb 8 14:55:18 2022
3 @@ -63,8 +63,7 @@
4 exit 0;
5 fi
7 -lo_src_dir="$start_dir/src"
8 -mkdir -p "$lo_src_dir"
9 +lo_src_dir="$start_dir"
11 for tarball in $tarballs ; do
12 tarname=`basename $tarball | sed -e "s/\.tar\..*//"`
13 @@ -74,12 +73,8 @@
16 echo "Unpacking $tarname..."
17 - echo mkdir -p "$lo_src_dir/$tarname"
18 - if ! mkdir -p "$lo_src_dir/$tarname" ; then
19 - echo "Error: could not create directory $lo_src_dir/$tarname"
20 - fi
21 - echo tar -xf "$tarball" -C "$lo_src_dir/$tarname" --strip-components=1
22 - if ! tar -xf "$tarball" -C "$lo_src_dir/$tarname" --strip-components=1; then
23 + echo tar -xf "$tarball" -C "$lo_src_dir" --strip-components=1
24 + if ! tar -xf "$tarball" -C "$lo_src_dir" --strip-components=1; then
25 echo "Error: could not unpack $tarname"
26 exit 1