Bug 54116 - 0ad: port to mozjs128
Summary: 0ad: port to mozjs128
Status: RESOLVED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: 0ad (show other bugs)
Version: unstable
Hardware: x86_64 Linux
: P5 blocker
Assignee: protvin@altlinux.org
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks: 46625
  Show dependency tree
 
Reported: 2025-05-03 10:44 MSK by Yuri N. Sedunov
Modified: 2025-05-07 09:51 MSK (History)
3 users (show)

See Also:


Attachments
Лог сборки с заменой библиотеки (4.20 MB, application/octet-stream)
2025-05-04 17:31 MSK, ruslandh
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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).