rpms/xorg-x11-drv-radeonhd/devel xorg-x11-drv-radeonhd-Do-not-include-sys-io.h-in-rhd_conntest.c.patch, NONE, 1.1 xorg-x11-drv-radeonhd.spec, 1.8, 1.9
Hans Ulrich Niedermann (ndim)
fedora-extras-commits at redhat.com
Tue Oct 30 19:04:34 UTC 2007
Author: ndim
Update of /cvs/pkgs/rpms/xorg-x11-drv-radeonhd/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv19244
Modified Files:
xorg-x11-drv-radeonhd.spec
Added Files:
xorg-x11-drv-radeonhd-Do-not-include-sys-io.h-in-rhd_conntest.c.patch
Log Message:
* Tue Oct 30 2007 Hans Ulrich Niedermann <hun at n-dimensional.de> - 0.0.2-0.13.20071030git
- Do not #include <sys/io.h> in rhd_conntest.c (fix PPC build).
xorg-x11-drv-radeonhd-Do-not-include-sys-io.h-in-rhd_conntest.c.patch:
--- NEW FILE xorg-x11-drv-radeonhd-Do-not-include-sys-io.h-in-rhd_conntest.c.patch ---
>From 04a2872cdb6d165f3752bd7346179e8bfb80e030 Mon Sep 17 00:00:00 2001
From: Hans Ulrich Niedermann <hun at n-dimensional.de>
Date: Tue, 30 Oct 2007 19:50:23 +0100
Subject: [PATCH] Do not include sys/io.h in rhd_conntest.c
sys/io.h is not present on PPC, and unneeded on x86 as well.
---
utils/conntest/rhd_conntest.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/utils/conntest/rhd_conntest.c b/utils/conntest/rhd_conntest.c
index 594e2f4..4fbd1b4 100644
--- a/utils/conntest/rhd_conntest.c
+++ b/utils/conntest/rhd_conntest.c
@@ -29,7 +29,6 @@
*/
#include <stdio.h>
-#include <sys/io.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
--
1.5.3.4
Index: xorg-x11-drv-radeonhd.spec
===================================================================
RCS file: /cvs/pkgs/rpms/xorg-x11-drv-radeonhd/devel/xorg-x11-drv-radeonhd.spec,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- xorg-x11-drv-radeonhd.spec 30 Oct 2007 18:29:54 -0000 1.8
+++ xorg-x11-drv-radeonhd.spec 30 Oct 2007 19:03:58 -0000 1.9
@@ -22,7 +22,7 @@
Summary: Xorg X11 radeonhd driver for AMD GPG r5xx/r6xx Chipsets
Name: xorg-x11-drv-radeonhd
Version: 0.0.2
-Release: 0.12%{?alphatag}%{?dist}
+Release: 0.13%{?alphatag}%{?dist}
License: MIT
Group: User Interface/X Hardware Support
@@ -48,6 +48,8 @@
# Needs to be applied while creating dist tarball, but still be in SRPM.
Source10: %{name}-Add-Makefile.am-for-rhd_conntest-and-build-and-inst.patch
+Patch13: xorg-x11-drv-radeonhd-Do-not-include-sys-io.h-in-rhd_conntest.c.patch
+
ExcludeArch: s390 s390x
%if 0%{snapshot}
@@ -71,6 +73,7 @@
%prep
%setup -q -n %{tarball}
+%patch13 -p1 -b .sys-io
%build
%{configure} --with-xorg-module-dir=%{moduledir} --disable-static
@@ -106,6 +109,9 @@
%{_mandir}/man4/radeonhd.4.gz
%changelog
+* Tue Oct 30 2007 Hans Ulrich Niedermann <hun at n-dimensional.de> - 0.0.2-0.13.20071030git
+- Do not #include <sys/io.h> in rhd_conntest.c (fix PPC build).
+
* Tue Oct 30 2007 Hans Ulrich Niedermann <hun at n-dimensional.de> - 0.0.2-0.12.20071030git
- New snapshot (upstream commit f3a2530cea981c6b4c88ec85093032ea152ed47f):
- #include standard headers in corner cases (supposed to fix FC6 build)
More information about the fedora-extras-commits
mailing list