gordon55m
Participant
Post count: 4

I tried moving the .patch file that I got here from FluffyPillow to the directory /home/pi/smw-svn/. I then ran:

patch -Np0 < ../smw_fileio.patch

I got the response:

(Stripping trailing CRs from patch.)
patching file _src/FileIO.cpp
Hunk #1 FAILED at 1.
Hunk #2 FAILED at 130.
2 out of 2 hunks FAILED — saving rejects to file _src/FileIO.cpp.rej

Thoughts? I ran that code after I ran the code below:

sudo apt-get update
wget https://aur.archlinux.org/packages/sm/smw-svn/smw-svn.tar.gz
tar -xf smw-svn.tar.gz
cd smw-svn
sudo apt-get install subversion   
svn co http://supermariowar.googlecode.com/svn/trunk smw
cd smw
sudo apt-get install dos2unix
dos2unix configure
chmod +x configure
patch -Np0 < ../gcc.patch