SiS driver fails to build (patch included)

Matthias Hopf mhopf at suse.de
Thu Aug 11 03:08:00 PDT 2005


Hi,

the SiS driver currently fails to build due to a missing
#include <setjmp.h>. It also redefines BUFSIZ (from stdio) with an own,
personal, buffer size - without ever using it.

The applied patch fixes both.

CU all

Matthias

-- 
Matthias Hopf <mhopf at suse.de>       __        __   __
Maxfeldstr. 5 / 90409 Nuernberg    (_   | |  (_   |__         mat at mshopf.de
Phone +49-911-74053-715            __)  |_|  __)  |__  labs   www.mshopf.de
-------------- next part --------------
Index: programs/Xserver/hw/xfree86/drivers/sis/sis_memcpy.c
===================================================================
RCS file: /cvs/xorg/xc/programs/Xserver/hw/xfree86/drivers/sis/sis_memcpy.c,v
retrieving revision 1.19
diff -u -p -r1.19 sis_memcpy.c
--- programs/Xserver/hw/xfree86/drivers/sis/sis_memcpy.c	11 Jul 2005 02:29:59 -0000	1.19
+++ programs/Xserver/hw/xfree86/drivers/sis/sis_memcpy.c	11 Aug 2005 09:32:18 -0000
@@ -32,6 +32,7 @@
 #endif
 
 #include "sis.h"
+#include <setjmp.h>
 
 #if 0			/* Debug */
 #define SISDGBMC
@@ -41,7 +42,6 @@ extern unsigned int SISAllocateFBMemory(
 extern void	    SISFreeFBMemory(ScrnInfoPtr pScrn, void **handle);
 
 #define CPUBUFSIZE 2048      /* Size of /proc/cpuinfo buffer */
-#define BUFSIZ (576 * 1152)  /* Matches 720x576 YUV420 */
 
 /************************************************************************/
 /*                   arch specific memcpy() routines                    */


More information about the xorg mailing list