SOURCES: xorg-driver-video-apm-buildfix.patch (NEW) - fix error: '...
hawk
hawk at pld-linux.org
Sat Feb 2 11:35:42 CET 2008
Author: hawk Date: Sat Feb 2 10:35:42 2008 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- fix error: 'SecurityReadAccess' undeclared (first use in this function)
---- Files affected:
SOURCES:
xorg-driver-video-apm-buildfix.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/xorg-driver-video-apm-buildfix.patch
diff -u /dev/null SOURCES/xorg-driver-video-apm-buildfix.patch:1.1
--- /dev/null Sat Feb 2 11:35:42 2008
+++ SOURCES/xorg-driver-video-apm-buildfix.patch Sat Feb 2 11:35:37 2008
@@ -0,0 +1,30 @@
+diff -ur xf86-video-apm-1.1.1.orig/src/apm_rush.c xf86-video-apm-1.1.1/src/apm_rush.c
+--- xf86-video-apm-1.1.1.orig/src/apm_rush.c 2005-07-11 04:29:44.000000000 +0200
++++ xf86-video-apm-1.1.1/src/apm_rush.c 2008-02-02 11:22:52.511329246 +0100
+@@ -426,7 +426,7 @@
+ rep.sequenceNumber = client->sequence;
+ pix = (PixmapPtr)SecurityLookupIDByType(client,
+ stuff->pixmap, RT_PIXMAP,
+- SecurityReadAccess);
++ DixReadAccess);
+ rep.addr = xf86RushLockPixmap(stuff->screen, pix);
+
+ WriteToClient(client, SIZEOF(xXF86RushLockPixmapReply), (char*)&rep);
+@@ -445,7 +445,7 @@
+ REQUEST_SIZE_MATCH(xXF86RushUnlockPixmapReq);
+ pix = (PixmapPtr)SecurityLookupIDByType(client,
+ stuff->pixmap, RT_PIXMAP,
+- SecurityReadAccess);
++ DixReadAccess);
+ xf86RushUnlockPixmap(stuff->screen, pix);
+ return client->noClientException;
+ }
+@@ -577,7 +577,7 @@
+
+ pPixmap = (PixmapPtr)SecurityLookupIDByType(client,
+ stuff->pixmap, RT_PIXMAP,
+- SecurityReadAccess);
++ DixReadAccess);
+ if (!pPixmap) {
+ client->errorValue = stuff->pixmap;
+ return (BadPixmap);
================================================================
More information about the pld-cvs-commit
mailing list