SOURCES: libdvb-gcc4.patch (NEW) - build fixes.

pluto pluto at pld-linux.org
Fri Dec 30 10:07:12 CET 2005


Author: pluto                        Date: Fri Dec 30 09:07:12 2005 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- build fixes.

---- Files affected:
SOURCES:
   libdvb-gcc4.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/libdvb-gcc4.patch
diff -u /dev/null SOURCES/libdvb-gcc4.patch:1.1
--- /dev/null	Fri Dec 30 10:07:12 2005
+++ SOURCES/libdvb-gcc4.patch	Fri Dec 30 10:07:07 2005
@@ -0,0 +1,52 @@
+--- libdvb-0.5.5.1/dvb-mpegtools/show_dvb_image.c.orig	2005-03-22 13:23:25.000000000 +0000
++++ libdvb-0.5.5.1/dvb-mpegtools/show_dvb_image.c	2005-12-30 09:22:02.005433224 +0000
+@@ -71,7 +71,7 @@
+ 		return;
+ 	}
+ 
+-	printf("read: %d bytes\n",read(filefd,sp.iFrame,sp.size));
++	printf("read: %Zd bytes\n",read(filefd,sp.iFrame,sp.size));
+ 	videoStillPicture(fd,&sp);
+ 
+ 	sleep(ti);
+--- libdvb-0.5.5.1/libdvbmpeg/ringbuffy.c.orig	2005-03-22 13:23:25.000000000 +0000
++++ libdvb-0.5.5.1/libdvbmpeg/ringbuffy.c	2005-12-30 09:04:04.393255176 +0000
+@@ -19,6 +19,7 @@
+ */
+ 
+ #include "ringbuffy.h"
++#include <string.h>
+ 
+ int ring_init (ringbuffy *rbuf, int size)
+ {
+--- libdvb-0.5.5.1/libdvbmpeg/transform.c.orig	2005-03-22 13:23:25.000000000 +0000
++++ libdvb-0.5.5.1/libdvbmpeg/transform.c	2005-12-30 09:18:31.636414176 +0000
+@@ -2556,7 +2556,7 @@
+ 					      get_vinfo( pay, l,&p->vi,1)+1) >0
+ 						){
+ 						vpts = trans_pts_dts(sb+9);
+-						vpos = (int)(l-count+pay);
++						vpos = (int)(l-count+(long)pay);
+ 						printf("vpts : %fs\n",
+ 						       vpts/90000.);
+ 					}
+@@ -2573,7 +2573,7 @@
+ 					      get_ac3info( pay, l,&p->ai,1)+1) >0
+ 						){
+ 						apts = trans_pts_dts(sb+9);
+-						apos = (int)(l-count+pay);
++						apos = (int)(l-count+(long)pay);
+ 						printf("apts : %fs\n",
+ 						       apts/90000.);
+ 					}
+--- libdvb-0.5.5.1/sample_progs/cam_menu.cc.orig	2005-03-22 13:23:25.000000000 +0000
++++ libdvb-0.5.5.1/sample_progs/cam_menu.cc	2005-12-30 09:20:16.720438976 +0000
+@@ -46,7 +46,7 @@
+ 
+ void byebye(int i, void *f)
+ {
+-	int fd = (int) f;
++	int fd = (long) f;
+ 
+ 	CamPacket cp(fd, CMENU_CLOSE, 0, NULL);
+ 	cp.psend();
================================================================


More information about the pld-cvs-commit mailing list