diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2007-09-29 23:32:39 +0000 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2007-09-29 23:32:39 +0000 |
commit | cdb28d18e8b0b20bc218c7b53faa80174d4ca0bd (patch) | |
tree | 8e54307982c0ce7cefe8af9023e860633f814e13 /package/x11r7/xlib_libXfont/xlib_libXfont-1.2.7-susv3-legacy.patch | |
parent | 98175bd43dbfc70f473cca6759bc8a2f4e655734 (diff) | |
download | buildroot-novena-cdb28d18e8b0b20bc218c7b53faa80174d4ca0bd.tar.gz buildroot-novena-cdb28d18e8b0b20bc218c7b53faa80174d4ca0bd.zip |
- add a hopefully not whitespace-damaged patch, second take. (Ivan Kuten)
Diffstat (limited to 'package/x11r7/xlib_libXfont/xlib_libXfont-1.2.7-susv3-legacy.patch')
-rw-r--r-- | package/x11r7/xlib_libXfont/xlib_libXfont-1.2.7-susv3-legacy.patch | 12 |
1 files changed, 12 insertions, 0 deletions
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 000000000..6aef12bad --- /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; |