[packages/xorg-driver-video-openchrome] - fix building with xserver 1.17 - rel 5
baggins
baggins at pld-linux.org
Sun Feb 22 18:53:13 CET 2015
commit f9f24d87df8bd532fd4c848f632476127a0be770
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Sun Feb 22 15:16:56 2015 +0100
- fix building with xserver 1.17
- rel 5
build-fix.patch | 11 +++++++++++
xorg-driver-video-openchrome.spec | 2 ++
2 files changed, 13 insertions(+)
---
diff --git a/xorg-driver-video-openchrome.spec b/xorg-driver-video-openchrome.spec
index 77c62e2..7e16a74 100644
--- a/xorg-driver-video-openchrome.spec
+++ b/xorg-driver-video-openchrome.spec
@@ -7,6 +7,7 @@ License: MIT
Group: X11/Applications
Source0: http://xorg.freedesktop.org/releases/individual/driver/xf86-video-openchrome-%{version}.tar.bz2
# Source0-md5: f21abcdf87f73b5b547491281e894c87
+Patch0: build-fix.patch
URL: http://www.openchrome.org/
BuildRequires: Mesa-libGL-devel
BuildRequires: autoconf >= 2.57
@@ -79,6 +80,7 @@ Obsługuje układy VIA:
%prep
%setup -q -n xf86-video-openchrome-%{version}
+%patch0 -p1
%build
%{__libtoolize}
diff --git a/build-fix.patch b/build-fix.patch
new file mode 100644
index 0000000..9be6e14
--- /dev/null
+++ b/build-fix.patch
@@ -0,0 +1,11 @@
+diff -up xf86-video-openchrome-0.3.3/src/via_3d.h~ xf86-video-openchrome-0.3.3/src/via_3d.h
+--- xf86-video-openchrome-0.3.3/src/via_3d.h~ 2013-05-23 17:11:28.000000000 +0200
++++ xf86-video-openchrome-0.3.3/src/via_3d.h 2015-02-11 17:29:30.135382604 +0100
+@@ -24,6 +24,7 @@
+ #ifndef VIA_3D_H
+ #define VIA_3D_H
+
++#include "xorg-server.h"
+ #include "xf86.h"
+ #include "via_dmabuffer.h"
+
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/xorg-driver-video-openchrome.git/commitdiff/f9f24d87df8bd532fd4c848f632476127a0be770
More information about the pld-cvs-commit
mailing list