From 37a085768535229cb0025822df2b0b23c9804edb Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Sat, 29 Sep 2007 21:06:33 +0000 Subject: [PATCH] - remove SUSv3 LEGACY function --- .../xlib_libXfont-1.2.7-bcopy-replacement.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 package/x11r7/xlib_libXfont/xlib_libXfont-1.2.7-bcopy-replacement.patch diff --git a/package/x11r7/xlib_libXfont/xlib_libXfont-1.2.7-bcopy-replacement.patch b/package/x11r7/xlib_libXfont/xlib_libXfont-1.2.7-bcopy-replacement.patch new file mode 100644 index 0000000000..9ccc87f779 --- /dev/null +++ b/package/x11r7/xlib_libXfont/xlib_libXfont-1.2.7-bcopy-replacement.patch @@ -0,0 +1,12 @@ +diff -urN xlib_libXfont-1.2.7.orig/src/builtins/file.c xlib_libXfont-1.2.7/src/builtins/file.c +--- xlib_libXfont-1.2.7.orig/src/builtins/file.c 2007-01-17 23:49:10.000000000 +0200 ++++ xlib_libXfont-1.2.7/src/builtins/file.c 2007-09-30 00:52:55.000000000 +0300 +@@ -50,7 +50,7 @@ + len = BUFFILESIZE; + if (len > left) + len = left; +- bcopy (io->file->bits + io->offset, f->buffer, len); ++ memmove (f->buffer, io->file->bits + io->offset, len); + io->offset += len; + f->left = len - 1; + f->bufp = f->buffer + 1;