mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-08 08:30:47 -09:00
package/links: Fix build with glibc 2.43
Signed-off-by: Bernd Kuhls <bernd@kuhls.net> Signed-off-by: Julien Olivain <ju.o@free.fr>
This commit is contained in:
committed by
Julien Olivain
parent
94916981ce
commit
5d1cc4f05e
27
package/links/0001-glibc-2.43.patch
Normal file
27
package/links/0001-glibc-2.43.patch
Normal file
@@ -0,0 +1,27 @@
|
||||
Fix build with glibc 2.43
|
||||
|
||||
https://bugs.gentoo.org/969617
|
||||
https://gitlab.exherbo.org/exherbo/arbor/-/raw/45d1f0e764ad1fcb8d776534d0925fe074d04d61/packages/net-www/links/files/links-2.30-glibc-2.43.patch
|
||||
|
||||
Source: https://www.linuxfromscratch.org/blfs/view/svn/basicnet/links.html
|
||||
Reason: Fix build with glibc 2.43
|
||||
|
||||
Downloaded from
|
||||
https://gitweb.gentoo.org/repo/gentoo.git/tree/www-client/links/files/links-2.30-glibc-2.43-const.patch?id=ad9dd078c5473b947f237136746cd1c3933ae494
|
||||
|
||||
Upstream: Sent via email to project maintainers
|
||||
|
||||
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
|
||||
|
||||
--- a/ftp.c
|
||||
+++ b/ftp.c
|
||||
@@ -768,7 +768,7 @@
|
||||
} while (0)
|
||||
A(ftp_head);
|
||||
ud = stracpy(get_url_data(c->url));
|
||||
- if (strchr(cast_const_char ud, POST_CHAR)) *strchr(cast_const_char ud, POST_CHAR) = 0;
|
||||
+ if (strchr(cast_char ud, POST_CHAR)) *strchr(cast_char ud, POST_CHAR) = 0;
|
||||
s0 = init_str();
|
||||
s0l = 0;
|
||||
add_conv_str(&s0, &s0l, ud, (int)strlen(cast_const_char ud), -1);
|
||||
|
||||
Reference in New Issue
Block a user