> From: pomidorabelisima <[EMAIL PROTECTED]>
> CentOS release 4.4 (Final):
> 
> rpm -i xorg-x11-6.8.2-1.EL.13.37.5.src.rpm
> rpmbuild -bc /usr/src/redhat/SPECS/xorg-x11.spec
> cd trunk/src
> xmkmf /usr/src/redhat/BUILD/xorg-x11-6.8.2/xc
> make
> ..
> ivtvdev.c: In function `IVTVshadowUpdatePacked':
> ivtvdev.c:171: error: structure has no member named
> `pDamage'
> ivtvdev.c:171: warning: initialization makes pointer
> from integer
> without a cast
> make: *** [ivtvdev.o] Error 1
> 
> ivtv:  version 0.4.10 (tagged release)
> 
> X Window System Version 6.8.2
> Release Date: 9 February 2005
> X Protocol Version 11, Revision 0, Release 6.8.2
> Build Operating System: Linux 2.6.9-42.0.3.ELsmp
i686
> [ELF]
> Current Operating System: Linux pomasoh.net
> 2.6.9-42.0.8.plus.c4 #1 Wed
> Jan 31 09:13:16 EST 2007 i686
> Build Date: 11 January 2007
> Build Host:
> 
>         Before reporting problems, check
> http://wiki.X.Org
>         to make sure that you have the latest
version.
> Module Loader present
> OS Kernel: Linux version 2.6.9-42.0.8.plus.c4
> ([EMAIL PROTECTED]) (gcc version 3.4.6
> 20060404 (Red Hat
> 3.4.6-3)) #1 Wed Jan 31 09:13:16 EST 2007 PF

/usr/X11R6/lib/modules/drivers/ivtvdev_drv.o

w/ multiple warnings;
dmesg:
..
ivtv1 warning: prep_user_dma: SG_length 400 page_count
400 still full?
ivtv1-osd warning: ivtvfb_prep_dec_dma_to_device,
Error with
get_user_pages: 262144 bytes, 400 pages returned
ivtv1-osd warning: Error: prep osd dma to device rc=-5
ivtv1-osd warning: DMA xfer from b72c795c of 262144
bytes failed with
(-5) offset = 0x4c954, total 575828
..

but hey, it's working
patch is in attach :)



 
____________________________________________________________________________________
Sucker-punch spam with award-winning protection. 
Try the free Yahoo! Mail Beta.
http://advision.webevents.yahoo.com/mailbeta/features_spam.html
diff -Naur trunk/src/ivtvdev.c trunk_rhel4/src/ivtvdev.c
--- trunk/src/ivtvdev.c	2007-02-17 14:21:08.000000000 +0100
+++ trunk_rhel4/src/ivtvdev.c	2007-02-18 14:23:14.000000000 +0100
@@ -125,9 +125,7 @@
 
 #ifdef XFree86LOADER
 MODULESETUPPROTO(IVTVDevSetup);
-#ifdef XORG_VERSION_CURRENT
-#define IVTV_X_VERSION XORG_VERSION_CURRENT
-#else
+#ifdef XF86_VERSION_CURRENT
 #define IVTV_X_VERSION XF86_VERSION_CURRENT
 #endif
 
@@ -167,9 +165,7 @@
 static void IVTVshadowUpdatePacked(ScreenPtr pScreen, shadowBufPtr pBuf)
 {
 
-#ifdef XORG_VERSION_CURRENT
-        RegionPtr damage = DamageRegion(pBuf->pDamage)    ;
-#else
+#ifdef XF86_VERSION_CURRENT
         RegionPtr damage = &pBuf->damage;
 #endif
 	int nbox = REGION_NUM_RECTS(damage);
diff -Naur trunk/src/ivtv_xv.c trunk_rhel4/src/ivtv_xv.c
--- trunk/src/ivtv_xv.c	2007-02-17 14:21:08.000000000 +0100
+++ trunk_rhel4/src/ivtv_xv.c	2007-02-18 14:15:24.000000000 +0100
@@ -934,7 +934,7 @@
 			args.src_h = src_h;
                         args.dst_h = drw_h;
                         args.srcBuf_height = height;
-			args.yuv_type = V4L2_PIX_FMT_HM12;
+/*			args.yuv_type = V4L2_PIX_FMT_HM12; */
 		}
 		break;
 	default:

--------------050404070902080707030608--
_______________________________________________
ivtv-devel mailing list
ivtv-devel@ivtvdriver.org
http://ivtvdriver.org/mailman/listinfo/ivtv-devel

Reply via email to