Apply dont-eat-the-logs.patch