rpms/xorg-x11-drv-ivtv/devel xf86-video-ivtv-1.0.1-pagesize.patch, NONE, 1.1 xorg-x11-drv-ivtv.spec, 1.6, 1.7
Chauvet (kwizart)
fedora-extras-commits at redhat.com
Thu Mar 6 19:32:44 UTC 2008
Author: kwizart
Update of /cvs/pkgs/rpms/xorg-x11-drv-ivtv/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv17343
Modified Files:
xorg-x11-drv-ivtv.spec
Added Files:
xf86-video-ivtv-1.0.1-pagesize.patch
Log Message:
- Add back xf86-video-ivtv-1.0.1-pagesize.patch
xf86-video-ivtv-1.0.1-pagesize.patch:
--- NEW FILE xf86-video-ivtv-1.0.1-pagesize.patch ---
Index: src/ivtv_hw.c
===================================================================
--- src/ivtv_hw.c (revision 4104)
+++ src/ivtv_hw.c (working copy)
@@ -54,7 +54,6 @@
#include "xf86cmap.h"
-#include "asm/page.h" /* #define for PAGE_* */
#include "globals.h"
#define DPMS_SERVER
#include <X11/extensions/dpms.h>
@@ -570,7 +569,7 @@
ivtvHWMapVidmem(ScrnInfoPtr pScrn)
{
ivtvHWPtr hwPtr = IVTVDEVHWPTR(pScrn);
- long page_mask = ~(sysconf(_SC_PAGESIZE) - 1);
+ long page_mask = ~(getpagesize() - 1);
TRACE_ENTER("MapVidmem");
if (NULL == hwPtr->fbmem) {
Index: xorg-x11-drv-ivtv.spec
===================================================================
RCS file: /cvs/pkgs/rpms/xorg-x11-drv-ivtv/devel/xorg-x11-drv-ivtv.spec,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- xorg-x11-drv-ivtv.spec 6 Mar 2008 19:19:10 -0000 1.6
+++ xorg-x11-drv-ivtv.spec 6 Mar 2008 19:32:08 -0000 1.7
@@ -1,12 +1,13 @@
Name: xorg-x11-drv-ivtv
Version: 1.0.1
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Xorg X11 ivtv video driver
Group: User Interface/X Hardware Support
License: MIT
URL: http://ivtvdriver.org
Source0: http://dl.ivtvdriver.org/xf86-video-ivtv/archive/1.0.x/xf86-video-ivtv-%{version}.tar.gz
+Patch0: xf86-video-ivtv-1.0.1-pagesize.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: xorg-x11-server-sdk >= 1.3.0.0-6
@@ -20,6 +21,7 @@
%prep
%setup -q -n xf86-video-ivtv-%{version}
+%patch0 -p0 -b .pagesize
#sh autogen.sh
%build
@@ -44,6 +46,9 @@
%changelog
+* Thu Mar 6 2008 kwizart < kwizart at gmail.com > - 1.0.1-2
+- Add back xf86-video-ivtv-1.0.1-pagesize.patch
+
* Thu Mar 6 2008 kwizart < kwizart at gmail.com > - 1.0.1-1
- Update to 1.0.1 (final)
More information about the fedora-extras-commits
mailing list