summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRémi Cardona <remi@gentoo.org>2008-12-17 10:09:42 +0000
committerRémi Cardona <remi@gentoo.org>2008-12-17 10:09:42 +0000
commitef395eba3a0955f34992cbf00ef9d05cc5cb9b98 (patch)
tree20a258150a98445ee1213064c68a9ceb7b773eb3 /x11-drivers/xf86-video-intel/files
parentNew patch for sparc-fbsd, bug 159584. (diff)
downloadgentoo-2-ef395eba3a0955f34992cbf00ef9d05cc5cb9b98.tar.gz
gentoo-2-ef395eba3a0955f34992cbf00ef9d05cc5cb9b98.tar.bz2
gentoo-2-ef395eba3a0955f34992cbf00ef9d05cc5cb9b98.zip
x11-drivers/xf86-video-intel: add build patch (see bug #245095)
(Portage version: 2.2_rc17/cvs/Linux 2.6.27-gentoo-r2 x86_64)
Diffstat (limited to 'x11-drivers/xf86-video-intel/files')
-rw-r--r--x11-drivers/xf86-video-intel/files/2.5.1-0002-include-X11-Xmd.h-to-define-CARD16-needed-by-edid.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/x11-drivers/xf86-video-intel/files/2.5.1-0002-include-X11-Xmd.h-to-define-CARD16-needed-by-edid.patch b/x11-drivers/xf86-video-intel/files/2.5.1-0002-include-X11-Xmd.h-to-define-CARD16-needed-by-edid.patch
new file mode 100644
index 000000000000..599e21b4ae39
--- /dev/null
+++ b/x11-drivers/xf86-video-intel/files/2.5.1-0002-include-X11-Xmd.h-to-define-CARD16-needed-by-edid.patch
@@ -0,0 +1,31 @@
+From cd63414bc0efa0b9f1691e28be9ddfca9fef0486 Mon Sep 17 00:00:00 2001
+From: =?utf-8?q?R=C3=A9mi=20Cardona?= <remi@gentoo.org>
+Date: Mon, 24 Nov 2008 13:31:20 +0100
+Subject: [PATCH] include <X11/Xmd.h> to define CARD16 needed by edid.h
+
+---
+ src/bios_reader/bios_reader.c | 8 +++++---
+ 1 files changed, 5 insertions(+), 3 deletions(-)
+
+diff --git a/src/bios_reader/bios_reader.c b/src/bios_reader/bios_reader.c
+index 2a6906d..1e41778 100644
+--- a/src/bios_reader/bios_reader.c
++++ b/src/bios_reader/bios_reader.c
+@@ -38,9 +38,11 @@
+
+ #include "../i830_bios.h"
+
+-typedef uint8_t CARD8;
+-typedef uint16_t CARD16;
+-typedef uint32_t CARD32;
++/* backwards compatibility with edid.h from xorg-server 1.5 and older */
++#ifndef CARD16
++#include <X11/Xmd.h>
++#endif
++
+ #define _PARSE_EDID_
+ #include "edid.h"
+
+--
+1.6.0.4
+