aboutsummaryrefslogtreecommitdiffstats
path: root/x11-servers/XFree86-4-Server/files/patch-libc_wrapper.c
diff options
context:
space:
mode:
Diffstat (limited to 'x11-servers/XFree86-4-Server/files/patch-libc_wrapper.c')
-rw-r--r--x11-servers/XFree86-4-Server/files/patch-libc_wrapper.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/x11-servers/XFree86-4-Server/files/patch-libc_wrapper.c b/x11-servers/XFree86-4-Server/files/patch-libc_wrapper.c
new file mode 100644
index 000000000000..b020234be195
--- /dev/null
+++ b/x11-servers/XFree86-4-Server/files/patch-libc_wrapper.c
@@ -0,0 +1,9 @@
+--- programs/Xserver/hw/xfree86/os-support/shared/libc_wrapper.c Fri Feb 21 22:00:39 2003
++++ programs/Xserver/hw/xfree86/os-support/shared/libc_wrapper.c Wed Jun 4 18:55:45 2003
+@@ -481,5 +481,5 @@
+ if (flags & XF86_MAP_SHARED) f |= MAP_SHARED;
+ if (flags & XF86_MAP_PRIVATE) f |= MAP_PRIVATE;
+-#ifdef __x86_64__
++#if defined(__x86_64__) && defined(linux)
+ if (flags & XF86_MAP_32BIT) f |= MAP_32BIT;
+ #endif \ No newline at end of file