packages: chromium-browser/chromium_useragent.patch.in - update to 11.0.691...

glen glen at pld-linux.org
Fri Mar 4 20:15:38 CET 2011


Author: glen                         Date: Fri Mar  4 19:15:38 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- update to 11.0.691.0~svn20110304r76865

---- Files affected:
packages/chromium-browser:
   chromium_useragent.patch.in (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: packages/chromium-browser/chromium_useragent.patch.in
diff -u packages/chromium-browser/chromium_useragent.patch.in:1.1 packages/chromium-browser/chromium_useragent.patch.in:1.2
--- packages/chromium-browser/chromium_useragent.patch.in:1.1	Fri Mar  4 17:53:41 2011
+++ packages/chromium-browser/chromium_useragent.patch.in	Fri Mar  4 20:15:32 2011
@@ -1,17 +1,6 @@
----
- webkit/glue/user_agent.cc |    9 ++++++++-
- 1 file changed, 8 insertions(+), 1 deletion(-)
-
-Index: src/webkit/glue/user_agent.cc
-===================================================================
---- src.orig/webkit/glue/user_agent.cc
-+++ src/webkit/glue/user_agent.cc
-@@ -97,24 +97,31 @@
-       "?";
- #endif
- 
-   // Get the product name and version, and replace Safari's Version/X string
-   // with it.  This is done to expose our product name in a manner that is
+--- chromium-browser-11.0.691.0~svn20110304r76865/src/webkit/glue/user_agent.cc~	2011-03-04 05:00:41.000000000 +0200
++++ chromium-browser-11.0.691.0~svn20110304r76865/src/webkit/glue/user_agent.cc	2011-03-04 18:55:33.180524092 +0200
+@@ -102,15 +102,22 @@
    // maximally compatible with Safari, we hope!!
    std::string product = GetProductVersion();
  
@@ -24,18 +13,14 @@
    // Derived from Safari's UA string.
    base::StringAppendF(
        result,
-       "Mozilla/5.0 (%s; %s) AppleWebKit/%d.%d"
+       "Mozilla/5.0 (%s%s) AppleWebKit/%d.%d"
 -      " (KHTML, like Gecko) %s Safari/%d.%d",
 +      " (KHTML, like Gecko) @BUILD_DIST_NAME@/@BUILD_DIST_VERSION@ %s %s Safari/%d.%d",
-       mimic_windows ? "Windows" : kUserAgentPlatform,
-       ((mimic_windows ? "Windows " : "") + BuildOSCpuInfo()).c_str(),
+       mimic_windows ? "Windows " : kUserAgentPlatform,
+       BuildOSCpuInfo().c_str(),
        WEBKIT_VERSION_MAJOR,
        WEBKIT_VERSION_MINOR,
 +      realproduct.c_str(),
        product.c_str(),
        WEBKIT_VERSION_MAJOR,
        WEBKIT_VERSION_MINOR);
- }
- 
- }  // namespace webkit_glue
- 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/chromium-browser/chromium_useragent.patch.in?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list