]> git.pld-linux.org Git - packages/dosfstools.git/commitdiff
patches from RawHide
authorArtur Frysiak <artur@frysiak.net>
Wed, 31 May 2000 07:51:15 +0000 (07:51 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    dosfstools-288.patch -> 1.1
    dosfstools-llseek.patch -> 1.1

dosfstools-288.patch [new file with mode: 0644]
dosfstools-llseek.patch [new file with mode: 0644]

diff --git a/dosfstools-288.patch b/dosfstools-288.patch
new file mode 100644 (file)
index 0000000..54aab75
--- /dev/null
@@ -0,0 +1,13 @@
+--- dosfstools-2.2/mkdosfs/mkdosfs.c.2.88      Wed Sep 29 12:58:40 1999
++++ dosfstools-2.2/mkdosfs/mkdosfs.c   Wed Sep 29 12:59:13 1999
+@@ -627,6 +627,10 @@ establish_params (int device_num,int siz
+             param.sect = 18;
+             param.head = 2;
+             break;
++          case 5760:
++            param.sect = 36;
++            param.head = 2;
++            break;
+           default:
+             /* fake values */
+             param.sect = 32;
diff --git a/dosfstools-llseek.patch b/dosfstools-llseek.patch
new file mode 100644 (file)
index 0000000..19f3f7a
--- /dev/null
@@ -0,0 +1,49 @@
+--- dosfstools-2.1/mkdosfs/mkdosfs.c.llseek    Mon Aug 16 11:44:06 1999
++++ dosfstools-2.1/mkdosfs/mkdosfs.c   Mon Aug 16 11:44:50 1999
+@@ -95,9 +95,10 @@
+ /* Use the _llseek system call directly, because there (once?) was a bug in
+  * the glibc implementation of it. */
+ #include <linux/unistd.h>
+-#ifndef __NR__llseek
+-#error _llseek system call not present
+-#endif
++#if !defined(__alpha__) && !defined(__ia64__)
++# ifndef __NR__llseek
++#  error _llseek system call not present
++# endif
+ static _syscall5( int, _llseek, uint, fd, ulong, hi, ulong, lo,
+                 loff_t *, res, uint, wh );
+@@ -109,6 +110,8 @@
+       return (loff_t)-1;
+     return actual;
+ }
++
++#endif /* __alpha__ && __ia64__ */
+ /* Constant definitions */
+--- dosfstools-2.1/dosfsck/io.c.llseek Mon Aug 16 11:49:35 1999
++++ dosfstools-2.1/dosfsck/io.c        Mon Aug 16 11:48:44 1999
+@@ -42,9 +42,10 @@
+ /* Use the _llseek system call directly, because there (once?) was a bug in
+  * the glibc implementation of it. */
+ #include <linux/unistd.h>
+-#ifndef __NR__llseek
+-#error _llseek system call not present
+-#endif
++#if !defined(__alpha__) && !defined(__ia64)
++# ifndef __NR__llseek
++#  error _llseek system call not present
++# endif
+ static _syscall5( int, _llseek, uint, fd, ulong, hi, ulong, lo,
+                 loff_t *, res, uint, wh );
+@@ -57,6 +58,7 @@
+     return actual;
+ }
++#endif /* __alpha__ && __ia64__ */
+ void fs_open(char *path,int rw)
+ {
This page took 0.098152 seconds and 4 git commands to generate.