Patching SheepShaver (ethernet)
Posted: Fri Feb 13, 2004 3:02 am
Cat_7 Suggests this much easier guide to patching up SheepShaver, for those of us with Linux inadequacies:
How to enable ethernet in SheepShaver:
If you want to follow this would-be guide to the letter use:
"/cvs/BasiliskII" for your BasiliskII files
"/cvs/SheepShaver" for your SheepShaver files
"/cvs/patches" for the files you are going to download
Follow Jackalo's guide to the point where you have downloaded the files from CVS, or in short:
make a directory "cvs" under "/"
"cd /cvs"
"cvs -d :pserver:anoncvs@down.physik.uni-mainz.de:/cvs login"
(asks for password) anoncvs
"cvs -d :pserver:anoncvs@down.physik.uni-mainz.de:/cvs checkout BasiliskII"
"cvs -d :pserver:anoncvs@down.physik.uni-mainz.de:/cvs checkout SheepShaver"
Go to Gwenole's site
"http://gwenole.beauchesne.free.fr/sheepshaver/files"
and download the file "SheepShaver-2.2-hacks.patch" to "/cvs/patches"
Change to "http://gwenole.beauchesne.free.fr/sheepshaver/patches"
and download the file "sheep_ethernet.diff" to "/cvs/patches"
and then:
"cd /cvs/SheepShaver/src/" and type
"patch -p0 -i /cvs/patches/sheep_ethernet.diff"
result should be:
patching file ether.cpp
patching file Unix/Linux/ether_linux.cpp
patching file include/cpu_emulation.h
patching file include/ether_defs.h
patching file include/thunks.h
patching file kpx_cpu/sheepshaver_glue.cpp
Hunk #1 succeeded at 944 (offset 112 lines).
For the second patch things are a bit different, as it assumes SheepShaver is situated in a directory
"SheepShaver" just of the root directory. So in our little setup we need to apply the patch "manually":
"cd /cvs/SheepShaver/src"
"patch -p0 -i /cvs/patches/SheepShaver-2.2-hacks.patch"
result should be:
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- SheepShaver-2.2/src/Unix/main_unix.cpp.hacks 2004-01-06 11:15:16.000000000 +0100
|+++ SheepShaver-2.2/src/Unix/main_unix.cpp 2004-01-06 11:51:52.000000000 +0100
--------------------------
File to patch:
At this prompt you enter: "/cvs/SheepShaver/src/Unix/main_unix.cpp"
and hit "Enter"
Result should be:
patching file /cvs/SheepShaver/src/Unix/main_unix.cpp
Hunk #1 succeeded at 1913 (offset 65 lines).
can't find file to patch at input line 16
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- SheepShaver-2.2/src/rom_patches.cpp.hacks 2004-01-06 11:15:16.000000000 +0100
|+++ SheepShaver-2.2/src/rom_patches.cpp 2004-01-06 11:51:07.000000000 +0100
--------------------------
File to patch:
At this prompt you enter: "/cvs/SheepShaver/src/rom_patches.cpp"
and hit "Enter"
Result should be:
patching file /cvs/SheepShaver/src/rom_patches.cpp
Hunk #1 succeeded at 2316 (offset 12 lines).
Your done patching!
Just follow Jackalo's guide from here, but in short:
"cd /cvs/SheepShaver"
"make links"
"cd /src/Unix"
"./autogen.sh"
"make"
"./SheepShaver"
Hope this new description makes live easier....
Howards7/Cat_7
(parts of this description taken and adapted from Jackalo's build guide and a remark from rakslice about the "patch" command )
(edited - Feb 14)
How to enable ethernet in SheepShaver:
If you want to follow this would-be guide to the letter use:
"/cvs/BasiliskII" for your BasiliskII files
"/cvs/SheepShaver" for your SheepShaver files
"/cvs/patches" for the files you are going to download
Follow Jackalo's guide to the point where you have downloaded the files from CVS, or in short:
make a directory "cvs" under "/"
"cd /cvs"
"cvs -d :pserver:anoncvs@down.physik.uni-mainz.de:/cvs login"
(asks for password) anoncvs
"cvs -d :pserver:anoncvs@down.physik.uni-mainz.de:/cvs checkout BasiliskII"
"cvs -d :pserver:anoncvs@down.physik.uni-mainz.de:/cvs checkout SheepShaver"
Go to Gwenole's site
"http://gwenole.beauchesne.free.fr/sheepshaver/files"
and download the file "SheepShaver-2.2-hacks.patch" to "/cvs/patches"
Change to "http://gwenole.beauchesne.free.fr/sheepshaver/patches"
and download the file "sheep_ethernet.diff" to "/cvs/patches"
and then:
"cd /cvs/SheepShaver/src/" and type
"patch -p0 -i /cvs/patches/sheep_ethernet.diff"
result should be:
patching file ether.cpp
patching file Unix/Linux/ether_linux.cpp
patching file include/cpu_emulation.h
patching file include/ether_defs.h
patching file include/thunks.h
patching file kpx_cpu/sheepshaver_glue.cpp
Hunk #1 succeeded at 944 (offset 112 lines).
For the second patch things are a bit different, as it assumes SheepShaver is situated in a directory
"SheepShaver" just of the root directory. So in our little setup we need to apply the patch "manually":
"cd /cvs/SheepShaver/src"
"patch -p0 -i /cvs/patches/SheepShaver-2.2-hacks.patch"
result should be:
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- SheepShaver-2.2/src/Unix/main_unix.cpp.hacks 2004-01-06 11:15:16.000000000 +0100
|+++ SheepShaver-2.2/src/Unix/main_unix.cpp 2004-01-06 11:51:52.000000000 +0100
--------------------------
File to patch:
At this prompt you enter: "/cvs/SheepShaver/src/Unix/main_unix.cpp"
and hit "Enter"
Result should be:
patching file /cvs/SheepShaver/src/Unix/main_unix.cpp
Hunk #1 succeeded at 1913 (offset 65 lines).
can't find file to patch at input line 16
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- SheepShaver-2.2/src/rom_patches.cpp.hacks 2004-01-06 11:15:16.000000000 +0100
|+++ SheepShaver-2.2/src/rom_patches.cpp 2004-01-06 11:51:07.000000000 +0100
--------------------------
File to patch:
At this prompt you enter: "/cvs/SheepShaver/src/rom_patches.cpp"
and hit "Enter"
Result should be:
patching file /cvs/SheepShaver/src/rom_patches.cpp
Hunk #1 succeeded at 2316 (offset 12 lines).
Your done patching!
Just follow Jackalo's guide from here, but in short:
"cd /cvs/SheepShaver"
"make links"
"cd /src/Unix"
"./autogen.sh"
"make"
"./SheepShaver"
Hope this new description makes live easier....
Howards7/Cat_7
(parts of this description taken and adapted from Jackalo's build guide and a remark from rakslice about the "patch" command )
(edited - Feb 14)