basename.patch (668B)
1 --- a/include/libiberty.h 2023-02-19 14:45:05.000000000 +0100 2 +++ b/include/libiberty.h 2023-05-01 17:41:29.431420244 +0200 3 @@ -109,7 +109,7 @@ 4 || defined (__FreeBSD__) || defined (__OpenBSD__) || defined (__NetBSD__) \ 5 || defined (__CYGWIN__) || defined (__CYGWIN32__) || defined (__MINGW32__) \ 6 || defined (__DragonFly__) || defined (HAVE_DECL_BASENAME) 7 -extern char *basename (const char *) ATTRIBUTE_RETURNS_NONNULL ATTRIBUTE_NONNULL(1); 8 +extern char *basename (char *) ATTRIBUTE_RETURNS_NONNULL ATTRIBUTE_NONNULL(1); 9 #else 10 /* Do not allow basename to be used if there is no prototype seen. We 11 either need to use the above prototype or have one from