Date: Sat, 7 Oct 2006 21:24:33 +0200 (CEST) From: trasz <trasz@pin.if.uz.zgora.pl> To: FreeBSD-gnats-submit@FreeBSD.org Cc: gnome@FreeBSD.org Subject: ports/104129: [PATCH] news/pan: fix build with gcc41. Message-ID: <20061007192433.E1F6439DB8@pin.if.uz.zgora.pl> Resent-Message-ID: <200610071930.k97JUJKa098780@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 104129 >Category: ports >Synopsis: [PATCH] news/pan: fix build with gcc41. >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Oct 07 19:30:18 GMT 2006 >Closed-Date: >Last-Modified: >Originator: trasz >Release: FreeBSD 6.1-RELEASE i386 >Organization: >Environment: System: FreeBSD pin.if.uz.zgora.pl 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sat Jun 3 01:12:10 CEST >Description: Fix build with gcc41. (http://pointyhat.freebsd.org/errorlogs/i386-errorlogs/e.7.2006100419/pan-0.14.2.91_4.log) Added file(s): - files/patch-pan-base-msort.c Port maintainer (gnome@FreeBSD.org) is cc'd. Generated with FreeBSD Port Tools 0.77 >How-To-Repeat: >Fix: --- pan-0.14.2.91_4.patch begins here --- diff -ruN --exclude=CVS /usr/ports/news/pan/files/patch-pan-base-msort.c /home/trasz/pan/files/patch-pan-base-msort.c --- /usr/ports/news/pan/files/patch-pan-base-msort.c Thu Jan 1 01:00:00 1970 +++ /home/trasz/pan/files/patch-pan-base-msort.c Sat Oct 7 21:22:48 2006 @@ -0,0 +1,32 @@ +--- pan/base/msort.c.orig Sat Oct 7 21:16:40 2006 ++++ pan/base/msort.c Sat Oct 7 21:16:50 2006 +@@ -64,15 +64,25 @@ + { + if ((*cmp) (b1, b2) <= 0) + { ++ unsigned long int *tmpl=tmp; ++ unsigned long int *b1l=b1; ++ + --n1; +- *((unsigned long int *) tmp)++ = +- *((unsigned long int *) b1)++; ++ *tmpl++ = *b1l++; ++ ++ tmp=tmpl; ++ b1=b1l; + } + else + { ++ unsigned long int *tmpl=tmp; ++ unsigned long int *b2l=b2; ++ + --n2; +- *((unsigned long int *) tmp)++ = +- *((unsigned long int *) b2)++; ++ *tmpl++ = *b2l++; ++ ++ tmp=tmpl; ++ b2=b2l; + } + } + else --- pan-0.14.2.91_4.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061007192433.E1F6439DB8>