wok rev 4198

arj: fix build
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Sep 23 20:55:59 2009 +0200 (2009-09-23)
parents e77ae23617fe
children 7d585b540621
files arj/receipt arj/stuff/fardata.u
line diff
     1.1 --- a/arj/receipt	Wed Sep 23 20:58:01 2009 +0200
     1.2 +++ b/arj/receipt	Wed Sep 23 20:55:59 2009 +0200
     1.3 @@ -19,6 +19,7 @@
     1.4  	./configure --prefix=/usr --infodir=/usr/share/info \
     1.5  	--mandir=/usr/share/man $CONFIGURE_ARGS
     1.6  	cd ..
     1.7 +	busybox patch -p0 < ../stuff/fardata.u
     1.8  	make -k
     1.9  	make DESTDIR=$PWD/_pkg install
    1.10  }
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/arj/stuff/fardata.u	Wed Sep 23 20:55:59 2009 +0200
     2.3 @@ -0,0 +1,18 @@
     2.4 +--- fardata.c
     2.5 ++++ fardata.c
     2.6 +@@ -190,6 +190,7 @@
     2.7 + 
     2.8 + /* Length-limited strlen() */
     2.9 + 
    2.10 ++#if 0
    2.11 + static int strnlen(const char FAR *s, int count)
    2.12 + {
    2.13 +  const char FAR *sc;
    2.14 +@@ -198,6 +199,7 @@
    2.15 +   ;
    2.16 +  return(sc-s);
    2.17 + }
    2.18 ++#endif
    2.19 + 
    2.20 + /* Hex representation of digits */
    2.21 +