public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in x11-drivers/xf86-video-neomagic/files: xf86-video-neomagic-1.2.4-fix-build-with-xserver-1.7.1.patch
@ 2009-11-07 14:37 Nirbheek Chauhan (nirbheek)
  0 siblings, 0 replies; 2+ messages in thread
From: Nirbheek Chauhan (nirbheek) @ 2009-11-07 14:37 UTC (permalink / raw
  To: gentoo-commits

nirbheek    09/11/07 14:37:38

  Added:               
                        xf86-video-neomagic-1.2.4-fix-build-with-xserver-1.7.1.patch
  Log:
  Fix build with xorg-server-1.7.1, fixes bug 291825
  (Portage version: 2.1.7.3/cvs/Linux i686)

Revision  Changes    Path
1.1                  x11-drivers/xf86-video-neomagic/files/xf86-video-neomagic-1.2.4-fix-build-with-xserver-1.7.1.patch

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-drivers/xf86-video-neomagic/files/xf86-video-neomagic-1.2.4-fix-build-with-xserver-1.7.1.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-drivers/xf86-video-neomagic/files/xf86-video-neomagic-1.2.4-fix-build-with-xserver-1.7.1.patch?rev=1.1&content-type=text/plain

Index: xf86-video-neomagic-1.2.4-fix-build-with-xserver-1.7.1.patch
===================================================================
Patch from upstream; caused due to removal of xf86UDelay()

Fixes http://bugs.gentoo.org/291825
---
From 4e2afb88212582df60bca3ec8c447965a5a66fd5 Mon Sep 17 00:00:00 2001
From: Adam Jackson <ajax@redhat.com>
Date: Mon, 26 Oct 2009 19:43:50 +0000
Subject: s/xf86UDelay/usleep/g

cf. https://bugzilla.redhat.com/show_bug.cgi?id=523800

Signed-off-by: Adam Jackson <ajax@redhat.com>
---
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,
--
cgit v0.8.2






^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] gentoo-x86 commit in x11-drivers/xf86-video-neomagic/files: xf86-video-neomagic-1.2.4-fix-build-with-xserver-1.7.1.patch
@ 2011-02-13 18:59 Tomas Chvatal (scarabeus)
  0 siblings, 0 replies; 2+ messages in thread
From: Tomas Chvatal (scarabeus) @ 2011-02-13 18:59 UTC (permalink / raw
  To: gentoo-commits

scarabeus    11/02/13 18:59:53

  Removed:             
                        xf86-video-neomagic-1.2.4-fix-build-with-xserver-1.7.1.patch
  Log:
  old
  
  (Portage version: 2.2.0_alpha23/cvs/Linux x86_64)



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-02-13 19:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-13 18:59 [gentoo-commits] gentoo-x86 commit in x11-drivers/xf86-video-neomagic/files: xf86-video-neomagic-1.2.4-fix-build-with-xserver-1.7.1.patch Tomas Chvatal (scarabeus)
  -- strict thread matches above, loose matches on Subject: below --
2009-11-07 14:37 Nirbheek Chauhan (nirbheek)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox