wok rev 11804

sdcc: fix cmdlex.cc
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Feb 25 14:56:17 2012 +0100 (2012-02-25)
parents 98a90c761dcd
children d5acb4e6cacf
files sdcc/receipt
line diff
     1.1 --- a/sdcc/receipt	Sat Feb 25 11:20:45 2012 +0100
     1.2 +++ b/sdcc/receipt	Sat Feb 25 14:56:17 2012 +0100
     1.3 @@ -16,6 +16,7 @@
     1.4  {
     1.5  	mv $PACKAGE $src 2> /dev/null
     1.6  	cd $src
     1.7 +	sed -i '1i\#include <stdio.h>' sim/ucsim/cmd.src/cmdlex.cc
     1.8  	sed -i 's/all %/%/' device/lib/pic/Makefile.in
     1.9  	find -name getline.h | xargs sed -i \
    1.10  	  's/char.*getline/#define getline sdcc_getline\nchar *sdcc_getline/'