Ticket #3852: firefox-packager-build.patch

File firefox-packager-build.patch, 1.0 KB (added by ken@…, 11 years ago)
  • mozilla-release/toolkit/mozapps/installer/packager.py

    Submitted By: Ken Moffat <ken at linuxfromscratch dot org>
    Date: 2013-05-15
    Initial Package Version: 21.0
    Upstream Status: Unknown
    Origin: Unknown, found at fedora
    Description: fixes build failure "failed to get nsJSRuntimeService!" when
    installing firefox-21.0 on xulrunner.
    
    diff -up mozilla-release/toolkit/mozapps/installer/packager.py.old firefox-21.0/mozilla-release/toolkit/mozapps/installer/packager.py
    old new def main():  
    344344    # Fill startup cache
    345345    if isinstance(formatter, OmniJarFormatter) and launcher.can_launch():
    346346        if buildconfig.substs['LIBXUL_SDK']:
    347             gre_path = buildconfig.substs['LIBXUL_DIST']
     347            gre_path = buildconfig.substs['LIBXUL_DIST'] + '/bin'
    348348        else:
    349349            gre_path = None
    350350        for base in sorted([[p for p in [mozpack.path.join('bin', b), b]