diff options
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/patches/xf86-video-openchrome-includes.patch | 35 | ||||
| -rw-r--r-- | gnu/packages/xorg.scm | 3 |
2 files changed, 37 insertions, 1 deletions
diff --git a/gnu/packages/patches/xf86-video-openchrome-includes.patch b/gnu/packages/patches/xf86-video-openchrome-includes.patch new file mode 100644 index 00000000000..3c795963877 --- /dev/null +++ b/gnu/packages/patches/xf86-video-openchrome-includes.patch | |||
| @@ -0,0 +1,35 @@ | |||
| 1 | This follows the same rationale as xf86-input-synaptics-glibc-2.20.patch | ||
| 2 | to allow building with glibc-2.20. | ||
| 3 | diff -u -r xf86-video-openchrome-0.2.906.old/src/via_3d.h xf86-video-openchrome-0.2.906/src/via_3d.h | ||
| 4 | --- xf86-video-openchrome-0.2.906.old/src/via_3d.h 2014-11-23 14:04:58.000000000 +0100 | ||
| 5 | +++ xf86-video-openchrome-0.2.906/src/via_3d.h 2014-11-23 14:18:37.000000000 +0100 | ||
| 6 | @@ -24,6 +24,7 @@ | ||
| 7 | #ifndef VIA_3D_H | ||
| 8 | #define VIA_3D_H | ||
| 9 | |||
| 10 | +#include "xorg-server.h" | ||
| 11 | #include "xf86.h" | ||
| 12 | #include "via_dmabuffer.h" | ||
| 13 | |||
| 14 | diff -u -r xf86-video-openchrome-0.2.906.old/src/via_driver.h xf86-video-openchrome-0.2.906/src/via_driver.h | ||
| 15 | --- xf86-video-openchrome-0.2.906.old/src/via_driver.h 2014-11-23 14:04:58.000000000 +0100 | ||
| 16 | +++ xf86-video-openchrome-0.2.906/src/via_driver.h 2014-11-23 14:21:43.000000000 +0100 | ||
| 17 | @@ -35,6 +35,7 @@ | ||
| 18 | #endif | ||
| 19 | |||
| 20 | #include "vgaHW.h" | ||
| 21 | +#include "xorg-server.h" | ||
| 22 | #include "xf86.h" | ||
| 23 | |||
| 24 | #if GET_ABI_MAJOR(ABI_VIDEODRV_VERSION) < 6 | ||
| 25 | diff -u -r xf86-video-openchrome-0.2.906.old/src/via_timing.h xf86-video-openchrome-0.2.906/src/via_timing.h | ||
| 26 | --- xf86-video-openchrome-0.2.906.old/src/via_timing.h 2014-11-23 14:04:58.000000000 +0100 | ||
| 27 | +++ xf86-video-openchrome-0.2.906/src/via_timing.h 2014-11-23 14:20:50.000000000 +0100 | ||
| 28 | @@ -25,6 +25,7 @@ | ||
| 29 | #ifndef _TIMING_H_ | ||
| 30 | #define _TIMING_H_ | ||
| 31 | |||
| 32 | +#include "xorg-server.h" | ||
| 33 | #include "xf86.h" | ||
| 34 | |||
| 35 | /* Aspect ratio not CVT standard */ | ||
diff --git a/gnu/packages/xorg.scm b/gnu/packages/xorg.scm index 41c6a039325..292845c64e9 100644 --- a/gnu/packages/xorg.scm +++ b/gnu/packages/xorg.scm | |||
| @@ -2843,7 +2843,8 @@ kernel mode setting (KMS).") | |||
| 2843 | ".tar.bz2")) | 2843 | ".tar.bz2")) |
| 2844 | (sha256 | 2844 | (sha256 |
| 2845 | (base32 | 2845 | (base32 |
| 2846 | "0hgzn1r7ig94xbr9dvq0bp1nxqlfp2ki8823jca3f22a2kf8wmg7")))) | 2846 | "0hgzn1r7ig94xbr9dvq0bp1nxqlfp2ki8823jca3f22a2kf8wmg7")) |
| 2847 | (patches (list (search-patch "xf86-video-openchrome-includes.patch"))))) | ||
| 2847 | (build-system gnu-build-system) | 2848 | (build-system gnu-build-system) |
| 2848 | (inputs `(("libx11" ,libx11) | 2849 | (inputs `(("libx11" ,libx11) |
| 2849 | ("libxext" ,libxext) | 2850 | ("libxext" ,libxext) |
