Re: Anyone gotten Pan newsreader to compile on FC4?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 2005-06-17 at 12:16 -0500, Thomas Cameron wrote:
> I have Thunderbird's news reader interface, so I want to use Pan.  It
> seems to fail during installation with an invalid incrementation error.
> Anyone know how to get around it?

Patch (shamelessly stolen from gentoo) attached
--- 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

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux