pkgsrc-Changes archive

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

CVS commit: pkgsrc/www/firefox



Module Name:    pkgsrc
Committed By:   pho
Date:           Fri Jan 30 07:32:24 UTC 2015

Modified Files:
        pkgsrc/www/firefox: PLIST distinfo mozilla-common.mk
        pkgsrc/www/firefox/patches: patch-build_gyp.mozbuild
            patch-extensions_spellcheck_hunspell_src_mozHunspell.cpp
            patch-js_xpconnect_src_xpcprivate.h patch-toolkit_library_moz.build
            patch-xpcom_base_nsStackWalk.cpp
Added Files:
        pkgsrc/www/firefox/patches: patch-ipc_glue_moz.build
            patch-js_src_asmjs_AsmJSSignalHandlers.cpp
            patch-memory_mozalloc_VolatileBufferOSX.cpp
            patch-toolkit_xre_nsAppRunner.cpp
            patch-xpcom_build_PoisonIOInterposer.h
            patch-xpcom_glue_standalone_nsXPCOMGlue.cpp

Log Message:
Fix many issues on Darwin

PLIST:
  * lib/firefox/libmozglue.so is built and installed as a shared
    library on some platforms including Darwin.

mozilla-common.mk:
  * Sandboxing support is only available when the toolkit is
    cairo-cocoa.
  * It tries to use MacOS X 10.6 SDK by default, which is not always
    possible.

patches/patch-build_gyp.mozbuild:
  * Don't assume iOS just because the toolkit is not cocoa. Ideally
    there should be an AC_SUBST just like 'ARM_ARCH' but nothing
    exists currently.
  * MacOS X SDK version should be able to configure with ./configure
    --enable-macos-target=VER

patches/patch-extensions_spellcheck_hunspell_src_mozHunspell.cpp:
  * NS_NewNativeLocalFile() can fail and leave hunDir null, so we must
    check if it succeeded. This is not Darwin specific though.
  * "%%LOCALBASE%%" in the hunspell path is currently not substituted,
    which looks very erroneous to me. But since I don't know why
    ryoon@ changed it from "@PREFIX@" to "%%LOCALBASE%%" I leave it as
    it is.

patches/patch-ipc_glue_moz.build:
  * Don't assume cocoa toolkit just because OS_ARCH is Darwin.

patches/patch-js_src_asmjs_AsmJSSignalHandlers.cpp:
  * Increase portability for non-x86 Darwin by not hardwiring
    x86_THREAD_STATE.

patches/patch-js_xpconnect_src_xpcprivate.h:
  * The declaration has to be C++11 'extern template', otherwise
    non-weak symbol collision will occur between libmozjs and
    libxul. We can't easily test if the feature is supported by
    compiler due to GCC bug #1773:
    http://gcc.gnu.org/bugzilla/show_bug.cgi?id=1773

patches/patch-memory_mozalloc_VolatileBufferOSX.cpp:
  * Try to fallback to valloc(3) if posix_memalign(3) is not
    avialble. It has been added since MacOS 10.6.

patches/patch-toolkit_library_moz.build:
  * GSTREAMER_LIBS are linked to libxul on Darwin, while they are
    dlopen(3)'ed at runtime on other platforms. The problem is that
    the toolkit being cocoa isn't relevant at all. It's Darwin that
    needs the special handling, not Cocoa.

patches/patch-toolkit_xre_nsAppRunner.cpp:
  * MacOS X < 10.6 had an undocumented behavior concerning execve(2)
    inside a threaded process. If a process tried to call execve(2)
    and had more than one active thread, the kernel returned
    ENOTSUP. So we have to either fork(2) or vfork(2) before calling
    execve(2) to make sure the caller is single-threaded as otherwise
    the application fails to restart itself.

patches/patch-xpcom_base_nsStackWalk.cpp,
patches/patch-xpcom_build_PoisonIOInterposer.h:
  * Replace XP_MACOSX with XP_DARWIN as the former is not defined when
    the toolkit is not cocoa.

patches/patch-xpcom_glue_standalone_nsXPCOMGlue.cpp:
  * Fix inconsistent use of XP_DARWIN and XP_MACOSX:
    LEADING_UNDERSCORE should be empty when we are going to load XPCOM
    using dlopen(3), not NSAddImage().


To generate a diff of this commit:
cvs rdiff -u -r1.91 -r1.92 pkgsrc/www/firefox/PLIST
cvs rdiff -u -r1.180 -r1.181 pkgsrc/www/firefox/distinfo
cvs rdiff -u -r1.47 -r1.48 pkgsrc/www/firefox/mozilla-common.mk
cvs rdiff -u -r1.1 -r1.2 pkgsrc/www/firefox/patches/patch-build_gyp.mozbuild \
    pkgsrc/www/firefox/patches/patch-js_xpconnect_src_xpcprivate.h \
    pkgsrc/www/firefox/patches/patch-toolkit_library_moz.build
cvs rdiff -u -r1.5 -r1.6 \
    pkgsrc/www/firefox/patches/patch-extensions_spellcheck_hunspell_src_mozHunspell.cpp
cvs rdiff -u -r0 -r1.1 pkgsrc/www/firefox/patches/patch-ipc_glue_moz.build \
    pkgsrc/www/firefox/patches/patch-js_src_asmjs_AsmJSSignalHandlers.cpp \
    pkgsrc/www/firefox/patches/patch-memory_mozalloc_VolatileBufferOSX.cpp
cvs rdiff -u -r0 -r1.5 \
    pkgsrc/www/firefox/patches/patch-toolkit_xre_nsAppRunner.cpp
cvs rdiff -u -r1.9 -r1.10 \
    pkgsrc/www/firefox/patches/patch-xpcom_base_nsStackWalk.cpp
cvs rdiff -u -r0 -r1.4 \
    pkgsrc/www/firefox/patches/patch-xpcom_build_PoisonIOInterposer.h
cvs rdiff -u -r0 -r1.3 \
    pkgsrc/www/firefox/patches/patch-xpcom_glue_standalone_nsXPCOMGlue.cpp

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index