Bug 54116

Summary: 0ad: port to mozjs128
Product: Sisyphus Reporter: Yuri N. Sedunov <aris>
Component: 0adAssignee: protvin <protvin>
Status: RESOLVED FIXED QA Contact: qa-sisyphus
Severity: blocker    
Priority: P5 CC: aen, protvin, ruslandh
Version: unstable   
Hardware: x86_64   
OS: Linux   
Bug Depends on:    
Bug Blocks: 46625    
Attachments:
Description Flags
Лог сборки с заменой библиотеки none

Description Yuri N. Sedunov 2025-05-03 10:44:57 MSK
https://packages.altlinux.org/tasks/383172
Comment 1 ruslandh 2025-05-04 17:26:50 MSK
Я посмотрел, с libmozjs128 0ad не собирается:

/source/scriptinterface/ScriptContext.cpp:130:37: error: 'class JS::ContextOptions' has no member named 'setStrictMode'
Comment 2 ruslandh 2025-05-04 17:31:12 MSK
Created attachment 18370 [details]
Лог сборки с заменой библиотеки

Я приложил патчи, чтобы все проверки версии библиотеки пропустить и использовать libmozjs128, но не помогло,  это надо апстриму код менять.
Comment 3 Yuri N. Sedunov 2025-05-06 00:56:02 MSK
Повесьте багу в апстрим.
Comment 4 Repository Robot 2025-05-07 09:51:23 MSK
0ad-1:0.27.0-alt2 -> sisyphus:

 Tue May 06 2025 Constantin Sunzow <protvin@altlinux> 1:0.27.0-alt2
 - Rebuild against libmozjs128 (ALT 54116).