[PATCH] xextproto 7.1 support update to the source code (xorg-driver-ati Digest, Vol 115, Issue 19)
Connor Behan
connor.behan at gmail.com
Fri Mar 18 15:50:56 UTC 2016
On 16/03/16 09:59 PM, Kevin Brace wrote:
> While the compilation script was updated, for some reason, the source
> code did not get the update.
>
> Signed-off-by: Kevin Brace <kevinbrace at gmx.com>
Reviewed-by: Connor Behan <connor.behan at gmail.com>
> ---
> src/r128_crtc.c | 6 ++++++
> src/r128_output.c | 6 ++++++
> 2 files changed, 12 insertions(+)
>
> diff --git a/src/r128_crtc.c b/src/r128_crtc.c
> index d62cc6a..ed77492 100644
> --- a/src/r128_crtc.c
> +++ b/src/r128_crtc.c
> @@ -35,7 +35,13 @@
>
> #include "xf86.h"
> #include "xf86Modes.h"
> +
> +#ifdef HAVE_XEXTPROTO_71
> #include "X11/extensions/dpmsconst.h"
> +#else
> +#define DPMS_SERVER
> +#include "X11/extensions/dpms.h"
> +#endif
>
> #include "r128.h"
> #include "r128_probe.h"
> diff --git a/src/r128_output.c b/src/r128_output.c
> index a2c754b..73b4af2 100644
> --- a/src/r128_output.c
> +++ b/src/r128_output.c
> @@ -35,7 +35,13 @@
>
> #include "xf86.h"
> #include "xf86Modes.h"
> +
> +#ifdef HAVE_XEXTPROTO_71
> #include "X11/extensions/dpmsconst.h"
> +#else
> +#define DPMS_SERVER
> +#include "X11/extensions/dpms.h"
> +#endif
>
> #include "r128.h"
> #include "r128_probe.h"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <https://lists.x.org/archives/xorg-driver-ati/attachments/20160318/a5c70394/attachment.sig>
More information about the xorg-driver-ati
mailing list