Skip site navigation (1)Skip section navigation (2)
Date:      Sat,  7 Oct 2006 21:37:18 +0200 (CEST)
From:      trasz <trasz@pin.if.uz.zgora.pl>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/104130: [PATCH] math/physcalc: fix build with gcc41.
Message-ID:  <20061007193718.4201639DB8@pin.if.uz.zgora.pl>
Resent-Message-ID: <200610071940.k97JeRBd001405@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         104130
>Category:       ports
>Synopsis:       [PATCH] math/physcalc: 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:40:27 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.

Added file(s):
- files/patch-physnode.c

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- physcalc-2.4.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/math/physcalc/files/patch-physnode.c /home/trasz/physcalc/files/patch-physnode.c
--- /usr/ports/math/physcalc/files/patch-physnode.c	Thu Jan  1 01:00:00 1970
+++ /home/trasz/physcalc/files/patch-physnode.c	Sat Oct  7 21:34:54 2006
@@ -0,0 +1,18 @@
+--- physnode.c.orig	Sat Oct  7 21:33:27 2006
++++ physnode.c	Sat Oct  7 21:33:30 2006
+@@ -305,12 +305,12 @@
+ }
+ 
+ EXPORT void bytecopy(dst, src, bytes)
+-VOID *dst;
+-VOID const *src;
++char *dst;
++char const *src;
+ int bytes;
+ {
+ 	while (bytes--)
+-		*((char *)dst)++ = *((char const *)src)++;
++		*dst++ = *src++;
+ }
+ 
+ EXPORT NODEP copynode(n)	/* Create a duplicate of node n (including sub-nodes) */
diff -ruN --exclude=CVS /usr/ports/math/physcalc/pkg-plist /home/trasz/physcalc/pkg-plist
--- /usr/ports/math/physcalc/pkg-plist	Mon Aug 28 01:32:03 2000
+++ /home/trasz/physcalc/pkg-plist	Sat Oct  7 21:35:23 2006
@@ -1,11 +1,11 @@
 bin/physcalc
-share/physcalc/astro.phy
-share/physcalc/bits.phy
-share/physcalc/british.phy
-share/physcalc/light.phy
-share/physcalc/math.phy
-share/physcalc/money.phy
-share/physcalc/nuclear.phy
-share/physcalc/paper.phy
-share/physcalc/physcalc.phy
-@dirrm share/physcalc
+%%DATADIR%%/astro.phy
+%%DATADIR%%/bits.phy
+%%DATADIR%%/british.phy
+%%DATADIR%%/light.phy
+%%DATADIR%%/math.phy
+%%DATADIR%%/money.phy
+%%DATADIR%%/nuclear.phy
+%%DATADIR%%/paper.phy
+%%DATADIR%%/physcalc.phy
+@dirrm %%DATADIR%%
--- physcalc-2.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?20061007193718.4201639DB8>