When I read this I just thought (assuming he couldn't just Macgyver the original problem) why didn't he just dig a hole, bury the 'expensive' tools, walk back to civilization, buy the spare part, return, fix, dig up tools, be on his way!
Then again, he did think, in classic programmer units, that it would take only "three days" to make it work.