[xorg-bugzilla-noise] [Bug 804] New: DRI merge broke build of via driver on non-DRI platforms

bugzilla-daemon at pdx.freedesktop.org bugzilla-daemon at pdx.freedesktop.org
Sat Jun 26 12:06:32 PDT 2004


Please do not reply to this email: if you want to comment on the bug, go to     
the URL shown below and enter your comments there.  
  
http://freedesktop.org/bugzilla/show_bug.cgi?id=804   
   
           Summary: DRI merge broke build of via driver on non-DRI platforms
           Product: xorg
           Version: CVS_head
          Platform: PC
        OS/Version: Solaris
            Status: NEW
          Severity: major
          Priority: P2
         Component: Driver/Via
        AssignedTo: xorg-bugzilla-noise at freedesktop.org
        ReportedBy: alan.coopersmith at sun.com
                CC: eta at lclark.edu


The DRI merge added #include <drm.h> to hw/xfree86/os-support/xf86drm.h

Unfortunately, the VIA driver was including that file in non-DRI builds,
which now fail with many errors of undefined structures.

It seems simply adding #ifdef XF86DRI to the appropriate places allows the
driver to build, but I don't know enough about the driver to know if this
will break anything, nor do I have any VIA hardware handy to test with, so
I'll simply attach the patch that allowed me to build and let someone else
evaluate it.   
   
--    
Configure bugmail: http://freedesktop.org/bugzilla/userprefs.cgi?tab=email   
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the xorg-bugzilla-noise mailing list