summaryrefslogtreecommitdiff
path: root/packages/glibc/glibc-2.3.2/arm-ioperm.patch
diff options
context:
space:
mode:
Diffstat (limited to 'packages/glibc/glibc-2.3.2/arm-ioperm.patch')
-rw-r--r--packages/glibc/glibc-2.3.2/arm-ioperm.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/packages/glibc/glibc-2.3.2/arm-ioperm.patch b/packages/glibc/glibc-2.3.2/arm-ioperm.patch
index e69de29bb2..ae9423ef55 100644
--- a/packages/glibc/glibc-2.3.2/arm-ioperm.patch
+++ b/packages/glibc/glibc-2.3.2/arm-ioperm.patch
@@ -0,0 +1,13 @@
+--- sysdeps/unix/sysv/linux/arm/ioperm.c 20 Feb 2003 22:22:35 -0000 1.6
++++ sysdeps/unix/sysv/linux/arm/ioperm.c 24 Oct 2003 20:59:38 -0000
+@@ -100,8 +100,8 @@
+ {
+ char systype[256];
+ int i, n;
+- static int iobase_name[] = { CTL_BUS, BUS_ISA, BUS_ISA_PORT_BASE };
+- static int ioshift_name[] = { CTL_BUS, BUS_ISA, BUS_ISA_PORT_SHIFT };
++ static int iobase_name[] = { CTL_BUS, CTL_BUS_ISA, BUS_ISA_PORT_BASE };
++ static int ioshift_name[] = { CTL_BUS, CTL_BUS_ISA, BUS_ISA_PORT_SHIFT };
+ size_t len = sizeof(io.base);
+
+ if (! sysctl (iobase_name, 3, &io.io_base, &len, NULL, 0)