Opened 16 years ago

Closed 16 years ago

Last modified 15 years ago

#16225 closed defect (fixed)

firefox-x11 is out-of-date (update needed for security)

Reported by: vinc17@… Owned by: macports-tickets@…
Priority: High Milestone:
Component: ports Version: 1.6.0
Keywords: security Cc: jmroot (Joshua Root)
Port:

Description

Firefox 2.0.0.13 is very old. Many security holes have been fixed since. Current versions are 2.0.0.16 and 3.0.1.

Change History (8)

comment:1 Changed 16 years ago by vinc17@…

Resolution: fixed
Status: newclosed

Fixed by r38988.

comment:2 Changed 16 years ago by jmroot (Joshua Root)

The new version fails to build for me. OS 10.5.4, x86, XCode 3.1, MP trunk.

nsIComponentManager.idl nsICategoryManager.idl ../../dist/idl
/opt/local/var/macports/build/_Users_josh_Coding_dports-dev_svn_dports_www_firefox-x11/work/mozilla/config/nsinstall -L /opt/local/var/macports/build/_Users_josh_Coding_dports-dev_svn_dports_www_firefox-x11/work/mozilla/xpcom/components -m 644 nsIClassInfo.idl nsIComponentRegistrar.idl nsIFactory.idl nsIModule.idl nsIServiceManager.idl nsIComponentManager.idl nsICategoryManager.idl ../../dist/sdk/idl
nsIClassInfo.idl
../../dist/bin/xpidl -m header -w -I. -I../../dist/idl -o _xpidlgen/nsIClassInfo nsIClassInfo.idl
nsIClassInfo.idl:118: Error: unsigned const declaration 'RESERVED' initialized with negative constant
gmake[3]: *** [_xpidlgen/nsIClassInfo.h] Error 1
gmake[3]: Leaving directory `/opt/local/var/macports/build/_Users_josh_Coding_dports-dev_svn_dports_www_firefox-x11/work/mozilla/xpcom/components'

comment:3 Changed 16 years ago by vinc17@…

This is due to an integer overflow. I've committed a new version with a patch. Could you try again?

FYI, I've reported the bug upstream: https://bugzilla.mozilla.org/show_bug.cgi?id=449370

comment:4 Changed 16 years ago by jmroot (Joshua Root)

Now I get:

../../dist/bin/xpidl -m header -w -I. -I../../dist/idl -o _xpidlgen/nsIClassInfo nsIClassInfo.idl
nsIClassInfo.idl:118: Missing semicolon after constant declaration for `RESERVED'
nsIClassInfo.idl:118: `U' undeclared identifier

** (process:31692): WARNING **: Parse of nsIClassInfo.idl failed

I guess XPIDL doesn't like U on numeric constants. I have no idea how to make it happy, unfortunately.

comment:5 Changed 16 years ago by vinc17@…

I've written the constant in another way. Could you try again?

comment:6 Changed 16 years ago by jmroot (Joshua Root)

Cc: jmr@… added

Now it's back to the original "unsigned const declaration 'RESERVED' initialized with negative constant" failure.

comment:7 Changed 16 years ago by vinc17@…

So, I've removed the patch. It may be a problem on your side as someone had the same problem in 2002. You may want to look at:

http://groups.google.com/group/netscape.public.mozilla.macosx/msg/c865acb770afa021

comment:8 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.