slackbuilds_ponce/games/supertux2/supertux2-0.3.3-gcc46.patch

14 lines
402 B
Diff
Raw Normal View History

Description: Add missing header. Fixes FTBFS with gcc 4.6.
Author: Ilya Barygin <barygin@gmail.com>
Bug-Ubuntu: https://launchpad.net/bugs/832874
--- supertux-0.3.3.orig/src/supertux/screen_manager.hpp
+++ supertux-0.3.3/src/supertux/screen_manager.hpp
@@ -18,6 +18,7 @@
#define HEADER_SUPERTUX_SUPERTUX_MAINLOOP_HPP
#include <memory>
+#include <cstring>
#include "scripting/thread_queue.hpp"