summary refs log tree commit diff
path: root/gnu/packages/patches/xf86-video-openchrome-glibc-2.20.patch
diff options
context:
space:
mode:
authorMark H Weaver <mhw@netris.org>2014-12-19 21:04:35 -0500
committerMark H Weaver <mhw@netris.org>2014-12-19 23:28:16 -0500
commit3d7d909c9da0545eb6b9b98bf63335a76eea037b (patch)
tree4286fbb7c064e434cca22d5446784377e159b635 /gnu/packages/patches/xf86-video-openchrome-glibc-2.20.patch
parentfc7a0cf6785b2134ca8c07aa98e6f0c6dfa811ba (diff)
downloadguix-3d7d909c9da0545eb6b9b98bf63335a76eea037b.tar.gz
gnu: xf86-video-openchrome: Update to 0.3.3.
* gnu/packages/patches/xf86-video-openchrome-includes.patch: Remove.
* gnu/packages/patches/xf86-video-openchrome-glibc-2.20.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it and remove the other.
* gnu/packages/xorg.scm (xf86-video-openchrome): Update to 0.3.3.
  Add one patch and remove the other.
Diffstat (limited to 'gnu/packages/patches/xf86-video-openchrome-glibc-2.20.patch')
-rw-r--r--gnu/packages/patches/xf86-video-openchrome-glibc-2.20.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/gnu/packages/patches/xf86-video-openchrome-glibc-2.20.patch b/gnu/packages/patches/xf86-video-openchrome-glibc-2.20.patch
new file mode 100644
index 0000000000..4ed7ab00bf
--- /dev/null
+++ b/gnu/packages/patches/xf86-video-openchrome-glibc-2.20.patch
@@ -0,0 +1,15 @@
+Allow builds with glibc 2.20.
+Based on a patch by Peter Hutterer <peter.hutterer@who-t.net>.
+See <https://raw.githubusercontent.com/openembedded/oe-core/master/meta/recipes-graphics/xorg-driver/xf86-input-synaptics/always_include_xorg_server.h.patch>.
+
+--- xf86-video-openchrome-0.3.3/src/via_3d.h.~1~	2013-05-23 11:11:28.000000000 -0400
++++ xf86-video-openchrome-0.3.3/src/via_3d.h	2014-12-19 01:17:04.000953259 -0500
+@@ -24,6 +24,8 @@
+ #ifndef VIA_3D_H
+ #define VIA_3D_H
+ 
++#include <xorg-server.h>
++
+ #include "xf86.h"
+ #include "via_dmabuffer.h"
+