6789219 xterm, xfd take long time to start when miss fonts
authorXue Wei <Wei.Xue@Sun.COM>
Wed, 07 Jan 2009 20:19:32 -0800
changeset 604 6fe48a3a12bf
parent 603 c226247490b2
child 605 e5259db5befc
6789219 xterm, xfd take long time to start when miss fonts 6714036 xterm(1) in snv_91 doesn't allow pasting more than 1024 bytes
open-src/lib/libX11/6714036.patch
open-src/lib/libX11/6789219.patch
open-src/lib/libX11/Makefile
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/open-src/lib/libX11/6714036.patch	Wed Jan 07 20:19:32 2009 -0800
@@ -0,0 +1,12 @@
+--- modules/lc/gen/lcGenConv.c	Thu May 17 06:53:58 2007
++++ modules/lc/gen/lcGenConv.c	Tue Dec 23 19:40:33 2008
+@@ -1786,9 +1786,6 @@
+         return( 0 );
+     }
+ 
+-    if (*from_left > *to_left)
+-        *from_left = *to_left;
+-
+     while (*from_left && *to_left) {
+ 
+ 	ch = *inbufptr++;
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/open-src/lib/libX11/6789219.patch	Wed Jan 07 20:19:32 2009 -0800
@@ -0,0 +1,20 @@
+--- modules/om/generic/omGeneric.c	Tue Dec 23 22:27:59 2008
++++ modules/om/generic/omGeneric.c	Fri Dec 26 06:58:18 2008
+@@ -864,7 +864,7 @@
+ 	return True;
+ 
+     /* This may mot be needed anymore as XListFonts() takes care of this */
+-    while (num_fields < 12) {
++/*    while (num_fields < 12) {
+ 	if ((last - buf) > (XLFD_MAX_LEN - 2))
+ 	    return -1;
+ 	*last = '*';
+@@ -875,7 +875,7 @@
+ 	if ((font_data->xlfd_name = get_font_name(oc, buf)) != NULL)
+ 	    return True;	    
+     }
+-    
++ */   
+ 
+     return False;
+ }
--- a/open-src/lib/libX11/Makefile	Tue Dec 23 21:34:00 2008 -0800
+++ b/open-src/lib/libX11/Makefile	Wed Jan 07 20:19:32 2009 -0800
@@ -30,7 +30,7 @@
 # or other dealings in this Software without prior written authorization
 # of the copyright holder.
 #
-# @(#)Makefile	1.15	08/10/07
+# @(#)Makefile	1.17	08/12/30
 #
 
 # Package name used in tarballs
@@ -64,7 +64,9 @@
 	6691236.patch \
 	6691219.patch \
 	6657999.patch \
-	6715568.patch
+	6715568.patch \
+	6714036.patch \
+	6789219.patch
 
 # Library name (used for specfiles/mapfiles)
 LIBNAME=X11