-
Notifications
You must be signed in to change notification settings - Fork 194
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chromium: Fix ARM build with recent glibc
As discussed in #729. Signed-off-by: Max Ihlenfeldt <[email protected]>
- Loading branch information
1 parent
94f1a2b
commit 1c6f9e9
Showing
2 changed files
with
33 additions
and
0 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
27 changes: 27 additions & 0 deletions
27
meta-chromium/recipes-browser/chromium/files/0031-Fix-ARM-build-with-recent-glibc.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,27 @@ | ||
From ad900d1ee33daaaa09d4284e2804cd5f9db0c07e Mon Sep 17 00:00:00 2001 | ||
From: Max Ihlenfeldt <[email protected]> | ||
Date: Tue, 4 Jul 2023 10:05:09 +0000 | ||
Subject: [PATCH] Fix ARM build with recent glibc | ||
|
||
For some reason zlib #undefs _FILE_OFFSET_BITS which doesn't play well | ||
with glibc 2.34's bminor/glibc@47f24c2 and the newly-introduced checks | ||
in features-time64.h. See also madler/zlib#447. | ||
|
||
Upstream-status: Inappropriate | ||
Signed-off-by: Raphael Kubo da Costa <[email protected]> | ||
--- | ||
third_party/zlib/gzguts.h | 1 + | ||
1 file changed, 1 insertion(+) | ||
|
||
diff --git a/third_party/zlib/gzguts.h b/third_party/zlib/gzguts.h | ||
index 57faf37165a35..e5d6388190979 100644 | ||
--- a/third_party/zlib/gzguts.h | ||
+++ b/third_party/zlib/gzguts.h | ||
@@ -9,6 +9,7 @@ | ||
# endif | ||
# ifdef _FILE_OFFSET_BITS | ||
# undef _FILE_OFFSET_BITS | ||
+# undef _TIME_BITS | ||
# endif | ||
#endif | ||
|