]> git.pld-linux.org Git - packages/einstein.git/commitdiff
- new auto/th/einstein-2_0-1
authorAdam Gołębiowski <adamg@pld-linux.org>
Fri, 2 Jan 2009 13:29:20 +0000 (13:29 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    einstein-gcc43.patch -> 1.1
    einstein-kill-warnings.patch -> 1.1

einstein-gcc43.patch [new file with mode: 0644]
einstein-kill-warnings.patch [new file with mode: 0644]

diff --git a/einstein-gcc43.patch b/einstein-gcc43.patch
new file mode 100644 (file)
index 0000000..c9d91d0
--- /dev/null
@@ -0,0 +1,20 @@
+--- einstein-2.0/convert.h~    2005-08-14 04:40:58.000000000 +0200
++++ einstein-2.0/convert.h     2009-01-02 14:15:08.000000000 +0100
+@@ -5,6 +5,7 @@
+ #include <iostream>
+ #include <sstream>
+ #include <string>
++#include <typeinfo>
+ #include "exceptions.h"
+ #include "unicode.h"
+--- einstein-2.0/unicode.cpp~  2005-08-14 04:40:58.000000000 +0200
++++ einstein-2.0/unicode.cpp   2009-01-02 14:16:51.000000000 +0100
+@@ -5,6 +5,7 @@
+ #endif
+ #include "unicode.h"
+ #include "exceptions.h"
++#include <cstring>
+ /// Returns length of wide character in utf-8
diff --git a/einstein-kill-warnings.patch b/einstein-kill-warnings.patch
new file mode 100644 (file)
index 0000000..cbb5f02
--- /dev/null
@@ -0,0 +1,62 @@
+--- einstein-2.0/horhints.cpp~ 2005-08-22 23:36:12.000000000 +0200
++++ einstein-2.0/horhints.cpp  2009-01-02 14:20:10.000000000 +0100
+@@ -85,10 +85,12 @@
+     Rule *r = NULL;
+     int no = row * HINTS_COLS + col;
+     if (no < (int)rules.size())
++    {
+         if (showExcluded)
+             r = excludedRules[no];
+         else
+             r = rules[no];
++    }
+     if (r)
+         r->draw(x, y, iconSet, no == highlighted);
+     else
+--- einstein-2.0/lexal.h~      2005-08-14 04:40:58.000000000 +0200
++++ einstein-2.0/lexal.h       2009-01-02 14:20:51.000000000 +0100
+@@ -8,7 +8,7 @@
+ class Lexeme
+ {
+     public:
+-        typedef enum Type {
++        enum Type {
+             String,
+             Integer,
+             Float,
+--- einstein-2.0/table.h~      2005-08-14 04:40:58.000000000 +0200
++++ einstein-2.0/table.h       2009-01-02 14:21:11.000000000 +0100
+@@ -13,7 +13,7 @@
+ class Value
+ {
+     public:
+-        typedef enum Type {
++        enum Type {
+             Integer,
+             Double,
+             String,
+--- einstein-2.0/unicode.cpp~  2009-01-02 14:25:36.000000000 +0100
++++ einstein-2.0/unicode.cpp   2009-01-02 14:25:59.000000000 +0100
+@@ -240,11 +240,11 @@
+               break;
+             else
+                 if (error)
+-                *error = L"Partial character sequence at end of input";
++                *error = (wchar_t *) L"Partial character sequence at end of input";
+           }
+         else
+             if (error)
+-              *error = L"Invalid byte sequence in conversion input";
++              *error = (wchar_t *) L"Invalid byte sequence in conversion input";
+         goto err_out;
+       }
+@@ -381,7 +381,7 @@
+         if (items_read)
+           *items_read = i;
+           if (error)
+-              *error = L"Character out of range for UTF-8";
++              *error = (wchar_t *) L"Character out of range for UTF-8";
+         goto err_out;
+       }
+       
This page took 0.126132 seconds and 4 git commands to generate.