-
-
Notifications
You must be signed in to change notification settings - Fork 130
Updating for latest github macos image. #1965
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
Merged
Merged
Changes from 7 commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
a759cb8
Fixing https://github.com/orgs/Homebrew/discussions/6351
nicolasnoble d911c2b
Updating to binutils 2.45.
nicolasnoble 5cb9084
Restoring readme properly.
nicolasnoble 27e6fab
Adding verbose mode.
nicolasnoble 00bd1db
Upgrading gcc and gdb as well...
nicolasnoble d56b30e
Derp.
nicolasnoble c319254
Adding zlib patch for binutils on macos...
nicolasnoble 909eb22
Also patching gcc now.
nicolasnoble a7035f3
Fixing OpenBIOS build under 15.2...
nicolasnoble d6e1526
Now fixing psyqo...
nicolasnoble File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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,52 @@ | ||
| From 4bd9a71f3539b5ce47f0c67ab5e01f3196dc8ef9 Mon Sep 17 00:00:00 2001 | ||
| From: Mark Adler <[email protected]> | ||
| Date: Tue, 12 Dec 2023 22:19:05 -0600 | ||
| Subject: [PATCH] Remove fdopen #defines in zutil.h. | ||
|
|
||
| fdopen() is not used by zlib anymore. The #defines are vestigial. | ||
| --- | ||
| zutil.h | 23 +---------------------- | ||
| 1 file changed, 1 insertion(+), 22 deletions(-) | ||
|
|
||
| diff --git a/zutil.h b/zutil.h | ||
| index 0bd2dbcba..bb513cb4b 100644 | ||
| --- a/zutil.h | ||
| +++ b/zutil.h | ||
| @@ -137,17 +137,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 | ||
|
Comment on lines
+19
to
+21
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🛠️ Refactor suggestion Retain TARGET_OS_MAC in the condition. Same rationale as in the embedded patches: avoid changing OS_CODE semantics on Apple hosts. -#if defined(MACOS)
+#if defined(MACOS) || defined(TARGET_OS_MAC)🤖 Prompt for AI Agents |
||
| -# 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 | ||
| @@ -170,18 +161,6 @@ extern z_const char * const z_errmsg[10]; /* indexed by 2-zlib_error */ | ||
| # define OS_CODE 19 | ||
| #endif | ||
|
|
||
| -#if defined(_BEOS_) || defined(RISCOS) | ||
| -# define fdopen(fd,mode) NULL /* No fdopen() */ | ||
| -#endif | ||
| - | ||
| -#if (defined(_MSC_VER) && (_MSC_VER > 600)) && !defined __INTERIX | ||
| -# if defined(_WIN32_WCE) | ||
| -# define fdopen(fd,mode) NULL /* No fdopen() */ | ||
| -# else | ||
| -# define fdopen(fd,type) _fdopen(fd,type) | ||
| -# endif | ||
| -#endif | ||
| - | ||
| #if defined(__BORLANDC__) && !defined(MSDOS) | ||
| #pragma warn -8004 | ||
| #pragma warn -8008 | ||
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🛠️ Refactor suggestion
Pin the tap commit to avoid supply-chain drift.
Installing the external brew command from a moving tap HEAD can break CI unexpectedly. Pin the tap to a known commit, then install the formula.
Replace with the tested revision.
📝 Committable suggestion
🤖 Prompt for AI Agents