- add a hopefully not whitespace-damaged patch, second take. (Ivan Kuten)
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Sat, 29 Sep 2007 23:32:39 +0000 (23:32 -0000)
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Sat, 29 Sep 2007 23:32:39 +0000 (23:32 -0000)
package/x11r7/xlib_libXfont/xlib_libXfont-1.2.7-bcopy-replacement.patch [deleted file]
package/x11r7/xlib_libXfont/xlib_libXfont-1.2.7-susv3-legacy.patch [new file with mode: 0644]

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 (file)
index 9ccc87f..0000000
+++ /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 (file)
index 0000000..6aef12b
--- /dev/null
@@ -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;