Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 209698 Details for
Bug 292466
xf86-video-neomagic-1.2.4 symbol error + patch
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
neomagic-usleep.patch (text/plain), 1.50 KB, created by
Chris Hall
on 2009-11-09 01:55:51 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Chris Hall
Created:
2009-11-09 01:55:51 UTC
Size:
1.50 KB
patch
obsolete
>rom 4e2afb88212582df60bca3ec8c447965a5a66fd5 Mon Sep 17 00:00:00 2001 >From: Adam Jackson <ajax@redhat.com> >Date: Mon, 26 Oct 2009 15:43:50 -0400 >Subject: [PATCH] s/xf86UDelay/usleep/g > >cf. https://bugzilla.redhat.com/show_bug.cgi?id=523800 > >Signed-off-by: Adam Jackson <ajax@redhat.com> >--- > src/neo_driver.c | 6 ++++-- > 1 files changed, 4 insertions(+), 2 deletions(-) > >diff --git a/src/neo_driver.c b/src/neo_driver.c >index ddb6812..e4c60f2 100644 >--- a/src/neo_driver.c >+++ b/src/neo_driver.c >@@ -114,6 +114,8 @@ CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. > #include <X11/extensions/xf86dgastr.h> > #endif > >+#include <unistd.h> >+ > /* Mandatory functions */ > static const OptionInfoRec * NEOAvailableOptions(int chipid, int busid); > static void NEOIdentify(int flags); >@@ -2489,7 +2491,7 @@ neoRestore(ScrnInfoPtr pScrn, vgaRegPtr VgaReg, NeoRegPtr restore, > * In some rare cases a lockup might occur if we don't delay > * here. (Reported by Miles Lane) > */ >- xf86UDelay(200000); >+ usleep(200000); > /* > * Disable horizontal and vertical graphics and text expansions so > * that vgaHWRestore works properly. >@@ -2502,7 +2504,7 @@ neoRestore(ScrnInfoPtr pScrn, vgaRegPtr VgaReg, NeoRegPtr restore, > * Sleep for 200ms to make sure that the two operations above have > * had time to take effect. > */ >- xf86UDelay(200000); >+ usleep(200000); > /* > * This function handles restoring the generic VGA registers. */ > vgaHWRestore(pScrn, VgaReg, >-- >1.6.4.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 292466
: 209698