Author: ken
Date: 2005-09-09 11:26:25 -0600 (Fri, 09 Sep 2005)
New Revision: 1103

Added:
   trunk/pan/
   trunk/pan/pan-0.14.2-gcc4-1.patch
Log:
gcc4 patch for pan

Added: trunk/pan/pan-0.14.2-gcc4-1.patch
===================================================================
--- trunk/pan/pan-0.14.2-gcc4-1.patch   2005-09-09 17:25:03 UTC (rev 1102)
+++ trunk/pan/pan-0.14.2-gcc4-1.patch   2005-09-09 17:26:25 UTC (rev 1103)
@@ -0,0 +1,31 @@
+Submitted By: Ken Moffat <[EMAIL PROTECTED]>
+Date: 2005-09-09
+Initial Package Version: 0.14.2
+Upstream Status: unknown
+Origin: from fedora
+Description: Allows pan to compile with gcc4
+
+ 
+--- pan-0.14.2.91/pan/base/msort.c.orig        2005-04-25 15:54:31.000000000 
+0000
++++ pan-0.14.2.91/pan/base/msort.c     2005-04-25 15:59:21.000000000 +0000
+@@ -65,14 +65,16 @@
+                       if ((*cmp) (b1, b2) <= 0)
+                       {
+                               --n1;
+-                              *((unsigned long int *) tmp)++ =
+-                                      *((unsigned long int *) b1)++;
++                              *((unsigned long int *) tmp) = *((unsigned long 
int *) b1);
++                              tmp += sizeof(unsigned long int);
++                              b1 += sizeof(unsigned long int);
+                       }
+                       else
+                       {
+                               --n2;
+-                              *((unsigned long int *) tmp)++ =
+-                                      *((unsigned long int *) b2)++;
++                              *((unsigned long int *) tmp) = *((unsigned long 
int *) b2);
++                              tmp += sizeof(unsigned long int);
++                              b2 += sizeof(unsigned long int);
+                       }
+               }
+       else

-- 
http://linuxfromscratch.org/mailman/listinfo/patches
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to