Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jsauthority: Bump mozjs to 128 #489

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:

- name: Install build & test dependencies
run: |
sudo dnf install -y dnf-plugins-core python3-dbusmock clang compiler-rt libasan libubsan mozjs115-devel
sudo dnf install -y dnf-plugins-core python3-dbusmock clang compiler-rt libasan libubsan mozjs128-devel
sudo dnf builddep -y polkit

- name: Build & test
Expand Down
2 changes: 1 addition & 1 deletion meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ if js_engine == 'duktape'
func = 'pthread_condattr_setclock'
config_data.set('HAVE_' + func.to_upper(), cc.has_function(func, prefix : '#include <pthread.h>'))
elif js_engine == 'mozjs'
js_dep = dependency('mozjs-115')
js_dep = dependency('mozjs-128')

_system = host_machine.system().to_lower()
if _system.contains('freebsd')
Expand Down
3 changes: 2 additions & 1 deletion src/polkitbackend/polkitbackendjsauthority.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,8 @@ static void report_error (JSContext *cx,
polkit_backend_authority_log (POLKIT_BACKEND_AUTHORITY (authority),
LOG_LEVEL_ERROR,
"%s:%u: %s",
report->filename ? report->filename : "<no filename>",
report->filename ? report->filename.c_str()
: "<no filename>",
(unsigned int) report->lineno,
report->message().c_str());
}
Expand Down
Loading