diff options
| author | Emmett1 <emmett1.2miligrams@protonmail.com> | 2025-04-15 06:15:23 +0000 |
|---|---|---|
| committer | Emmett1 <emmett1.2miligrams@protonmail.com> | 2025-04-15 06:15:23 +0000 |
| commit | c1cf5ed9efd88aec35ccaa4adc4ebccecc01ae64 (patch) | |
| tree | c03ecc6660069ee01126a1800cd6cab8d5e8b707 /repos/extra | |
| parent | ee1c524ab8ddf44466acecfbf03e8c738a8e8e81 (diff) | |
| download | alicelinux-c1cf5ed9efd88aec35ccaa4adc4ebccecc01ae64.tar.gz alicelinux-c1cf5ed9efd88aec35ccaa4adc4ebccecc01ae64.zip | |
graphite2: fix build with latest cmake
Diffstat (limited to 'repos/extra')
| -rw-r--r-- | repos/extra/graphite2/abuild | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/repos/extra/graphite2/abuild b/repos/extra/graphite2/abuild index 33596d61..ae7fc502 100644 --- a/repos/extra/graphite2/abuild +++ b/repos/extra/graphite2/abuild @@ -3,3 +3,9 @@ version=1.3.14 release=1 source="https://github.com/silnrsi/graphite/releases/download/$version/$name-$version.tgz clang.patch" + +prebuild() { + sed -i '/cmake_policy(SET CMP0012 NEW)/d' CMakeLists.txt + sed -i 's/PythonInterp/Python3/' CMakeLists.txt + find . -name CMakeLists.txt | xargs sed -i 's/VERSION 2.8.0 FATAL_ERROR/VERSION 4.0.0/' +} |