Skip to contentSkip to conversation

package/bash: fix seventh patch

PATCH New Fabrice Fontaine 4 participants 4 messages Mar 12, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/bash: fix seventh patch

Since bump to version 5.1 in commit 9e778b044c949d165207150cc9e79fdcfbafcb9d, seventh patch wrongly defines wcdequote_pathname as static which will result in the following build failure:

smatch.c:(.text+0x22f0): undefined reference to `wcdequote_pathname'

Fixes:
- http://autobuild.buildroot.org/results/d83f5d260dccd38984ec6fdb340835ca928bb687

---
 ...-glob-fix-dequote_pathname-vs.-udequote_pathname.patch | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)
package/bash/0007-glob-fix-dequote_pathname-vs.-udequote_pathname.patch +1 -7
index b769dc296e..a801f68236 100644
@@ -27,13 +27,7 @@ diff --git a/lib/glob/glob.c b/lib/glob/glob.c
 index eb6277f..c903b15 100644
 --- a/lib/glob/glob.c
 +++ b/lib/glob/glob.c
-@@ -117,12 +117,11 @@ static int mbskipname PARAMS((char *, char *, int));
- #endif
- void udequote_pathname PARAMS((char *));
- #if HANDLE_MULTIBYTE
--void wcdequote_pathname PARAMS((wchar_t *));
-+static void wcdequote_pathname PARAMS((wchar_t *));
- static void wdequote_pathname PARAMS((char *));
+@@ -117,6 +117,5 @@ static int mbskipname PARAMS((char *, char *, int));
  #else
  #  define dequote_pathname udequote_pathname
  #endif
Signature · 1 line
2.30.0
#1 lore raw

PATCH 1/1 package/bash: fix seventh patch

Hello Fabrice,

Quoted 11 lines · Fabrice Fontaine

Since bump to version 5.1 in commit 9e778b044c949d165207150cc9e79fdcfbafcb9d, seventh patch wrongly defines wcdequote_pathname as static which will result in the following build failure:

smatch.c:(.text+0x22f0): undefined reference to `wcdequote_pathname'

Fixes:
- http://autobuild.buildroot.org/results/d83f5d260dccd38984ec6fdb340835ca928bb687

Thanks for taking care of the failure and fixing it...

Regards,
Peter

Quoted 23 lines
---
 ...-glob-fix-dequote_pathname-vs.-udequote_pathname.patch | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)
package/bash/0007-glob-fix-dequote_pathname-vs.-udequote_pathname.patch +1 -7
index b769dc296e..a801f68236 100644
@@ -27,13 +27,7 @@ diff --git a/lib/glob/glob.c b/lib/glob/glob.c
 index eb6277f..c903b15 100644
 --- a/lib/glob/glob.c
 +++ b/lib/glob/glob.c
-@@ -117,12 +117,11 @@ static int mbskipname PARAMS((char *, char *, int));
- #endif
- void udequote_pathname PARAMS((char *));
- #if HANDLE_MULTIBYTE
--void wcdequote_pathname PARAMS((wchar_t *));
-+static void wcdequote_pathname PARAMS((wchar_t *));
- static void wdequote_pathname PARAMS((char *));
+@@ -117,6 +117,5 @@ static int mbskipname PARAMS((char *, char *, int));
  #else
  #  define dequote_pathname udequote_pathname
  #endif
#2 lore raw

PATCH 1/1 package/bash: fix seventh patch

In reply to Fabrice Fontaine
Quoted 8 lines · Fabrice Fontaine

Since bump to version 5.1 in commit 9e778b044c949d165207150cc9e79fdcfbafcb9d, seventh patch wrongly defines wcdequote_pathname as static which will result in the following build failure:

smatch.c:(.text+0x22f0): undefined reference to `wcdequote_pathname'

Quoted 7 lines

Fixes:
- http://autobuild.buildroot.org/results/d83f5d260dccd38984ec6fdb340835ca928bb687

---
 ...-glob-fix-dequote_pathname-vs.-udequote_pathname.patch | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

Thanks for the patch as the building of bash on master is currently broken...

Thanks,
-Ryan

#3 lore raw

PATCH 1/1 package/bash: fix seventh patch

In reply to Fabrice Fontaine

Fabrice, All,

On 2021-03-12 08:08 +0100, Fabrice Fontaine spake thusly:

Quoted 11 lines

Since bump to version 5.1 in commit 9e778b044c949d165207150cc9e79fdcfbafcb9d, seventh patch wrongly defines wcdequote_pathname as static which will result in the following build failure:

smatch.c:(.text+0x22f0): undefined reference to `wcdequote_pathname'

Fixes:
- http://autobuild.buildroot.org/results/d83f5d260dccd38984ec6fdb340835ca928bb687

Applied to master, thanks.

Regards,
Yann E. MORIN.

Quoted 30 lines
---
 ...-glob-fix-dequote_pathname-vs.-udequote_pathname.patch | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)
package/bash/0007-glob-fix-dequote_pathname-vs.-udequote_pathname.patch +1 -7
index b769dc296e..a801f68236 100644
@@ -27,13 +27,7 @@ diff --git a/lib/glob/glob.c b/lib/glob/glob.c
 index eb6277f..c903b15 100644
 --- a/lib/glob/glob.c
 +++ b/lib/glob/glob.c
-@@ -117,12 +117,11 @@ static int mbskipname PARAMS((char *, char *, int));
- #endif
- void udequote_pathname PARAMS((char *));
- #if HANDLE_MULTIBYTE
--void wcdequote_pathname PARAMS((wchar_t *));
-+static void wcdequote_pathname PARAMS((wchar_t *));
- static void wdequote_pathname PARAMS((char *));
+@@ -117,6 +117,5 @@ static int mbskipname PARAMS((char *, char *, int));
  #else
  #  define dequote_pathname udequote_pathname
  #endif
Signature · 6 lines
2.30.0

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'