Skip to content
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

[disk][host][mac] fix deprecated code in macOS Monterey #1191

Merged
merged 1 commit into from
Dec 22, 2021

Conversation

shirou
Copy link
Owner

@shirou shirou commented Dec 4, 2021

This PR fixes #1164

Thank you for the sponsors (@erwanor and @fwessels !), now I can use m1 mac on VPS for 24hours. And thank you @Lomanic for initial patch on #1164 and @dt for the comment. This PR can fix the deprecated warning on at least the mac environment.

ProductName:    macOS
ProductVersion: 12.0.1
BuildVersion:   21A559

@dt
Copy link

dt commented Dec 21, 2021

Applied this diff locally and can confirm the deprecation warnings are gone.

@shirou
Copy link
Owner Author

shirou commented Dec 22, 2021

Thank you for confirming!

@shirou shirou merged commit b1186a6 into master Dec 22, 2021
@shirou shirou deleted the feature/update_mac_cgo branch December 22, 2021 12:54
craig bot pushed a commit to cockroachdb/cockroach that referenced this pull request Jan 4, 2022
74397: vendor: bump gopsutil and iostat to fix macOS 12 warnings r=dt a=dt

Picks up upstream fixes for macOS 12 compiler warnings about deprecation of IOMasterPort:
- lufia/iostat#5
- shirou/gopsutil#1191

Co-authored-by: David Taylor <tinystatemachine@gmail.com>
@Mxxim Mxxim mentioned this pull request Jan 5, 2022
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Deprecated code in macOS Monterey
2 participants