File libreadline-java-gcc14.patch of Package libreadline-java

--- libreadline-java-0.8.3/src/native/org_gnu_readline_Readline.c	2024-05-06 17:37:38.514389018 +0200
+++ libreadline-java-0.8.3/src/native/org_gnu_readline_Readline.c	2024-05-06 17:56:42.055629445 +0200
@@ -198,18 +198,18 @@
 };
 
 static char** globalStringInternals[] = {
-  /* const */ &rl_library_version,
-  /* const */ &rl_readline_name,
+  /* const */ (char **) &rl_library_version,
+  /* const */ (char **) &rl_readline_name,
   &undefinedInternalString, /*  &rl_prompt, */
   &rl_line_buffer,
   &undefinedInternalString, /* const  &rl_terminal_name, */
   &undefinedInternalString, /*  &rl_executing_macro, */
-  /* const */ &rl_basic_word_break_characters,
-  /* const */ &rl_completer_word_break_characters,
-  /* const */ &rl_completer_quote_characters,
+  /* const */ (char **) &rl_basic_word_break_characters,
+  /* const */ (char **) &rl_completer_word_break_characters,
+  /* const */ (char **) &rl_completer_quote_characters,
   &undefinedInternalString, /* const  &rl_basic_quote_characters, */
   &undefinedInternalString, /* const  &rl_filename_quote_characters, */
-  /* const */ &rl_special_prefixes,
+  /* const */ (char **) &rl_special_prefixes,
 
   &undefinedInternalString, /*  &history_word_delimiters, */
   &undefinedInternalString, /*  &history_no_expand_chars, */
openSUSE Build Service is sponsored by