Comedian Chris Farley was cast as Shrek and recorded almost all his lines before he died in 1997. He was replaced by his SNL colleague Mike Myers, and quite a bit of dialogue and art was changed to accommodate Myers’ appearance and voice.
Here is a a sample of Farley's recorded dialogue over Shrek storyboards in a video. -via Digg