pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/48749: www/firefox and www/seamonkey have a NetBSD specific patch



The following reply was made to PR pkg/48749; it has been noted by GNATS.

From: Ryo ONODERA <ryo_on%yk.rim.or.jp@localhost>
To: gnats-bugs%NetBSD.org@localhost, schaecsn%gmx.net@localhost
Cc: 
Subject: Re: pkg/48749: www/firefox and www/seamonkey have a NetBSD
 specific patch
Date: Thu, 17 Apr 2014 09:03:44 +0900 (JST)

 From: Stefan Schaeckeler <schaecsn%gmx.net@localhost>, Date: Wed, 16 Apr 2014 
16:10:01 +0000 (UTC)
 
 > The following reply was made to PR pkg/48749; it has been noted by GNATS.
 > 
 > From: Stefan Schaeckeler <schaecsn%gmx.net@localhost>
 > To: gnats-bugs%NetBSD.org@localhost
 > Cc: 
 > Subject: Re: pkg/48749: www/firefox and www/seamonkey have a NetBSD
 >  specific patch
 > Date: Wed, 16 Apr 2014 09:07:22 -0700 (PDT)
 > 
 >  Oh, then the patch is FreeBSD specific and happens to work on NetBSD but 
 > not on Linux?
 >  
 >  My libc:
 >  
 >  # ls -l /usr/lib/libc[.-]*so*
 >  -rw-r--r-- 1 root root 238 2009-04-03 02:49 /usr/lib/libc.so
 >  
 >  # cat /usr/lib/libc.so
 >  /* GNU ld script
 >     Use the shared library, but some functions are only in
 >     the static library, so try that secondarily.  */
 >  OUTPUT_FORMAT(elf32-i386)
 >  GROUP ( /lib/libc.so.6 /usr/lib/libc_nonshared.a  AS_NEEDED ( 
 > /lib/ld-linux.so.2 ) )
 >  
 >  
 >  # ls -l /lib/libc[.-]*so*
 >  -rwxr-xr-x 1 root root 1658350 2009-04-03 03:00 /lib/libc-2.9.so
 >  lrwxrwxrwx 1 root root      11 2013-08-06 19:01 /lib/libc.so.6 -> 
 > libc-2.9.so
 >  
 >  
 >  Programms are usually linked against /lib/libc.so.6, e.g.:
 >  
 >  # ldd /usr/local/bin/firefox 
 >    linux-gate.so.1 =>  (0xffffe000)
 >    libpthread.so.0 => /lib/libpthread.so.0 (0xb7869000)
 >    libnspr4.so => /usr/local/lib/nspr/libnspr4.so (0xb7837000)
 >    libstdc++.so.6 => /usr/local/gcc47/lib/./libstdc++.so.6 (0xb774e000)
 >    libm.so.6 => /lib/libm.so.6 (0xb7728000)
 >    libgcc_s.so.1 => /usr/local/gcc47/lib/./libgcc_s.so.1 (0xb770d000)
 >    libc.so.6 => /lib/libc.so.6 (0xb75ad000)
 >    /lib/ld-linux.so.2 (0xb7887000)
 >    libdl.so.2 => /lib/libdl.so.2 (0xb75a9000)
 >    librt.so.1 => /lib/librt.so.1 (0xb75a0000)
 >  
 >  
 >  
 >  With the above patch, I get the initially reported error message. The GUI 
 > shows up nevertheless, but I can't klick on anything. Without the patch, 
 > firefox works fine.
 >  
 >  I also purged the .mozialla directory to simulate a fresh start. It has not 
 > helped. I need to have the patch the removed to get firefox running.
 
 Thank you.
 I will change the patch as following.
 This patch will work for your Linux?
 
 diff -r 5f7c149b07ba 
toolkit/components/osfile/modules/osfile_unix_allthreads.jsm
 --- a/toolkit/components/osfile/modules/osfile_unix_allthreads.jsm     Sat Mar 
15 00:36:26 2014 -0400
 +++ b/toolkit/components/osfile/modules/osfile_unix_allthreads.jsm     Thu Apr 
17 09:02:58 2014 +0900
 @@ -42,6 +42,7 @@
  let libc;
  let libc_candidates =  [ "libSystem.B.dylib",
                           "libc.so.6",
 +                         "libc.so.7",
                           "libc.so" ];
  for (let i = 0; i < libc_candidates.length; ++i) {
    try {
 
 --
 Ryo ONODERA // ryo_on%yk.rim.or.jp@localhost
 PGP fingerprint = 82A2 DC91 76E0 A10A 8ABB  FD1B F404 27FA C7D1 15F3
 


Home | Main Index | Thread Index | Old Index