-
-
Notifications
You must be signed in to change notification settings - Fork 14.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
wezterm: make it build with clang 19 (#366840)
- Loading branch information
Showing
3 changed files
with
41 additions
and
19 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
24 changes: 24 additions & 0 deletions
24
pkgs/applications/terminal-emulators/wezterm/zlib-fdopen.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,24 @@ | ||
Submodule deps/freetype/zlib contains modified content | ||
diff --git a/deps/freetype/zlib/zutil.h b/deps/freetype/zlib/zutil.h | ||
index b079ea6..4e94f2f 100644 | ||
--- a/deps/freetype/zlib/zutil.h | ||
+++ b/deps/freetype/zlib/zutil.h | ||
@@ -130,17 +130,8 @@ extern z_const char * const z_errmsg[10]; /* indexed by 2-zlib_error */ | ||
# endif | ||
#endif | ||
|
||
-#if defined(MACOS) || defined(TARGET_OS_MAC) | ||
+#if defined(MACOS) | ||
# define OS_CODE 7 | ||
-# ifndef Z_SOLO | ||
-# if defined(__MWERKS__) && __dest_os != __be_os && __dest_os != __win32_os | ||
-# include <unix.h> /* for fdopen */ | ||
-# else | ||
-# ifndef fdopen | ||
-# define fdopen(fd,mode) NULL /* No fdopen() */ | ||
-# endif | ||
-# endif | ||
-# endif | ||
#endif | ||
|
||
#ifdef __acorn |
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