[packages/xorg-driver-video-geode] - add missing header for xf86SetModeDefaultName (fix build with -Werror=implicit-function-declaratio
baggins
baggins at pld-linux.org
Thu Jan 23 08:17:24 CET 2014
commit 5f7fc62d10dd6da192ce986172e6d4083b2bd47a
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Thu Jan 23 08:16:44 2014 +0100
- add missing header for xf86SetModeDefaultName (fix build with -Werror=implicit-function-declaration)
- rel 3
xf86SetModeDefaultName.patch | 11 +++++++++++
xorg-driver-video-geode.spec | 4 +++-
2 files changed, 14 insertions(+), 1 deletion(-)
---
diff --git a/xorg-driver-video-geode.spec b/xorg-driver-video-geode.spec
index 6dafa17..3bec94c 100644
--- a/xorg-driver-video-geode.spec
+++ b/xorg-driver-video-geode.spec
@@ -2,11 +2,12 @@ Summary: X.org video driver for AMD Geode integrated graphics chipsets
Summary(pl.UTF-8): Sterownik obrazu X.org dla zintegrowanych układów graficznych AMD Geode
Name: xorg-driver-video-geode
Version: 2.11.15
-Release: 2
+Release: 3
License: MIT
Group: X11/Applications
Source0: http://xorg.freedesktop.org/releases/individual/driver/xf86-video-geode-%{version}.tar.bz2
# Source0-md5: 7dafd19e274c771539b6d4d459423ccf
+Patch0: xf86SetModeDefaultName.patch
URL: http://xorg.freedesktop.org/
BuildRequires: autoconf >= 2.60
BuildRequires: automake
@@ -52,6 +53,7 @@ produkowanych przez firmy Cyrix i NSC. Układy:
%prep
%setup -q -n xf86-video-geode-%{version}
+%patch0 -p1
%build
%{__libtoolize}
diff --git a/xf86SetModeDefaultName.patch b/xf86SetModeDefaultName.patch
new file mode 100644
index 0000000..97d9d49
--- /dev/null
+++ b/xf86SetModeDefaultName.patch
@@ -0,0 +1,11 @@
+diff -up xf86-video-geode-2.11.14/src/geode_dcon.c.jx xf86-video-geode-2.11.14/src/geode_dcon.c
+--- xf86-video-geode-2.11.14/src/geode_dcon.c.jx 2012-11-24 05:01:15.000000000 -0500
++++ xf86-video-geode-2.11.14/src/geode_dcon.c 2013-10-25 16:19:35.950234174 -0400
+@@ -29,6 +29,7 @@
+
+ /* Includes that are used by all drivers */
+ #include <xf86.h>
++#include <xf86Modes.h>
+ #include <xf86_OSproc.h>
+ #include <compiler.h>
+
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/xorg-driver-video-geode.git/commitdiff/5f7fc62d10dd6da192ce986172e6d4083b2bd47a
More information about the pld-cvs-commit
mailing list