patches for 64-bit Solaris 9 gconf-2.6 and mplayer



Hi Guys,

If you are compiling 64-bit, I found segv bugs with
gconfd and mplayer, I thought I will post the patches
here for you. 



	
		
__________________________________
Do you Yahoo!?
Friends.  Fun.  Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/ 
--- markup-tree.c.ORG	2004-05-18 17:32:15.620218000 -0700
+++ markup-tree.c	2004-05-18 17:32:37.747431000 -0700
@@ -3070,7 +3070,7 @@
   ParseInfo info;
   char *filename;
   char *text;
-  int length;
+  gsize length;
 
   filename = markup_dir_build_path (root, TRUE, parse_subtree);
   
diff -Nru tmp/MPlayer-1.0pre4/libvo/x11_common.c work/MPlayer-1.0pre4/libvo/x11_common.c
--- tmp/MPlayer-1.0pre4/libvo/x11_common.c	2004-04-05 14:35:30.000000000 -0700
+++ work/MPlayer-1.0pre4/libvo/x11_common.c	2004-05-25 11:26:10.593271000 -0700
@@ -659,7 +659,7 @@
 
 void vo_x11_classhint( Display * display,Window window,char *name ){
 	    XClassHint wmClass;
-	    pid_t pid=getpid();
+	    long pid=getpid();
 	    wmClass.res_name = name;
 	    wmClass.res_class = "MPlayer";
 	    XSetClassHint(display,window,&wmClass);
diff -Nru tmp/MPlayer-1.0pre4/m_config.h work/MPlayer-1.0pre4/m_config.h
--- tmp/MPlayer-1.0pre4/m_config.h	2003-08-13 09:29:00.000000000 -0700
+++ work/MPlayer-1.0pre4/m_config.h	2004-05-25 11:26:10.600496000 -0700
@@ -8,7 +8,7 @@
 
 struct m_config_save_slot {
   m_config_save_slot_t* prev;
-  int lvl;
+  long lvl;
   unsigned char data[0];
 };
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]