summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-nntp/pan/files/pan-0.14.2.91-gcc4.patch')
-rw-r--r--net-nntp/pan/files/pan-0.14.2.91-gcc4.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/net-nntp/pan/files/pan-0.14.2.91-gcc4.patch b/net-nntp/pan/files/pan-0.14.2.91-gcc4.patch
new file mode 100644
index 000000000000..519019568442
--- /dev/null
+++ b/net-nntp/pan/files/pan-0.14.2.91-gcc4.patch
@@ -0,0 +1,23 @@
+--- 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)++;
++ *tmp = *b1;
++ tmp++;
++ b1++;
+ }
+ else
+ {
+ --n2;
+- *((unsigned long int *) tmp)++ =
+- *((unsigned long int *) b2)++;
++ *tmp = *b2;
++ tmp++;
++ b1++;
+ }
+ }
+ else