From: Bernhard Reutner-Fischer Date: Sat, 29 Sep 2007 23:32:39 +0000 (-0000) Subject: - add a hopefully not whitespace-damaged patch, second take. (Ivan Kuten) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=cdb28d18e8b0b20bc218c7b53faa80174d4ca0bd;p=buildroot.git - add a hopefully not whitespace-damaged patch, second take. (Ivan Kuten) --- 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 deleted file mode 100644 index 9ccc87f779..0000000000 --- a/package/x11r7/xlib_libXfont/xlib_libXfont-1.2.7-bcopy-replacement.patch +++ /dev/null @@ -1,12 +0,0 @@ -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; diff --git a/package/x11r7/xlib_libXfont/xlib_libXfont-1.2.7-susv3-legacy.patch b/package/x11r7/xlib_libXfont/xlib_libXfont-1.2.7-susv3-legacy.patch new file mode 100644 index 0000000000..6aef12bad6 --- /dev/null +++ b/package/x11r7/xlib_libXfont/xlib_libXfont-1.2.7-susv3-legacy.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 03:09:29.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;