open-src/driver/xf86-video-s3/newmmio.patch
changeset 606 068c11b419c9
parent 605 e5259db5befc
child 607 261c0d718d67
equal deleted inserted replaced
605:e5259db5befc 606:068c11b419c9
     1 commit 9465c594e919bd2ac3e41ac96e72a432daf81fa7
       
     2 Author: Alan Coopersmith <[email protected]>
       
     3 Date:   Tue Jan 9 19:33:45 2007 -0800
       
     4 
       
     5     Was previously done in monolith Imakefile as:
       
     6     SpecialCObjectRule(s3_video,$(_NOOP_), -DS3_NEWMMIO)
       
     7     
       
     8     Needed to get definitions of GET_PSTREAM_*, GET_SSTREAM_*, etc.
       
     9 
       
    10 diff --git a/src/s3_video.c b/src/s3_video.c
       
    11 index 77f4930..8189fdf 100644
       
    12 --- a/src/s3_video.c
       
    13 +++ b/src/s3_video.c
       
    14 @@ -30,6 +30,8 @@ #ifdef HAVE_CONFIG_H
       
    15  #include "config.h"
       
    16  #endif
       
    17  
       
    18 +#define S3_NEWMMIO	/* previously defined in Imakefile in monolith */
       
    19 +
       
    20  #include "xf86.h"
       
    21  #include "xf86_OSproc.h"
       
    22