]> git.pld-linux.org Git - packages/util-linux.git/commitdiff
- enable sparc build
authortommat <tommat@pld-linux.org>
Mon, 16 Apr 2007 17:40:54 +0000 (17:40 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    util-linux-sparc.patch -> 1.1

util-linux-sparc.patch [new file with mode: 0644]

diff --git a/util-linux-sparc.patch b/util-linux-sparc.patch
new file mode 100644 (file)
index 0000000..8e7acec
--- /dev/null
@@ -0,0 +1,23 @@
+--- util-linux-2.13-pre7/mount/umount.c.orig   2007-04-16 17:01:33.000000000 +0200
++++ util-linux-2.13-pre7/mount/umount.c        2007-04-16 17:01:43.000000000 +0200
+@@ -21,7 +21,7 @@
+ #include "env.h"
+ #include "nls.h"
+-#if defined(MNT_FORCE) && !defined(__sparc__) && !defined(__arm__)
++#if defined(MNT_FORCE)
+ /* Interesting ... it seems libc knows about MNT_FORCE and presumably
+    about umount2 as well -- need not do anything */
+ #else /* MNT_FORCE */
+--- util-linux-2.13-pre7/schedutils/ionice.c.orig      2007-04-16 17:30:44.000000000 +0200
++++ util-linux-2.13-pre7/schedutils/ionice.c   2007-04-16 17:33:38.000000000 +0200
+@@ -33,6 +33,9 @@
+ #elif defined(__s390x__) || defined(__s390__)
+ #define __NR_ioprio_set               282
+ #define __NR_ioprio_get               283
++#elif defined(__sparc__)
++#define __NR_ioprio_set               196
++#define __NR_ioprio_get               218
+ #else
+ #error "Unsupported arch"
+ #endif
This page took 0.347732 seconds and 4 git commands to generate.