rpms/kdelibs/devel kdelibs-4.2.1-css.patch, NONE, 1.1 kdelibs.spec, 1.452, 1.453

Than Ngo than at fedoraproject.org
Mon Mar 9 22:36:18 UTC 2009


Author: than

Update of /cvs/extras/rpms/kdelibs/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv8869

Modified Files:
	kdelibs.spec 
Added Files:
	kdelibs-4.2.1-css.patch 
Log Message:
apply patch to fix issue in CSS style that causes konqueror shows a blank page


kdelibs-4.2.1-css.patch:

--- NEW FILE kdelibs-4.2.1-css.patch ---
--- kdelibs/khtml/ecma/kjs_css.cpp	2009/02/07 18:21:18	922888
+++ 4.2/kdelibs/khtml/ecma/kjs_css.cpp	2009/03/09 14:38:22	937328
@@ -222,12 +222,12 @@
   CSSStyleDeclarationImpl &styleDecl = *m_impl;
 
   if (propertyName == "cssText") {
-    styleDecl.setCssText(value->toString(exec).domString());
+    styleDecl.setCssText(valueToStringWithNullCheck(exec, value));
   }
   else {
     bool pxSuffix;
     QString prop = cssPropertyName(propertyName, &pxSuffix);
-    QString propvalue = value->toString(exec).qstring();
+    QString propvalue = valueToStringWithNullCheck(exec, value).string();
 
     if (pxSuffix)
       propvalue += QLatin1String("px");


Index: kdelibs.spec
===================================================================
RCS file: /cvs/extras/rpms/kdelibs/devel/kdelibs.spec,v
retrieving revision 1.452
retrieving revision 1.453
diff -u -r1.452 -r1.453
--- kdelibs.spec	4 Mar 2009 19:12:01 -0000	1.452
+++ kdelibs.spec	9 Mar 2009 22:35:47 -0000	1.453
@@ -1,6 +1,6 @@
 Summary: K Desktop Environment 4 - Libraries
 Version: 4.2.1
-Release: 4%{?dist}
+Release: 5%{?dist}
 
 %if 0%{?fedora} > 8
 Name: kdelibs
@@ -85,6 +85,7 @@
 
 # upstream
 # 4.2 branch
+Patch100: kdelibs-4.2.1-css.patch
 
 # 4.3 branch
 Patch200: kdelibs-4.1.96-AllowExternalPaths.patch
@@ -221,6 +222,7 @@
 
 # upstream patches
 # 4.2
+%patch100 -p1 -b .css-style
 
 # 4.3
 %patch200 -p1 -b .AllowExternalPaths
@@ -397,6 +399,9 @@
 
 
 %changelog
+* Mon Mar 09 2009 Than Ngo <than at redhat.com> - 4.2.1-5
+- apply patch to fix issue in CSS style that causes konqueror shows a blank page
+
 * Wed Mar 05 2009 Rex Dieter <rdieter at fedorproject.org> - 4.2.1-4 
 - move designer plugins to main/runtime (#487622)
 




More information about the fedora-extras-commits mailing list