On Mon, Aug 01, 2005 at 04:20:28PM +0300, Mikko Rapeli wrote:
> Having spent hours reading the discussions, hopefully this link to patch
> making 1.0.6 compile on Sarge helps -- even if just a small, tiny bit:
> 
> http://lists.debian.org/debian-security/2005/07/msg00305.html

Apparently this patch is not needed. Renaming the mozilla source package
and uupdate'ing from 1.0.4 in Sarge requires only this additional patch
after original patch from 1.0.4 failed (no idea what it really does though, just
copied the functionality). Compiles, installs and runs well in Sarge.

-Mikko

--- netwerk/protocol/http/src/nsHttpHandler.cpp-original        2005-08-02 
09:40:59.000000000 +0300
+++ netwerk/protocol/http/src/nsHttpHandler.cpp 2005-08-02 09:41:04.000000000 
+0300
@@ -669,30 +669,6 @@
     if (ret >= 0) {
         nsCString buf;  
         buf =  (char*)name.sysname;
-#ifdef AIX
-        buf += ' ';
-        // AIX uname returns machine specific info in the uname.machine
-        // field and does not return the cpu type like other platforms.
-        // We use the AIX version and release numbers instead.
-        buf += (char*)name.version;
-        buf += '.';
-        buf += (char*)name.release;
-#else
-        if (strcmp(name.machine, "x86_64") == 0 &&
-            sizeof(long) == sizeof(PRInt32)) {
-            // We're running 32-bit code on x86_64. Make this browser
-            // look like it's running on i686 hardware, but append "
-            // (x86_64)" to the end of the oscpu identifier to be able
-            // to differentiate this from someone running 64-bit code
-            // on x86_64..
-
-            buf += " i686 (x86_64)";
-        } else {
-            buf += ' ';
-
-            buf += (char*)name.machine;
-        }
-#endif
         mOscpu.Assign(buf);
     }
 #endif


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to