# HG changeset patch # User Pascal Bellard # Date 1253732159 -7200 # Node ID 1914d25b57ad5c5bac8a609bbc53c156102c47d0 # Parent e77ae23617feb33b11ebb51be932f82253fed035 arj: fix build diff -r e77ae23617fe -r 1914d25b57ad arj/receipt --- a/arj/receipt Wed Sep 23 20:58:01 2009 +0200 +++ b/arj/receipt Wed Sep 23 20:55:59 2009 +0200 @@ -19,6 +19,7 @@ ./configure --prefix=/usr --infodir=/usr/share/info \ --mandir=/usr/share/man $CONFIGURE_ARGS cd .. + busybox patch -p0 < ../stuff/fardata.u make -k make DESTDIR=$PWD/_pkg install } diff -r e77ae23617fe -r 1914d25b57ad arj/stuff/fardata.u --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/arj/stuff/fardata.u Wed Sep 23 20:55:59 2009 +0200 @@ -0,0 +1,18 @@ +--- fardata.c ++++ fardata.c +@@ -190,6 +190,7 @@ + + /* Length-limited strlen() */ + ++#if 0 + static int strnlen(const char FAR *s, int count) + { + const char FAR *sc; +@@ -198,6 +199,7 @@ + ; + return(sc-s); + } ++#endif + + /* Hex representation of digits */ +