summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorNoé Lopez <noelopez@free.fr>2026-05-16 18:37:40 +0200
committerNoé Lopez <noelopez@free.fr>2026-08-25 01:15:29 +0200
commit60fae9be77c39c6d408fe21c9c186e37aff4a6e5 (patch)
tree6a536130abe0e15cbb4b2052812da2f8ee7b2fba /gnu
parent2978a2ff4a71157faab3b66b70b473a9181e4793 (diff)
gnu: mozjs: Keep API compatibility.
When changing to the icecat source, these two symbols are renamed. We define aliases to their canonical name. * gnu/packages/gnuzilla.scm (mozjs)[arguments]<#:phases>: Add phase. Change-Id: Ifdd09ebab2767faff71b558c7ffb622d101448b5 Signed-off-by: Noé Lopez <noelopez@free.fr>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/gnuzilla.scm7
1 files changed, 7 insertions, 0 deletions
diff --git a/gnu/packages/gnuzilla.scm b/gnu/packages/gnuzilla.scm
index 790f6490eb7..c4fafda984f 100644
--- a/gnu/packages/gnuzilla.scm
+++ b/gnu/packages/gnuzilla.scm
@@ -1881,6 +1881,13 @@ associated with their name."))
1881 "python/mozbuild/mozbuild/backend/base.py" 1881 "python/mozbuild/mozbuild/backend/base.py"
1882 "python/mozbuild/mozbuild/preprocessor.py") 1882 "python/mozbuild/mozbuild/preprocessor.py")
1883 (("\"rU\"") "\"r\"")))) 1883 (("\"rU\"") "\"r\""))))
1884 (add-after 'unpack 'restore-api-compat
1885 (lambda _
1886 (substitute* "js/public/GCAPI.h"
1887 (("enum class GCReason")
1888 "#define FIRST_FIREFOX_REASON FIRST_ICECAT_REASON
1889#define LAST_FIREFOX_REASON LAST_ICECAT_REASON
1890enum class GCReason"))))
1884 (add-after 'patch-source-shebangs 'patch-cargo-checksums 1891 (add-after 'patch-source-shebangs 'patch-cargo-checksums
1885 (lambda _ 1892 (lambda _
1886 (let ((null-hash 1893 (let ((null-hash