War ship turns into makeshift hospital for quake survivors