diff options
author | Shaun Amott <shaun@FreeBSD.org> | 2006-10-09 16:26:20 +0000 |
---|---|---|
committer | Shaun Amott <shaun@FreeBSD.org> | 2006-10-09 16:26:20 +0000 |
commit | 243afd30371e8a77bd64564da54a9862249caab0 (patch) | |
tree | 1efb5b36292a7bc1c906686719fd54ccca4c109c /math/physcalc/files/patch-physnode.c | |
parent | The distfiles for science/libctl 3.0.1 are no longer available on the project... (diff) |
Preemptively fix build for gcc 4.1.
PR: ports/104130
Submitted by: trasz <trasz@pin.if.uz.zgora.pl>
Diffstat (limited to '')
-rw-r--r-- | math/physcalc/files/patch-physnode.c | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/math/physcalc/files/patch-physnode.c b/math/physcalc/files/patch-physnode.c new file mode 100644 index 000000000000..0e2ca9307898 --- /dev/null +++ b/math/physcalc/files/patch-physnode.c @@ -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) */ |