diff --git a/srcpkgs/bastet/INSTALL b/srcpkgs/bastet/INSTALL new file mode 100644 index 00000000000..e5bcb9cc07d --- /dev/null +++ b/srcpkgs/bastet/INSTALL @@ -0,0 +1,9 @@ +case "${ACTION}" in +post) + if [ ! -f ./var/games/bastet.scores2 ]; then + mkdir -p var/games + touch var/games/bastet.scores2 + chmod 0666 var/games/bastet.scores2 + fi + ;; +esac diff --git a/srcpkgs/bastet/patches/musl.patch b/srcpkgs/bastet/patches/musl.patch new file mode 100644 index 00000000000..08fb4f71535 --- /dev/null +++ b/srcpkgs/bastet/patches/musl.patch @@ -0,0 +1,10 @@ +--- a/Ui.cpp ++++ b/Ui.cpp +@@ -27,6 +27,7 @@ + #include + #include + #include ++#include + + using namespace std; + using namespace boost; diff --git a/srcpkgs/bastet/patches/new-boost.patch b/srcpkgs/bastet/patches/new-boost.patch new file mode 100644 index 00000000000..3a69d912b0e --- /dev/null +++ b/srcpkgs/bastet/patches/new-boost.patch @@ -0,0 +1,21 @@ +--- a/BastetBlockChooser.hpp ++++ b/BastetBlockChooser.hpp +@@ -23,8 +23,7 @@ + + #include "Well.hpp" + +-#include +-#include ++#include + #include + + namespace Bastet{ +@@ -75,7 +74,7 @@ namespace Bastet{ + public: + Searcher(BlockType b, const Well *well, Vertex v, WellVisitor *visitor); + private: +- std::tr1::unordered_set _visited; ++ boost::unordered_set _visited; + //std::set _visited; ^^ the above is more efficient, we need to do many inserts + BlockType _block; + const Well *_well; diff --git a/srcpkgs/bastet/patches/scorer-names-bugfix.patch b/srcpkgs/bastet/patches/scorer-names-bugfix.patch new file mode 100644 index 00000000000..2d0befa425f --- /dev/null +++ b/srcpkgs/bastet/patches/scorer-names-bugfix.patch @@ -0,0 +1,11 @@ +--- a/Config.cpp ++++ b/Config.cpp +@@ -187,7 +187,7 @@ namespace Bastet{ + for(int difficulty=0;difficulty