[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mozilla-patches
Subject:    SunOS5.6_x86 and SunOS5.5.1_x86 build fixes
From:       "S.J.Moller" <sjm () nwc ! dk>
Date:       1998-06-09 21:30:57
[Download RAW message or body]

Hi,

This patch can be used to patch mozilla source dated Jun 9 1998
so it can compile on SunOS5.6_x86 (Solaris 2.6 X86):

  ftp://ftp.nwc.dk/pub/patches/mozilla-SunOS5.6_x86-CVS1998JUN09.txt

The patch adresses the following problems:
  
mozilla/dbm/src/snprintf.c     (Bugzilla #435)
  snprintf is already defined on SunOS5.6_x86 and SunOS5.6.
  The prototypes do not match with the prototypes defined in
  /usr/include/stdio.h and therefore breaks the build.

mozilla/modules/libreg/src/reg.h   (Bugzilla #343)
mozilla/modules/libreg/src/reg.c
  Cannot compile on SunOS5.6_x86 because `REGOFF´ is defined in
  /usr/include/sys/reg.h as `0´.
  Rename `REGOFF´ symbol to `REGOFS´.
  
mozilla/config/SunOS5.mk    (Bugzilla #356 and #435)
  Set `OPTIMIZER = -Wa,-s -gstabs´ on the SunOS5.6_x86 platform.
  The default DWARF debug format cannot be used on this platform.
  Add -DHAVE_SNPRINTF.
  Also add -lresolv to OS_LIBS for 5.5.1_x86 and 5.6_x86 

Cheers,
  Søren Juul Møller

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic