From 841b371c4b7e7c3fb4dad795aebd7cb5bb51b046 Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Sun, 6 Dec 2020 12:01:09 +0100 Subject: [PATCH] 9.48-3 --- annobin-gcc11.patch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/annobin-gcc11.patch b/annobin-gcc11.patch index d56a803..4248612 100644 --- a/annobin-gcc11.patch +++ b/annobin-gcc11.patch @@ -13,7 +13,7 @@ + if (strcmp (var->var_name, name) == 0) // FIXME: Cache the result ? - return (const char *) (* (const char **) (((char *) annobin_global_options) + var->var_offset)); -+ return * (const char *const *) (((const char *) annobin_global_options) + var->var_offset); ++ return * (const char **) (((char *) annobin_global_options) + var->var_offset); annobin_inform (INFORM_VERBOSE, "WARN: gcc variable '%s' not found within cl_vars array", name); #endif @@ -30,7 +30,7 @@ + if (strcmp (var->var_name, name) == 0) // FIXME: Cache the result ? - return (const int) (* (const int **) (((char *) annobin_global_options) + var->var_offset)); -+ return * (const int *const *) (((const char *) annobin_global_options) + var->var_offset); ++ return * (int *) (((char *) annobin_global_options) + var->var_offset); annobin_inform (INFORM_VERBOSE, "WARN: gcc variable '%s' not found within cl_vars array", name); #endif