/[gentoo-x86]/x11-base/xorg-server/files/xorg-server-fbmmx-local.patch
Gentoo

Contents of /x11-base/xorg-server/files/xorg-server-fbmmx-local.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Sun Aug 21 10:04:25 2005 UTC (9 years, 2 months ago) by spyderous
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
FILE REMOVED
Drop old versions.
(Portage version: 2.0.51.22-r2)

1 https://bugs.freedesktop.org/show_bug.cgi?id=4073
2
3 xorg-server compilation dies, 2 undefined symbols
4
5 diff -ur fb.orig/fbmmx.c fb/fbmmx.c
6 --- xorg-server-0.99.1/fb.orig/fbmmx.c 2005-08-13 20:37:45 +0000
7 +++ xorg-server-0.99.1/fb/fbmmx.c 2005-08-13 20:35:13 +0000
8 @@ -2315,7 +2315,7 @@
9 "pop %%eax\n"
10 "mov $0x0, %%edx\n"
11 "xor %%ebx, %%eax\n"
12 - "jz skip\n"
13 + "jz 1f\n"
14
15 "mov $0x00000000, %%eax\n"
16 "cpuid\n"
17 @@ -2324,7 +2324,7 @@
18 "mov %%ecx, %3\n"
19 "mov $0x00000001, %%eax\n"
20 "cpuid\n"
21 - "skip:\n"
22 + "1:\n"
23 "pop %%ebx\n"
24 "mov %%edx, %0\n"
25 : "=r" (result),
26 @@ -2355,10 +2355,10 @@
27 "cpuid\n"
28 "xor %%edx, %%edx\n"
29 "cmp $0x1, %%eax\n"
30 - "jge skip2\n"
31 + "jge 2f\n"
32 "mov $0x80000001, %%eax\n"
33 "cpuid\n"
34 - "skip2:\n"
35 + "2:\n"
36 "mov %%edx, %0\n"
37 "pop %%ebx\n"
38 : "=r" (result)

  ViewVC Help
Powered by ViewVC 1.1.20