Ralf S. Engelschall 4 лет назад
Родитель
Сommit
8476efca13
1 измененных файлов с 26 добавлено и 0 удалено
  1. 26 0
      bash/bash.patch

+ 26 - 0
bash/bash.patch

@@ -142,3 +142,29 @@ Index: locale.c
  #  endif
    u32reset ();
  #endif
+
+-----------------------------------------------------------------------------
+
+Fix static/non-static conflict.
+
+Index: lib/glob/glob.c
+--- lib/glob/glob.c.orig	2020-10-30 19:49:00.000000000 +0100
++++ lib/glob/glob.c	2022-01-01 12:18:32.796180000 +0100
+@@ -122,7 +122,7 @@
+ #else
+ #  define dequote_pathname udequote_pathname
+ #endif
+-static void dequote_pathname PARAMS((char *));
++void dequote_pathname PARAMS((char *));
+ static int glob_testdir PARAMS((char *, int));
+ static char **glob_dir_to_array PARAMS((char *, char **, int));
+ 
+@@ -496,7 +496,7 @@
+   free (orig_wpathname);
+ }
+ 
+-static void
++void
+ dequote_pathname (pathname)
+      char *pathname;
+ {