From 8476efca13c0c93e72bf7742b2d8c81bce4efac1 Mon Sep 17 00:00:00 2001 From: "Ralf S. Engelschall" Date: Sat, 1 Jan 2022 12:20:36 +0100 Subject: [PATCH] make even more portable --- bash/bash.patch | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/bash/bash.patch b/bash/bash.patch index f44a0847f3..3155f81db4 100644 --- a/bash/bash.patch +++ b/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; + {