-
-
Notifications
You must be signed in to change notification settings - Fork 13.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add arm64 widevine support to chromium
We use a patched glibc to get around an issue with DT_RELR support checking against the prebuilt widevine lib.
- Loading branch information
Showing
2 changed files
with
52 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
pkgs/applications/networking/browsers/chromium/glibc-no-relr-check.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/elf/dl-version.c b/elf/dl-version.c | ||
index 5b8693de04..c2bb39bc57 100644 | ||
--- a/elf/dl-version.c | ||
+++ b/elf/dl-version.c | ||
@@ -362,7 +362,7 @@ _dl_check_map_versions (struct link_map *map, int verbose, int trace_mode) | ||
/* When there is a DT_VERNEED entry with libc.so on DT_NEEDED, issue | ||
an error if there is a DT_RELR entry without GLIBC_ABI_DT_RELR | ||
dependency. */ | ||
- if (dyn != NULL | ||
+ if (0 && dyn != NULL | ||
&& map->l_info[DT_NEEDED] != NULL | ||
&& map->l_info[DT_RELR] != NULL | ||
&& __glibc_unlikely (!map->l_dt_relr_ref)) |