Module Name:    xsrc
Committed By:   christos
Date:           Wed May 25 03:19:26 UTC 2011

Modified Files:
        xsrc/external/mit/xf86-video-sunleo/dist/src: leo_fspans.c
            leo_fspanssp.c

Log Message:
don't try to use functions that don't exist, abort() instead.


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1 -r1.2 \
    xsrc/external/mit/xf86-video-sunleo/dist/src/leo_fspans.c \
    xsrc/external/mit/xf86-video-sunleo/dist/src/leo_fspanssp.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: xsrc/external/mit/xf86-video-sunleo/dist/src/leo_fspans.c
diff -u xsrc/external/mit/xf86-video-sunleo/dist/src/leo_fspans.c:1.1.1.1 xsrc/external/mit/xf86-video-sunleo/dist/src/leo_fspans.c:1.2
--- xsrc/external/mit/xf86-video-sunleo/dist/src/leo_fspans.c:1.1.1.1	Fri Sep  4 16:12:48 2009
+++ xsrc/external/mit/xf86-video-sunleo/dist/src/leo_fspans.c	Tue May 24 23:19:26 2011
@@ -66,6 +66,8 @@
 		cy1 = clip->extents.y1;
 		cy2 = clip->extents.y2;
 	} else {
+#if 0
+		/* These functions are gone from xserver */
 		int nTmp = n * miFindMaxBand(clip);
 
 		pwidthFree = (int *)xalloc(nTmp * sizeof(int));
@@ -80,6 +82,9 @@
 				pptFree, pwidthFree, fSorted);
 		pwidth = pwidthFree;
 		ppt = pptFree;
+#else
+		abort();
+#endif
 	}
 	
 	if (pGC->alu != GXcopy)
Index: xsrc/external/mit/xf86-video-sunleo/dist/src/leo_fspanssp.c
diff -u xsrc/external/mit/xf86-video-sunleo/dist/src/leo_fspanssp.c:1.1.1.1 xsrc/external/mit/xf86-video-sunleo/dist/src/leo_fspanssp.c:1.2
--- xsrc/external/mit/xf86-video-sunleo/dist/src/leo_fspanssp.c:1.1.1.1	Fri Sep  4 16:12:48 2009
+++ xsrc/external/mit/xf86-video-sunleo/dist/src/leo_fspanssp.c	Tue May 24 23:19:26 2011
@@ -67,6 +67,8 @@
 		cy1 = clip->extents.y1;
 		cy2 = clip->extents.y2;
 	} else {
+#if 0
+		/* These functions are gone from the x server */
 		int nTmp = n * miFindMaxBand(clip);
 
 		pwidthFree = (int *)xalloc(nTmp * sizeof(int));
@@ -81,6 +83,9 @@
 				pptFree, pwidthFree, fSorted);
 		pwidth = pwidthFree;
 		ppt = pptFree;
+#else
+		abort();
+#endif
 	}
 	
 	if (pGC->alu != GXcopy)

Reply via email to