Browse Source

Clifford Wolf:


			
			
				rocklinux
			
			
		
Clifford Wolf 19 years ago
parent
commit
fea3b0d7c9
2 changed files with 23 additions and 0 deletions
  1. +4
    -0
      package/base/linux/linux26-hdrs/compiler_h.patch
  2. +19
    -0
      package/base/util-linux/llseek_fixes.patch

+ 4
- 0
package/base/linux/linux26-hdrs/compiler_h.patch

@ -0,0 +1,4 @@
--- ./linux/compiler.h.orig 2007-05-21 21:54:33.000000000 +0200
+++ ./linux/compiler.h 2007-05-21 12:19:01.000000000 +0200
@@ -0,0 +1 @@
+/* just a dummy placeholder */

+ 19
- 0
package/base/util-linux/llseek_fixes.patch

@ -61,4 +61,23 @@
+}
#endif
static int
--- ./partx/partx.c 2007-05-21 22:30:42.000000000 +0200
+++ ./partx/partx.c 2007-05-21 22:31:21.000000000 +0200
@@ -339,10 +339,13 @@
#endif
#ifdef NEED__llseek
+#include <sys/syscall.h>
#include <linux/unistd.h> /* _syscall */
-static
-_syscall5(int, _llseek, uint, fd, ulong, hi, ulong, lo,
- long long *, res, uint, wh);
+static int _llseek (unsigned int fd, unsigned long oh,
+ unsigned long ol, long long *result,
+ unsigned int origin) {
+ return syscall(__NR__llseek, fd, oh, ol, result, origin);
+}
#endif
static int

Loading…
Cancel
Save