diff --git a/games/freesynd/files/patch-src_app.h b/games/freesynd/files/patch-src_app.h new file mode 100644 index 000000000000..1554bf2d04ce --- /dev/null +++ b/games/freesynd/files/patch-src_app.h @@ -0,0 +1,21 @@ +--- src/app.h.orig 2016-05-01 20:07:33 UTC ++++ src/app.h +@@ -153,13 +153,13 @@ class App : public Singleton < App > { (private) + private: + bool running_; + /*! A structure to hold general application informations.*/ +- std::auto_ptr context_; ++ std::unique_ptr context_; + /*! A structure to hold player informations.*/ +- std::auto_ptr session_; ++ std::unique_ptr session_; + /*! Controls the game logic. */ +- std::auto_ptr game_ctlr_; +- std::auto_ptr screen_; +- std::auto_ptr system_; ++ std::unique_ptr game_ctlr_; ++ std::unique_ptr screen_; ++ std::unique_ptr system_; + + std::string iniPath_; + diff --git a/games/freesynd/files/patch-src_dump.cpp b/games/freesynd/files/patch-src_dump.cpp new file mode 100644 index 000000000000..c10f5972ad65 --- /dev/null +++ b/games/freesynd/files/patch-src_dump.cpp @@ -0,0 +1,11 @@ +--- src/dump.cpp.orig 2016-05-01 20:07:33 UTC ++++ src/dump.cpp +@@ -584,7 +584,7 @@ int main(int argc, char *argv[]) { + } + + LOG(Log::k_FLG_INFO, "Main", "main", ("----- Initializing application...")) +- std::auto_ptr app(new EditorApp(disable_sound)); ++ std::unique_ptr app(new EditorApp(disable_sound)); + + if (app->initialize(iniPath)) { + LOG(Log::k_FLG_INFO, "Main", "main", ("----- Initializing application completed")) diff --git a/games/freesynd/files/patch-src_editor_editorapp.h b/games/freesynd/files/patch-src_editor_editorapp.h new file mode 100644 index 000000000000..5459198c8641 --- /dev/null +++ b/games/freesynd/files/patch-src_editor_editorapp.h @@ -0,0 +1,19 @@ +--- src/editor/editorapp.h.orig 2016-05-01 20:07:33 UTC ++++ src/editor/editorapp.h +@@ -122,12 +122,12 @@ class EditorApp : public Singleton < EditorApp > { (pr + private: + bool running_; + +- std::auto_ptr screen_; +- std::auto_ptr system_; ++ std::unique_ptr screen_; ++ std::unique_ptr system_; + /*! A structure to hold general application informations.*/ +- std::auto_ptr context_; ++ std::unique_ptr context_; + /*! Controls the game logic. */ +- std::auto_ptr game_ctlr_; ++ std::unique_ptr game_ctlr_; + + std::string iniPath_; + diff --git a/games/freesynd/files/patch-src_freesynd.cpp b/games/freesynd/files/patch-src_freesynd.cpp new file mode 100644 index 000000000000..abd822874ac6 --- /dev/null +++ b/games/freesynd/files/patch-src_freesynd.cpp @@ -0,0 +1,11 @@ +--- src/freesynd.cpp.orig 2016-05-01 20:07:33 UTC ++++ src/freesynd.cpp +@@ -229,7 +229,7 @@ int main(int argc, char *argv[]) { + } + + LOG(Log::k_FLG_INFO, "Main", "main", ("----- Initializing application...")) +- std::auto_ptr app(new App(disable_sound)); ++ std::unique_ptr app(new App(disable_sound)); + + if (app->initialize(iniPath)) { + // setting the cheat codes