
Fossilize used the git:// protocol for fetching submodules but as of January 11, 2022, GitHub has tempirarily disabled acceptance of the Git protocol until March 15, 2022 whereby it will be permanantly disabled. This patch uprevs to the Fossilize commit that switches submodule URLs to https:// instead. Otherwise, we would get an error stating that "The unauthenticated git protocol on port 9418 is no longer supported." when trying to clone submodules. See https://github.blog/2021-09-01-improving-git-protocol-security-github for more info. Signed-off-by: Omar Akkila <omar.akkila@collabora.com> Reviewed-by: Emma Anholt <emma@anholt.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15626>
15 lines
293 B
Bash
15 lines
293 B
Bash
#!/bin/bash
|
|
|
|
set -ex
|
|
|
|
git clone https://github.com/ValveSoftware/Fossilize.git
|
|
cd Fossilize
|
|
git checkout 16fba1b8b5d9310126bb02323d7bae3227338461
|
|
git submodule update --init
|
|
mkdir build
|
|
cd build
|
|
cmake -S .. -B . -G Ninja -DCMAKE_BUILD_TYPE=Release
|
|
ninja -C . install
|
|
cd ../..
|
|
rm -rf Fossilize
|