From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- .../einstein/files/einstein-2.0-64bit.patch | 31 ++++++++++++++++++++++ .../einstein/files/einstein-2.0-as-needed.patch | 11 ++++++++ .../einstein/files/einstein-2.0-gcc43.patch | 20 ++++++++++++++ 3 files changed, 62 insertions(+) create mode 100644 games-puzzle/einstein/files/einstein-2.0-64bit.patch create mode 100644 games-puzzle/einstein/files/einstein-2.0-as-needed.patch create mode 100644 games-puzzle/einstein/files/einstein-2.0-gcc43.patch (limited to 'games-puzzle/einstein/files') diff --git a/games-puzzle/einstein/files/einstein-2.0-64bit.patch b/games-puzzle/einstein/files/einstein-2.0-64bit.patch new file mode 100644 index 000000000000..4d6656252898 --- /dev/null +++ b/games-puzzle/einstein/files/einstein-2.0-64bit.patch @@ -0,0 +1,31 @@ +--- einstein-2.0.orig/formatter.cpp ++++ einstein-2.0/formatter.cpp +@@ -58,7 +58,7 @@ + if ((c.type == INT_ARG) || (c.type == STRING_ARG) || + (c.type == FLOAT_ARG) || (c.type == DOUBLE_ARG)) + { +- int no = (int)c.data; ++ long int no = (long int)c.data; + args[no - 1] = c.type; + } + } +@@ -123,7 +123,7 @@ + std::wstring Formatter::format(std::vector &argValues) const + { + std::wstring s; +- int no; ++ long int no; + + for (int i = 0; i < commandsCnt; i++) { + Command *cmd = &commands[i]; +@@ -135,8 +135,8 @@ + + case STRING_ARG: + case INT_ARG: +- no = (int)cmd->data - 1; +- if (no < (int)argValues.size()) ++ no = (long int)cmd->data - 1; ++ if (no < (long int)argValues.size()) + s += argValues[no]->format(cmd); + break; + diff --git a/games-puzzle/einstein/files/einstein-2.0-as-needed.patch b/games-puzzle/einstein/files/einstein-2.0-as-needed.patch new file mode 100644 index 000000000000..fe870bf036e7 --- /dev/null +++ b/games-puzzle/einstein/files/einstein-2.0-as-needed.patch @@ -0,0 +1,11 @@ +--- Makefile.old 2009-02-09 16:37:58.000000000 +0100 ++++ Makefile 2009-02-09 16:38:13.000000000 +0100 +@@ -49,7 +49,7 @@ + + + $(TARGET): $(OBJECTS) +- $(CXX) $(LNFLAGS) $(OBJECTS) -o $(TARGET) ++ $(CXX) $(LDFLAGS) $(OBJECTS) -o $(TARGET) $(LNFLAGS) + + clean: + rm -f $(OBJECTS) core* *core $(TARGET) *~ diff --git a/games-puzzle/einstein/files/einstein-2.0-gcc43.patch b/games-puzzle/einstein/files/einstein-2.0-gcc43.patch new file mode 100644 index 000000000000..25e1815e5e41 --- /dev/null +++ b/games-puzzle/einstein/files/einstein-2.0-gcc43.patch @@ -0,0 +1,20 @@ +--- einstein-2.0.orig/convert.h ++++ einstein-2.0/convert.h +@@ -5,6 +5,7 @@ + #include + #include + #include ++#include + + #include "exceptions.h" + #include "unicode.h" + +--- einstein-2.0.orig/unicode.cpp ++++ einstein-2.0/unicode.cpp +@@ -1,5 +1,6 @@ + #include + #include ++#include + #ifdef WIN32 + #include + #endif -- cgit v1.2.3