Last active
February 14, 2026 05:28
-
-
Save sptndc/ee67db7a37896bfb3fcd8b3a3666dd9c to your computer and use it in GitHub Desktop.
Homebrew GnuTLS v3.8.12 fixes a patch on macOS 12.7.6
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
| diff --git a/lib/crau/crau.h b/lib/crau/crau.h | |
| index 53d33555b..0d4f9f13e 100644 | |
| --- a/lib/crau/crau.h | |
| +++ b/lib/crau/crau.h | |
| @@ -251,10 +251,9 @@ void crau_data(struct crau_context_stack_st *stack, ...) | |
| # else | |
| # ifndef CRAU_MAYBE_UNUSED | |
| -# if defined(__has_c_attribute) | |
| -# if __has_c_attribute (__maybe_unused__) | |
| -# define CRAU_MAYBE_UNUSED [[__maybe_unused__]] | |
| -# endif | |
| +# if defined(__has_c_attribute) && \ | |
| + __has_c_attribute (__maybe_unused__) | |
| +# define CRAU_MAYBE_UNUSED [[__maybe_unused__]] | |
| # elif defined(__GNUC__) | |
| # define CRAU_MAYBE_UNUSED __attribute__((__unused__)) | |
| # endif |
Author
Glad to hear that it fixed the installation of GnuTLS v3.8.12 for you too!
I don't suppose it was virt-viewer you were installing as well? Now I'm struggling with gstreamer complaining about SSL certificate ....
Author
Hi @kalaws, no I didn't install it, you'd better ask in Homebrew's Discussions.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thank you, worked like a charm!