Bug 23799 - xf86-video-intel fails to compile with xorg-server
Summary: xf86-video-intel fails to compile with xorg-server
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/intel (show other bugs)
Version: git
Hardware: All All
: medium normal
Assignee: Keith Packard
QA Contact: Xorg Project Team
Keywords: patch
Depends on:
Reported: 2009-09-08 16:24 UTC by Bernhard Rosenkraenzer
Modified: 2009-10-26 11:36 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:

Patch (9.97 KB, patch)
2009-09-08 16:39 UTC, Bernhard Rosenkraenzer
no flags Details | Splinter Review

Description Bernhard Rosenkraenzer 2009-09-08 16:24:04 UTC
xorg-server (and the related proto and lib updates) break building the intel driver (2.8.1 and git versions) because:

- shmstr.h is removed (relevant stuff like ShmFuncsPtr has moved to an xorg-server internal header, Xext/shmint.h inside the xorg-server source tree)
- xf86Resources.h is gone
- #include <X11/extensions/dpms.h> in ch7017.c fails because Display and Status aren't defined before its inclusion
- xf86RAC.h is gone, and so are the things it used to define (RAC_FB, RAC_COLORMAP, ...)
- xf86RegisterResources is gone
Comment 1 Bernhard Rosenkraenzer 2009-09-08 16:39:08 UTC
Created attachment 29342 [details] [review]

This patch makes it compile and work on my Q35, but chances are it breaks i810 and i830
Comment 2 Gordon Jin 2009-09-08 18:22:09 UTC
thanks for the patch. Keith, could you review and commit?
Comment 3 Keith Packard 2009-10-26 11:36:23 UTC
2.9 should have the necessary changes.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.