Author: pluto                        Date: Sun Feb 19 11:42:27 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- updated.

---- Files affected:
SOURCES:
   uspell-gcc4.patch (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SOURCES/uspell-gcc4.patch
diff -u SOURCES/uspell-gcc4.patch:1.1 SOURCES/uspell-gcc4.patch:1.2
--- SOURCES/uspell-gcc4.patch:1.1       Sun Jan 29 08:42:43 2006
+++ SOURCES/uspell-gcc4.patch   Sun Feb 19 12:42:22 2006
@@ -10,3 +10,37 @@
                        int fileNumber);
  }; // class uSpell
  
+--- uspell/src/lookup2.cpp.orig        2003-07-17 01:05:59.000000000 +0200
++++ uspell/src/lookup2.cpp     2006-02-19 12:04:26.246857250 +0100
+@@ -206,7 +206,7 @@
+    c = initval;           /* the previous hash value */
+ 
+    /*---------------------------------------- handle most of the key */
+-   if (((ub4)k)&3)
++   if (reinterpret_cast<unsigned long>(k) & 3)
+    {
+       while (len >= 12)    /* unaligned */
+       {
+--- uspell/src/transcribe.cpp.orig     2003-07-17 01:06:00.000000000 +0200
++++ uspell/src/transcribe.cpp  2006-02-19 12:40:55.003646000 +0100
+@@ -143,7 +143,8 @@
+                       aftSource = foreSource;
+                       current = &transcribeStart;
+               } else { // no replacement; output one byte and rescan
+-                      *(reinterpret_cast<char *>(destPtr))++ = *aftSource++;
++                      *reinterpret_cast<char *>(destPtr) = *aftSource++;
++                      destPtr = 
reinterpret_cast<wide_t*>(reinterpret_cast<char *>(destPtr) + 1);
+                       foreSource = aftSource;
+                       current = &transcribeStart;
+               }
+--- uspell/src/uspell.h.orig   2003-07-24 02:20:04.000000000 +0200
++++ uspell/src/uspell.h        2006-02-19 12:41:16.877013000 +0100
+@@ -136,7 +136,7 @@
+                       const wide_t *target, const int targetLength);
+               int wordDiff(const wide_t *string1, const int string1Length,
+                       const wide_t *string2, const int string2Length);
+-              void uSpell::acceptGoodWord(const utf8_t *buf, int wordPosition,
++              void acceptGoodWord(const utf8_t *buf, int wordPosition,
+                       int fileNumber);
+ }; // class uSpell
+ 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/uspell-gcc4.patch?r1=1.1&r2=1.2&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to