Update curl version on OpenSUSE-16.0

The version that comes with the distro is buggy, it returns success
instead of failure for the command:

    curl --verbose --fail -L --retry 5 --retry-delay 5 -o filename \
        http://url/that/returns/404

The upstream ticket is: https://github.com/curl/curl/issues/17554

Pick-to: 6.11
Change-Id: Ic763c10a308a24c921a8d2ae1f1c651e0cbac429
Reviewed-by: Tero Heikkinen <tero.heikkinen@qt.io>
This commit is contained in:
Dimitrios Apostolou
2026-03-12 16:59:41 +01:00
parent 68c8815a01
commit 08892fc088

View File

@@ -3,6 +3,10 @@
set -ex
# Curl is pre-installed but the original version is buggy.
# This line here is to update it.
sudo zypper -nq install curl
sudo zypper -nq install git gcc13 gcc15-c++ ninja
sudo /usr/sbin/update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-15 1 \
--slave /usr/bin/g++ g++ /usr/bin/g++-15 \