coreutils: Fix build of ls
This commit is contained in:
parent
7c90d5bf4c
commit
fef663a46b
|
@ -18,6 +18,7 @@ catm config.h
|
|||
|
||||
patch -Np0 -i ../../patches/modechange.patch
|
||||
patch -Np0 -i ../../patches/mbstate.patch
|
||||
patch -Np0 -i ../../patches/ls-strcmp.patch
|
||||
|
||||
# Build and install
|
||||
/after/bin/make -f Makefile
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -0,0 +1,11 @@
|
|||
--- src/ls.c
|
||||
+++ src/ls.c
|
||||
@@ -2597,7 +2597,7 @@ xstrcoll (char const *a, char const *b)
|
||||
{
|
||||
int diff;
|
||||
errno = 0;
|
||||
- diff = strcoll (a, b);
|
||||
+ diff = strcmp (a, b);
|
||||
if (errno)
|
||||
{
|
||||
error (0, errno, _("cannot compare file names %s and %s"),
|
Loading…
Reference in New Issue