freebsd-ports/japanese/canna-server/files/patch-bzero
Akinori MUSHA a2330b1ecd - Make this compile with imake 4.2.0, in which the LinkFileList
definition has been changed somehow.  Add a patch to override it with
  the previous definition.

  Addressed by:	Marc Espie <espie@openbsd.org>

- Add a patch to fix bzero()/bcopy() namespace collision. (by me)

- Change one of the master sites.

  Submitted by:	Kimura Fuyuki <fuyuki@mj.0038.net>

Discussed on:	ports-jp@jp.FreeBSD.org
On behalf of:	max (MAINTAINER)
2002-04-02 03:45:20 +00:00

57 lines
1.7 KiB
Plaintext

--- ccustom/canna.h.orig Thu Nov 7 10:21:45 1996
+++ ccustom/canna.h Tue Apr 2 00:09:52 2002
@@ -46,4 +46,6 @@
# endif
+# if 0
# define bzero(buf, size) memset((char *)(buf), 0x00, (size))
# define bcopy(src, dst, size) memcpy((char *)(dst), (char *)(src), (size))
+# endif
#endif
--- lib/RK/RKintern.h.orig Tue Apr 2 00:03:01 2002
+++ lib/RK/RKintern.h Tue Apr 2 00:10:41 2002
@@ -107,4 +107,6 @@
# ifndef __EMX__
+# if 0
# define bzero(buf, size) memset((char *)(buf), 0x00, (size))
# define bcopy(src, dst, size) memcpy((char *)(dst), (char *)(src), (size))
+# endif
# endif
--- lib/RK/ngram.c.orig Tue Apr 2 00:03:01 2002
+++ lib/RK/ngram.c Tue Apr 2 00:11:03 2002
@@ -48,4 +48,6 @@
# endif
+# if 0
# define bzero(buf, size) memset((char *)(buf), 0x00, (size))
# define bcopy(src, dst, size) memcpy((char *)(dst), (char *)(src), (size))
+# endif
#endif
--- lib/RKC/rkc.h.orig Wed Nov 27 16:21:35 1996
+++ lib/RKC/rkc.h Tue Apr 2 00:11:35 2002
@@ -48,2 +48,3 @@
# ifndef __EMX__
+# if 0
# ifndef bzero
@@ -53,2 +54,3 @@
# define bcopy(src, dst, size) memcpy((char *)(dst), (char *)(src), (size))
+# endif
# endif
--- lib/canna/canna.h.orig Mon Dec 2 11:20:15 1996
+++ lib/canna/canna.h Tue Apr 2 00:11:58 2002
@@ -112,4 +112,6 @@
# ifndef __EMX__
+# if 0
# define bzero(buf, size) memset((char *)(buf), 0x00, (size))
# define bcopy(src, dst, size) memcpy((char *)(dst), (char *)(src), (size))
+# endif
# endif
--- server/IR.h.orig Wed Nov 27 16:24:56 1996
+++ server/IR.h Tue Apr 2 00:12:30 2002
@@ -34,2 +34,3 @@
# ifndef __EMX__
+# if 0
# ifndef bcopy
@@ -39,2 +40,3 @@
# define bzero(buf, size) memset((char *)(buf), 0x00, (size))
+# endif
# endif