diff options
author | ryoon <ryoon@pkgsrc.org> | 2012-03-10 11:42:38 +0000 |
---|---|---|
committer | ryoon <ryoon@pkgsrc.org> | 2012-03-10 11:42:38 +0000 |
commit | c2d8be41e23f48c16d2301f75e0e507f6c9717e0 (patch) | |
tree | 566057fba6b7d4bccaa067bdd16cee2118a59f35 /mail/thunderbird | |
parent | cc6e8b79d02fb0a1af3d1852380f4b836393fa1e (diff) | |
download | pkgsrc-c2d8be41e23f48c16d2301f75e0e507f6c9717e0.tar.gz |
Update to 10.0.2
* Add new features.
* Fix security bugs
* See http://www.mozilla.org/en-US/thunderbird/10.0/releasenotes/
Diffstat (limited to 'mail/thunderbird')
150 files changed, 1960 insertions, 838 deletions
diff --git a/mail/thunderbird/Makefile b/mail/thunderbird/Makefile index 89ab3a99579..7f7749bbb9a 100644 --- a/mail/thunderbird/Makefile +++ b/mail/thunderbird/Makefile @@ -1,10 +1,9 @@ -# $NetBSD: Makefile,v 1.87 2012/03/03 12:54:19 wiz Exp $ +# $NetBSD: Makefile,v 1.88 2012/03/10 11:42:38 ryoon Exp $ # DISTNAME= thunderbird-${TB_VER}.source PKGNAME= thunderbird-${TB_VER} -TB_VER= 8.0 -PKGREVISION= 5 +TB_VER= 10.0.2 CATEGORIES= mail MASTER_SITES= ${MASTER_SITE_MOZILLA:=thunderbird/releases/${TB_VER}/source/} EXTRACT_SUFX= .tar.bz2 @@ -27,12 +26,10 @@ CONFIGURE_ARGS+= --enable-application=mail ALL_ENV+= MOZILLA_PKG_NAME=thunderbird -.include "../../mk/bsd.prefs.mk" +# workround for link of xulrunner-bin etc. +LDFLAGS+= -Wl,-rpath,${PREFIX}/lib/thunderbird -.if (${OPSYS} == "Linux" || ${OPSYS} == "SunOS" || ${OPSYS} == "Darwin") && \ - (${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64") -BUILD_DEPENDS+= yasm>=1.1.0:../../devel/yasm -.endif +.include "../../mk/bsd.prefs.mk" #SUBST_CLASSES+= ext-compat #SUBST_STAGE.ext-compat= pre-configure diff --git a/mail/thunderbird/PLIST b/mail/thunderbird/PLIST index aee900d2c7a..bc5f525584a 100644 --- a/mail/thunderbird/PLIST +++ b/mail/thunderbird/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.37 2012/01/07 23:37:51 sbd Exp $ +@comment $NetBSD: PLIST,v 1.38 2012/03/10 11:42:38 ryoon Exp $ bin/thunderbird ${PLIST.jit}include/thunderbird/Allocator.h ${PLIST.jit}include/thunderbird/Assembler.h @@ -53,37 +53,7 @@ include/thunderbird/amIWebInstaller.h include/thunderbird/angle/ResourceLimits.h include/thunderbird/angle/ShaderLang.h ${PLIST.jit}include/thunderbird/avmplus.h -include/thunderbird/base64.h -include/thunderbird/blapit.h -include/thunderbird/cairo/cairo-deprecated.h -include/thunderbird/cairo/cairo-features.h -include/thunderbird/cairo/cairo-ft.h -include/thunderbird/cairo/cairo-pdf.h -include/thunderbird/cairo/cairo-platform.h -include/thunderbird/cairo/cairo-ps.h -include/thunderbird/cairo/cairo-rename.h -include/thunderbird/cairo/cairo-tee.h -include/thunderbird/cairo/cairo-version.h -include/thunderbird/cairo/cairo-xlib-xrender.h -include/thunderbird/cairo/cairo-xlib.h -include/thunderbird/cairo/cairo.h -include/thunderbird/cert.h -include/thunderbird/certdb.h -include/thunderbird/certt.h -include/thunderbird/chromium_types.h -include/thunderbird/ciferfam.h -include/thunderbird/cmmf.h -include/thunderbird/cmmft.h -include/thunderbird/cms.h -include/thunderbird/cmsreclist.h -include/thunderbird/cmst.h -include/thunderbird/comi18n.h -include/thunderbird/crmf.h -include/thunderbird/crmft.h -include/thunderbird/cryptohi.h -include/thunderbird/cryptoht.h include/thunderbird/domstubs.h -include/thunderbird/ecl-exp.h include/thunderbird/expat.h include/thunderbird/expat_config.h include/thunderbird/expat_external.h @@ -107,7 +77,6 @@ include/thunderbird/gfxFontConstants.h include/thunderbird/gfxFontTest.h include/thunderbird/gfxFontUtils.h include/thunderbird/gfxGdkNativeRenderer.h -include/thunderbird/gfxIFormats.h include/thunderbird/gfxImageSurface.h include/thunderbird/gfxMatrix.h include/thunderbird/gfxPDFSurface.h @@ -131,7 +100,6 @@ include/thunderbird/gfxUserFontSet.h include/thunderbird/gfxUtils.h include/thunderbird/gfxXlibNativeRenderer.h include/thunderbird/gfxXlibSurface.h -include/thunderbird/gfxidltypes.h include/thunderbird/gtk2xtbin.h include/thunderbird/harfbuzz/hb-blob.h include/thunderbird/harfbuzz/hb-buffer.h @@ -145,7 +113,6 @@ include/thunderbird/harfbuzz/hb-ot.h include/thunderbird/harfbuzz/hb-shape.h include/thunderbird/harfbuzz/hb-unicode.h include/thunderbird/harfbuzz/hb.h -include/thunderbird/hasht.h include/thunderbird/imgICache.h include/thunderbird/imgIContainer.h include/thunderbird/imgIContainerDebug.h @@ -163,26 +130,19 @@ include/thunderbird/inIFlasher.h include/thunderbird/inISearchObserver.h include/thunderbird/inISearchProcess.h include/thunderbird/jArray.h -include/thunderbird/jar-ds.h -include/thunderbird/jar.h -include/thunderbird/jarfile.h ${PLIST.jemalloc}include/thunderbird/jemalloc.h ${PLIST.jemalloc}include/thunderbird/jemalloc_types.h include/thunderbird/js-config.h include/thunderbird/js.msg include/thunderbird/jsalloc.h include/thunderbird/jsapi.h -include/thunderbird/jsarena.h include/thunderbird/jsatom.h -include/thunderbird/jsautocfg.h include/thunderbird/jsautokw.h -include/thunderbird/jsbit.h ${PLIST.jit}include/thunderbird/jsbuiltins.h include/thunderbird/jscell.h include/thunderbird/jsclist.h include/thunderbird/jsclone.h include/thunderbird/jscntxt.h -include/thunderbird/jscompartment.h include/thunderbird/jscompat.h include/thunderbird/jscrashreport.h include/thunderbird/jsdIDebuggerService.h @@ -190,27 +150,19 @@ include/thunderbird/jsdate.h include/thunderbird/jsdbgapi.h include/thunderbird/jsdebug.h include/thunderbird/jsdhash.h -include/thunderbird/jsemit.h include/thunderbird/jsfriendapi.h -include/thunderbird/jsfun.h include/thunderbird/jsgc.h include/thunderbird/jsgcchunk.h include/thunderbird/jsgcstats.h include/thunderbird/jshash.h -include/thunderbird/jshashtable.h -include/thunderbird/jsinterp.h include/thunderbird/jsinttypes.h -include/thunderbird/jsiter.h include/thunderbird/jslock.h -include/thunderbird/jsobj.h include/thunderbird/json.h include/thunderbird/jsopcode.h include/thunderbird/jsopcode.tbl include/thunderbird/jsotypes.h -include/thunderbird/jsparse.h include/thunderbird/jsperf.h include/thunderbird/jsprf.h -include/thunderbird/jsprobes.h include/thunderbird/jspropertycache.h include/thunderbird/jspropertytree.h include/thunderbird/jsproto.tbl @@ -218,60 +170,17 @@ include/thunderbird/jsproxy.h include/thunderbird/jsprvtd.h include/thunderbird/jspubtd.h include/thunderbird/jsreflect.h -include/thunderbird/jsscan.h -include/thunderbird/jsscope.h -include/thunderbird/jsscript.h -include/thunderbird/jsstaticcheck.h include/thunderbird/jsstdint.h include/thunderbird/jsstr.h -include/thunderbird/jstl.h include/thunderbird/jstracer.h include/thunderbird/jstypedarray.h include/thunderbird/jstypes.h include/thunderbird/jsutil.h include/thunderbird/jsval.h -include/thunderbird/jsvalue.h -include/thunderbird/jsvector.h include/thunderbird/jsversion.h include/thunderbird/jswrapper.h include/thunderbird/jsxdrapi.h -include/thunderbird/key.h -include/thunderbird/keyhi.h -include/thunderbird/keyt.h -include/thunderbird/keythi.h include/thunderbird/mar.h -include/thunderbird/md/_aix32.cfg -include/thunderbird/md/_aix64.cfg -include/thunderbird/md/_beos.cfg -include/thunderbird/md/_bsdi.cfg -include/thunderbird/md/_darwin.cfg -include/thunderbird/md/_dgux.cfg -include/thunderbird/md/_freebsd.cfg -include/thunderbird/md/_hpux32.cfg -include/thunderbird/md/_hpux64.cfg -include/thunderbird/md/_irix32.cfg -include/thunderbird/md/_irix64.cfg -include/thunderbird/md/_linux.cfg -include/thunderbird/md/_ncr.cfg -include/thunderbird/md/_nec.cfg -include/thunderbird/md/_netbsd.cfg -include/thunderbird/md/_nextstep.cfg -include/thunderbird/md/_nto.cfg -include/thunderbird/md/_openbsd.cfg -include/thunderbird/md/_os2.cfg -include/thunderbird/md/_osf1.cfg -include/thunderbird/md/_qnx.cfg -include/thunderbird/md/_reliantunix.cfg -include/thunderbird/md/_riscos.cfg -include/thunderbird/md/_scoos.cfg -include/thunderbird/md/_solaris.cfg -include/thunderbird/md/_sony.cfg -include/thunderbird/md/_sunos4.cfg -include/thunderbird/md/_symbian.cfg -include/thunderbird/md/_unixware.cfg -include/thunderbird/md/_unixware7.cfg -include/thunderbird/md/_win95.cfg -include/thunderbird/md/_winnt.cfg include/thunderbird/mdb.h include/thunderbird/mimecont.h include/thunderbird/mimecryp.h @@ -489,7 +398,6 @@ include/thunderbird/mozilla/plugins/ChildTimer.h include/thunderbird/mozilla/plugins/NPEventAndroid.h include/thunderbird/mozilla/plugins/NPEventOSX.h include/thunderbird/mozilla/plugins/NPEventWindows.h -include/thunderbird/mozilla/plugins/NPEventX11.h include/thunderbird/mozilla/plugins/PluginIdentifierChild.h include/thunderbird/mozilla/plugins/PluginIdentifierParent.h include/thunderbird/mozilla/plugins/PluginInstanceChild.h @@ -927,7 +835,6 @@ include/thunderbird/nsICharsetDetector.h include/thunderbird/nsICharsetResolver.h include/thunderbird/nsIChildChannel.h include/thunderbird/nsIChromeRegistry.h -include/thunderbird/nsICipherInfo.h include/thunderbird/nsIClassInfo.h include/thunderbird/nsIClassInfoImpl.h include/thunderbird/nsIClientAuthDialogs.h @@ -1060,7 +967,6 @@ include/thunderbird/nsIDOMElement.h include/thunderbird/nsIDOMElementCSSInlineStyle.h include/thunderbird/nsIDOMElementTimeControl.h include/thunderbird/nsIDOMEvent.h -include/thunderbird/nsIDOMEventException.h include/thunderbird/nsIDOMEventListener.h include/thunderbird/nsIDOMEventTarget.h include/thunderbird/nsIDOMFile.h @@ -1163,7 +1069,6 @@ include/thunderbird/nsIDOMMessageEvent.h include/thunderbird/nsIDOMMimeType.h include/thunderbird/nsIDOMMimeTypeArray.h include/thunderbird/nsIDOMModalContentWindow.h -include/thunderbird/nsIDOMMouseEvent.h include/thunderbird/nsIDOMMouseScrollEvent.h include/thunderbird/nsIDOMMozCSSKeyframeRule.h include/thunderbird/nsIDOMMozCSSKeyframesRule.h @@ -1172,15 +1077,9 @@ include/thunderbird/nsIDOMMutationEvent.h include/thunderbird/nsIDOMNSEditableElement.h include/thunderbird/nsIDOMNSElement.h include/thunderbird/nsIDOMNSEvent.h -include/thunderbird/nsIDOMNSHTMLElement.h -include/thunderbird/nsIDOMNSHTMLFrameElement.h -include/thunderbird/nsIDOMNSHTMLOptionCollectn.h -include/thunderbird/nsIDOMNSMouseEvent.h include/thunderbird/nsIDOMNSRGBAColor.h include/thunderbird/nsIDOMNSRange.h -include/thunderbird/nsIDOMNSUIEvent.h include/thunderbird/nsIDOMNSXPathExpression.h -include/thunderbird/nsIDOMNameList.h include/thunderbird/nsIDOMNamedNodeMap.h include/thunderbird/nsIDOMNavigator.h include/thunderbird/nsIDOMNavigatorDesktopNotification.h @@ -1379,7 +1278,6 @@ include/thunderbird/nsIDocumentLoaderFactory.h include/thunderbird/nsIDocumentObserver.h include/thunderbird/nsIDocumentStateListener.h include/thunderbird/nsIDocumentTransformer.h -include/thunderbird/nsIDocumentViewer.h include/thunderbird/nsIDownload.h include/thunderbird/nsIDownloadHistory.h include/thunderbird/nsIDownloadManager.h @@ -1477,7 +1375,6 @@ include/thunderbird/nsIGfxInfo.h include/thunderbird/nsIGfxInfoDebug.h include/thunderbird/nsIGlobalHistory.h include/thunderbird/nsIGlobalHistory2.h -include/thunderbird/nsIGlobalHistory3.h include/thunderbird/nsIGnomeVFSService.h include/thunderbird/nsIGridPart.h include/thunderbird/nsIHTMLAbsPosEditor.h @@ -1520,7 +1417,6 @@ include/thunderbird/nsIIDBObjectStore.h include/thunderbird/nsIIDBRequest.h include/thunderbird/nsIIDBTransaction.h include/thunderbird/nsIIDBVersionChangeEvent.h -include/thunderbird/nsIIDBVersionChangeRequest.h include/thunderbird/nsIIDNService.h include/thunderbird/nsIIFrameBoxObject.h include/thunderbird/nsIIMAPHostSessionList.h @@ -1625,7 +1521,6 @@ include/thunderbird/nsILoginManagerIEMigrationHelper.h include/thunderbird/nsILoginManagerPrompter.h include/thunderbird/nsILoginManagerStorage.h include/thunderbird/nsILoginMetaInfo.h -include/thunderbird/nsILookAndFeel.h include/thunderbird/nsIMIMEHeaderParam.h include/thunderbird/nsIMIMEInfo.h include/thunderbird/nsIMIMEInputStream.h @@ -1935,9 +1830,6 @@ include/thunderbird/nsISSLErrorListener.h include/thunderbird/nsISSLSocketControl.h include/thunderbird/nsISSLStatus.h include/thunderbird/nsISSLStatusProvider.h -include/thunderbird/nsISVGValue.h -include/thunderbird/nsISVGValueObserver.h -include/thunderbird/nsISVGValueUtils.h include/thunderbird/nsISafeOutputStream.h include/thunderbird/nsISaveAsCharset.h include/thunderbird/nsIScreen.h @@ -1959,7 +1851,6 @@ include/thunderbird/nsIScriptTimeoutHandler.h include/thunderbird/nsIScriptableBase64Encoder.h include/thunderbird/nsIScriptableDateFormat.h include/thunderbird/nsIScriptableInputStream.h -include/thunderbird/nsIScriptableInterfaces.h include/thunderbird/nsIScriptableRegion.h include/thunderbird/nsIScriptableUConv.h include/thunderbird/nsIScriptableUnescapeHTML.h @@ -2068,7 +1959,6 @@ include/thunderbird/nsITimer.h include/thunderbird/nsITokenDialogs.h include/thunderbird/nsITokenPasswordDialogs.h include/thunderbird/nsITokenizer.h -include/thunderbird/nsIToolkit.h include/thunderbird/nsIToolkitChromeRegistry.h include/thunderbird/nsIToolkitProfile.h include/thunderbird/nsIToolkitProfileService.h @@ -2200,7 +2090,6 @@ include/thunderbird/nsIXULBuilderListener.h include/thunderbird/nsIXULContextMenuBuilder.h include/thunderbird/nsIXULDocument.h include/thunderbird/nsIXULOverlayProvider.h -include/thunderbird/nsIXULPrototypeCache.h include/thunderbird/nsIXULRuntime.h include/thunderbird/nsIXULSortService.h include/thunderbird/nsIXULTemplateBuilder.h @@ -2374,7 +2263,6 @@ include/thunderbird/nsSVGFeatures.h include/thunderbird/nsSVGFilterInstance.h include/thunderbird/nsSVGForeignObjectFrame.h include/thunderbird/nsSVGIntegrationUtils.h -include/thunderbird/nsSVGMatrix.h include/thunderbird/nsSVGRect.h include/thunderbird/nsSVGUtils.h include/thunderbird/nsScannerString.h @@ -2495,232 +2383,21 @@ include/thunderbird/nsXULTreeGridAccessibleWrap.h include/thunderbird/nsZipArchive.h include/thunderbird/nscore.h include/thunderbird/nspluginroot.h -include/thunderbird/nspr.h -include/thunderbird/nspr/md/_aix32.cfg -include/thunderbird/nspr/md/_aix64.cfg -include/thunderbird/nspr/md/_beos.cfg -include/thunderbird/nspr/md/_bsdi.cfg -include/thunderbird/nspr/md/_darwin.cfg -include/thunderbird/nspr/md/_dgux.cfg -include/thunderbird/nspr/md/_freebsd.cfg -include/thunderbird/nspr/md/_hpux32.cfg -include/thunderbird/nspr/md/_hpux64.cfg -include/thunderbird/nspr/md/_irix32.cfg -include/thunderbird/nspr/md/_irix64.cfg -include/thunderbird/nspr/md/_linux.cfg -include/thunderbird/nspr/md/_ncr.cfg -include/thunderbird/nspr/md/_nec.cfg -include/thunderbird/nspr/md/_netbsd.cfg -include/thunderbird/nspr/md/_nextstep.cfg -include/thunderbird/nspr/md/_nto.cfg -include/thunderbird/nspr/md/_openbsd.cfg -include/thunderbird/nspr/md/_os2.cfg -include/thunderbird/nspr/md/_osf1.cfg -include/thunderbird/nspr/md/_qnx.cfg -include/thunderbird/nspr/md/_reliantunix.cfg -include/thunderbird/nspr/md/_riscos.cfg -include/thunderbird/nspr/md/_scoos.cfg -include/thunderbird/nspr/md/_solaris.cfg -include/thunderbird/nspr/md/_sony.cfg -include/thunderbird/nspr/md/_sunos4.cfg -include/thunderbird/nspr/md/_symbian.cfg -include/thunderbird/nspr/md/_unixware.cfg -include/thunderbird/nspr/md/_unixware7.cfg -include/thunderbird/nspr/md/_win95.cfg -include/thunderbird/nspr/md/_winnt.cfg -include/thunderbird/nspr/nspr.h -include/thunderbird/nspr/obsolete/pralarm.h -include/thunderbird/nspr/obsolete/probslet.h -include/thunderbird/nspr/obsolete/protypes.h -include/thunderbird/nspr/obsolete/prsem.h -include/thunderbird/nspr/plarena.h -include/thunderbird/nspr/plarenas.h -include/thunderbird/nspr/plbase64.h -include/thunderbird/nspr/plerror.h -include/thunderbird/nspr/plgetopt.h -include/thunderbird/nspr/plhash.h -include/thunderbird/nspr/plstr.h -include/thunderbird/nspr/pratom.h -include/thunderbird/nspr/prbit.h -include/thunderbird/nspr/prclist.h -include/thunderbird/nspr/prcmon.h -include/thunderbird/nspr/prcountr.h -include/thunderbird/nspr/prcpucfg.h -include/thunderbird/nspr/prcvar.h -include/thunderbird/nspr/prdtoa.h -include/thunderbird/nspr/prenv.h -include/thunderbird/nspr/prerr.h -include/thunderbird/nspr/prerror.h -include/thunderbird/nspr/prinet.h -include/thunderbird/nspr/prinit.h -include/thunderbird/nspr/prinrval.h -include/thunderbird/nspr/prio.h -include/thunderbird/nspr/pripcsem.h -include/thunderbird/nspr/private/pprio.h -include/thunderbird/nspr/private/pprthred.h -include/thunderbird/nspr/private/prpriv.h -include/thunderbird/nspr/prlink.h -include/thunderbird/nspr/prlock.h -include/thunderbird/nspr/prlog.h -include/thunderbird/nspr/prlong.h -include/thunderbird/nspr/prmem.h -include/thunderbird/nspr/prmon.h -include/thunderbird/nspr/prmwait.h -include/thunderbird/nspr/prnetdb.h -include/thunderbird/nspr/prolock.h -include/thunderbird/nspr/prpdce.h -include/thunderbird/nspr/prprf.h -include/thunderbird/nspr/prproces.h -include/thunderbird/nspr/prrng.h -include/thunderbird/nspr/prrwlock.h -include/thunderbird/nspr/prshm.h -include/thunderbird/nspr/prshma.h -include/thunderbird/nspr/prsystem.h -include/thunderbird/nspr/prthread.h -include/thunderbird/nspr/prtime.h -include/thunderbird/nspr/prtpool.h -include/thunderbird/nspr/prtrace.h -include/thunderbird/nspr/prtypes.h -include/thunderbird/nspr/prvrsion.h -include/thunderbird/nspr/prwin16.h -include/thunderbird/nsrootidl.h -include/thunderbird/nss.h -include/thunderbird/nssb64.h -include/thunderbird/nssb64t.h -include/thunderbird/nssbase.h -include/thunderbird/nssbaset.h -include/thunderbird/nssck.api -include/thunderbird/nssckbi.h -include/thunderbird/nssckepv.h -include/thunderbird/nssckft.h -include/thunderbird/nssckfw.h -include/thunderbird/nssckfwc.h -include/thunderbird/nssckfwt.h -include/thunderbird/nssckg.h -include/thunderbird/nssckmdt.h -include/thunderbird/nssckt.h -include/thunderbird/nssilckt.h -include/thunderbird/nssilock.h -include/thunderbird/nsslocks.h -include/thunderbird/nssrwlk.h -include/thunderbird/nssrwlkt.h -include/thunderbird/nssutil.h -include/thunderbird/obsolete/pralarm.h -include/thunderbird/obsolete/probslet.h -include/thunderbird/obsolete/protypes.h -include/thunderbird/obsolete/prsem.h -include/thunderbird/ocsp.h -include/thunderbird/ocspt.h include/thunderbird/ogg/config_types.h include/thunderbird/ogg/ogg.h include/thunderbird/ogg/os_types.h include/thunderbird/opentype-sanitiser.h include/thunderbird/ots-memory-stream.h -include/thunderbird/p12.h -include/thunderbird/p12plcy.h -include/thunderbird/p12t.h -include/thunderbird/pixman-version.h -include/thunderbird/pixman.h -include/thunderbird/pk11func.h -include/thunderbird/pk11pqg.h -include/thunderbird/pk11priv.h -include/thunderbird/pk11pub.h -include/thunderbird/pk11sdr.h -include/thunderbird/pkcs11.h -include/thunderbird/pkcs11f.h -include/thunderbird/pkcs11n.h -include/thunderbird/pkcs11p.h -include/thunderbird/pkcs11t.h -include/thunderbird/pkcs11u.h -include/thunderbird/pkcs12.h -include/thunderbird/pkcs12t.h -include/thunderbird/pkcs7t.h -include/thunderbird/plarena.h -include/thunderbird/plarenas.h -include/thunderbird/plbase64.h include/thunderbird/pldhash.h -include/thunderbird/plerror.h -include/thunderbird/plgetopt.h -include/thunderbird/plhash.h -include/thunderbird/plstr.h include/thunderbird/png.h include/thunderbird/pngconf.h -include/thunderbird/portreg.h -include/thunderbird/pratom.h -include/thunderbird/prbit.h -include/thunderbird/prclist.h -include/thunderbird/prcmon.h -include/thunderbird/prcountr.h -include/thunderbird/prcpucfg.h -include/thunderbird/prcvar.h -include/thunderbird/prdtoa.h -include/thunderbird/preenc.h -include/thunderbird/prenv.h -include/thunderbird/prerr.h -include/thunderbird/prerror.h -include/thunderbird/prinet.h -include/thunderbird/prinit.h -include/thunderbird/prinrval.h -include/thunderbird/prio.h -include/thunderbird/pripcsem.h -include/thunderbird/private/pprio.h -include/thunderbird/private/pprthred.h -include/thunderbird/private/prpriv.h -include/thunderbird/prlink.h -include/thunderbird/prlock.h -include/thunderbird/prlog.h -include/thunderbird/prlong.h -include/thunderbird/prmem.h include/thunderbird/prmjtime.h -include/thunderbird/prmon.h -include/thunderbird/prmwait.h -include/thunderbird/prnetdb.h -include/thunderbird/prolock.h -include/thunderbird/prpdce.h -include/thunderbird/prprf.h -include/thunderbird/prproces.h -include/thunderbird/prrng.h -include/thunderbird/prrwlock.h -include/thunderbird/prshm.h -include/thunderbird/prshma.h -include/thunderbird/prsystem.h -include/thunderbird/prthread.h -include/thunderbird/prtime.h -include/thunderbird/prtpool.h -include/thunderbird/prtrace.h -include/thunderbird/prtypes.h -include/thunderbird/prvrsion.h -include/thunderbird/prwin16.h include/thunderbird/qcms.h include/thunderbird/qcmstypes.h include/thunderbird/rdf.h include/thunderbird/rdfIDataSource.h include/thunderbird/rdfISerializer.h include/thunderbird/rdfITripleVisitor.h -include/thunderbird/secasn1.h -include/thunderbird/secasn1t.h -include/thunderbird/seccomon.h -include/thunderbird/secder.h -include/thunderbird/secdert.h -include/thunderbird/secdig.h -include/thunderbird/secdigt.h -include/thunderbird/secerr.h -include/thunderbird/sechash.h -include/thunderbird/secitem.h -include/thunderbird/secmime.h -include/thunderbird/secmod.h -include/thunderbird/secmodt.h -include/thunderbird/secoid.h -include/thunderbird/secoidt.h -include/thunderbird/secpkcs5.h -include/thunderbird/secpkcs7.h -include/thunderbird/secport.h -include/thunderbird/shsign.h -include/thunderbird/smime.h -include/thunderbird/ssl.h -include/thunderbird/sslerr.h -include/thunderbird/sslproto.h -include/thunderbird/sslt.h include/thunderbird/steelIApplication.h include/thunderbird/string-template-def-char.h include/thunderbird/string-template-def-unichar.h @@ -2735,37 +2412,9 @@ include/thunderbird/txIFunctionEvaluationContext.h include/thunderbird/txINodeSet.h include/thunderbird/txIXPathObject.h include/thunderbird/uconvutil.h -include/thunderbird/utilrename.h -include/thunderbird/vm/ArgumentsObject.h -include/thunderbird/vm/GlobalObject.h -include/thunderbird/vm/Stack.h include/thunderbird/vm/String.h -include/thunderbird/vm/StringObject.h include/thunderbird/vm/Unicode.h include/thunderbird/vorbis/codec.h -include/thunderbird/vpx/arm.h -include/thunderbird/vpx/config.h -include/thunderbird/vpx/mem.h -include/thunderbird/vpx/scale_mode.h -include/thunderbird/vpx/vp8.h -include/thunderbird/vpx/vp8cx.h -include/thunderbird/vpx/vp8dx.h -include/thunderbird/vpx/vp8e.h -include/thunderbird/vpx/vpx_codec.h -include/thunderbird/vpx/vpx_codec_impl_bottom.h -include/thunderbird/vpx/vpx_codec_impl_top.h -include/thunderbird/vpx/vpx_decoder.h -include/thunderbird/vpx/vpx_decoder_compat.h -include/thunderbird/vpx/vpx_encoder.h -include/thunderbird/vpx/vpx_image.h -include/thunderbird/vpx/vpx_integer.h -include/thunderbird/vpx/vpx_mem.h -include/thunderbird/vpx/vpx_mem_intrnl.h -include/thunderbird/vpx/vpx_timer.h -include/thunderbird/vpx/vpxscale.h -include/thunderbird/vpx/x86.h -include/thunderbird/vpx/yv12config.h -include/thunderbird/vpx/yv12extend.h include/thunderbird/xpcIJSGetFactory.h include/thunderbird/xpcIJSModuleLoader.h include/thunderbird/xpcIJSWeakReference.h @@ -2791,20 +2440,10 @@ lib/thunderbird-sdk/bin lib/thunderbird-sdk/idl lib/thunderbird-sdk/include lib/thunderbird-sdk/lib -lib/thunderbird-sdk/sdk/bin/nspr-config -lib/thunderbird-sdk/sdk/bin/xpidl lib/thunderbird-sdk/sdk/bin/xpt.py -lib/thunderbird-sdk/sdk/lib/libcrmf.a lib/thunderbird-sdk/sdk/lib/libmozalloc.so lib/thunderbird-sdk/sdk/lib/libmozreg_s.a lib/thunderbird-sdk/sdk/lib/libmozreg_s.a.desc -lib/thunderbird-sdk/sdk/lib/libnspr4.so -lib/thunderbird-sdk/sdk/lib/libnss.a -lib/thunderbird-sdk/sdk/lib/libnssutil.a -lib/thunderbird-sdk/sdk/lib/libplc4.so -lib/thunderbird-sdk/sdk/lib/libplds4.so -lib/thunderbird-sdk/sdk/lib/libsmime.a -lib/thunderbird-sdk/sdk/lib/libssl.a lib/thunderbird-sdk/sdk/lib/libunicharutil_external_s.a lib/thunderbird-sdk/sdk/lib/libunicharutil_external_s.a.desc lib/thunderbird-sdk/sdk/lib/libxpcom.so @@ -2915,7 +2554,6 @@ lib/thunderbird/chrome/classic/skin/classic/messenger/icons/arrow/arrow-up-dim.p lib/thunderbird/chrome/classic/skin/classic/messenger/icons/arrow/arrow-up.png lib/thunderbird/chrome/classic/skin/classic/messenger/icons/arrow/foldercycler-arrow-left.png lib/thunderbird/chrome/classic/skin/classic/messenger/icons/arrow/foldercycler-arrow-right.png -lib/thunderbird/chrome/classic/skin/classic/messenger/icons/attachment-col.png lib/thunderbird/chrome/classic/skin/classic/messenger/icons/attachment-deleted-large.png lib/thunderbird/chrome/classic/skin/classic/messenger/icons/attachment-deleted.png lib/thunderbird/chrome/classic/skin/classic/messenger/icons/black_pin.png @@ -2931,13 +2569,11 @@ lib/thunderbird/chrome/classic/skin/classic/messenger/icons/exclude.png lib/thunderbird/chrome/classic/skin/classic/messenger/icons/filter-hover.svg lib/thunderbird/chrome/classic/skin/classic/messenger/icons/filter.svg lib/thunderbird/chrome/classic/skin/classic/messenger/icons/filterbar.png -lib/thunderbird/chrome/classic/skin/classic/messenger/icons/flag-col.png lib/thunderbird/chrome/classic/skin/classic/messenger/icons/folder-blank.png lib/thunderbird/chrome/classic/skin/classic/messenger/icons/folder-new-star.png lib/thunderbird/chrome/classic/skin/classic/messenger/icons/folder-pane.png lib/thunderbird/chrome/classic/skin/classic/messenger/icons/identity.png lib/thunderbird/chrome/classic/skin/classic/messenger/icons/insecure.png -lib/thunderbird/chrome/classic/skin/classic/messenger/icons/junk-col.png lib/thunderbird/chrome/classic/skin/classic/messenger/icons/junk.png lib/thunderbird/chrome/classic/skin/classic/messenger/icons/mail-toolbar-small.png lib/thunderbird/chrome/classic/skin/classic/messenger/icons/mail-toolbar.png @@ -2949,7 +2585,6 @@ lib/thunderbird/chrome/classic/skin/classic/messenger/icons/notchecked.gif lib/thunderbird/chrome/classic/skin/classic/messenger/icons/offline.png lib/thunderbird/chrome/classic/skin/classic/messenger/icons/online.png lib/thunderbird/chrome/classic/skin/classic/messenger/icons/phishing.png -lib/thunderbird/chrome/classic/skin/classic/messenger/icons/readcol.png lib/thunderbird/chrome/classic/skin/classic/messenger/icons/red_pin.png lib/thunderbird/chrome/classic/skin/classic/messenger/icons/remote-blocked.png lib/thunderbird/chrome/classic/skin/classic/messenger/icons/row.png @@ -2958,7 +2593,6 @@ lib/thunderbird/chrome/classic/skin/classic/messenger/icons/secure.png lib/thunderbird/chrome/classic/skin/classic/messenger/icons/server.png lib/thunderbird/chrome/classic/skin/classic/messenger/icons/tab.png lib/thunderbird/chrome/classic/skin/classic/messenger/icons/tabDragIndicator.png -lib/thunderbird/chrome/classic/skin/classic/messenger/icons/thread-col.png lib/thunderbird/chrome/classic/skin/classic/messenger/icons/thread-ignored.png lib/thunderbird/chrome/classic/skin/classic/messenger/icons/thread-watched.png lib/thunderbird/chrome/classic/skin/classic/messenger/icons/thread.png @@ -3222,7 +2856,6 @@ lib/thunderbird/chrome/en-US/locale/en-US/global/tree.dtd lib/thunderbird/chrome/en-US/locale/en-US/global/videocontrols.dtd lib/thunderbird/chrome/en-US/locale/en-US/global/viewSource.dtd lib/thunderbird/chrome/en-US/locale/en-US/global/viewSource.properties -lib/thunderbird/chrome/en-US/locale/en-US/global/webConsole.dtd lib/thunderbird/chrome/en-US/locale/en-US/global/wizard.dtd lib/thunderbird/chrome/en-US/locale/en-US/global/wizard.properties lib/thunderbird/chrome/en-US/locale/en-US/global/xbl.properties @@ -3267,7 +2900,6 @@ lib/thunderbird/chrome/en-US/locale/en-US/messenger/addressbook/abAddressBookNam lib/thunderbird/chrome/en-US/locale/en-US/messenger/addressbook/abCardOverlay.dtd lib/thunderbird/chrome/en-US/locale/en-US/messenger/addressbook/abCardViewOverlay.dtd lib/thunderbird/chrome/en-US/locale/en-US/messenger/addressbook/abContactsPanel.dtd -lib/thunderbird/chrome/en-US/locale/en-US/messenger/addressbook/abDirTreeOverlay.dtd lib/thunderbird/chrome/en-US/locale/en-US/messenger/addressbook/abMailListDialog.dtd lib/thunderbird/chrome/en-US/locale/en-US/messenger/addressbook/abMainWindow.dtd lib/thunderbird/chrome/en-US/locale/en-US/messenger/addressbook/abNewCardDialog.dtd @@ -3537,7 +3169,6 @@ lib/thunderbird/chrome/messenger/content/messenger/addressbook/abCardViewOverlay lib/thunderbird/chrome/messenger/content/messenger/addressbook/abCommon.js lib/thunderbird/chrome/messenger/content/messenger/addressbook/abContactsPanel.js lib/thunderbird/chrome/messenger/content/messenger/addressbook/abContactsPanel.xul -lib/thunderbird/chrome/messenger/content/messenger/addressbook/abDirTreeOverlay.xul lib/thunderbird/chrome/messenger/content/messenger/addressbook/abDragDrop.js lib/thunderbird/chrome/messenger/content/messenger/addressbook/abEditCardDialog.xul lib/thunderbird/chrome/messenger/content/messenger/addressbook/abEditListDialog.xul @@ -4393,7 +4024,6 @@ lib/thunderbird/components/nsSearchService.js lib/thunderbird/components/nsSearchSuggestions.js lib/thunderbird/components/nsSetDefaultMail.js lib/thunderbird/components/nsTaggingService.js -lib/thunderbird/components/nsTryToClose.js lib/thunderbird/components/nsURLFormatter.js lib/thunderbird/components/nsUpdateService.js lib/thunderbird/components/nsUpdateServiceStub.js @@ -4466,24 +4096,10 @@ lib/thunderbird/isp/SpamAssassin.sfd lib/thunderbird/isp/SpamPal.sfd lib/thunderbird/isp/movemail.rdf lib/thunderbird/isp/rss.rdf -lib/thunderbird/libfreebl3.chk -lib/thunderbird/libfreebl3.so lib/thunderbird/libldap60.so lib/thunderbird/libldif60.so lib/thunderbird/libmozalloc.so -lib/thunderbird/libnspr4.so -lib/thunderbird/libnss3.so -lib/thunderbird/libnssckbi.so -lib/thunderbird/libnssdbm3.chk -lib/thunderbird/libnssdbm3.so -lib/thunderbird/libnssutil3.so -lib/thunderbird/libplc4.so -lib/thunderbird/libplds4.so lib/thunderbird/libprldap60.so -lib/thunderbird/libsmime3.so -lib/thunderbird/libsoftokn3.chk -lib/thunderbird/libsoftokn3.so -lib/thunderbird/libssl3.so lib/thunderbird/libxpcom.so lib/thunderbird/libxul.so lib/thunderbird/modules/AddonLogging.jsm @@ -4637,8 +4253,6 @@ share/idl/thunderbird/amIWebInstallListener.idl share/idl/thunderbird/amIWebInstaller.idl share/idl/thunderbird/domstubs.idl share/idl/thunderbird/extIApplication.idl -share/idl/thunderbird/gfxIFormats.idl -share/idl/thunderbird/gfxidltypes.idl share/idl/thunderbird/imgICache.idl share/idl/thunderbird/imgIContainer.idl share/idl/thunderbird/imgIContainerDebug.idl @@ -4832,7 +4446,6 @@ share/idl/thunderbird/nsICharsetConverterManager.idl share/idl/thunderbird/nsICharsetResolver.idl share/idl/thunderbird/nsIChildChannel.idl share/idl/thunderbird/nsIChromeRegistry.idl -share/idl/thunderbird/nsICipherInfo.idl share/idl/thunderbird/nsIClassInfo.idl share/idl/thunderbird/nsIClientAuthDialogs.idl share/idl/thunderbird/nsIClipboard.idl @@ -4956,7 +4569,6 @@ share/idl/thunderbird/nsIDOMElement.idl share/idl/thunderbird/nsIDOMElementCSSInlineStyle.idl share/idl/thunderbird/nsIDOMElementTimeControl.idl share/idl/thunderbird/nsIDOMEvent.idl -share/idl/thunderbird/nsIDOMEventException.idl share/idl/thunderbird/nsIDOMEventListener.idl share/idl/thunderbird/nsIDOMEventTarget.idl share/idl/thunderbird/nsIDOMFile.idl @@ -4994,7 +4606,6 @@ share/idl/thunderbird/nsIDOMHTMLDataListElement.idl share/idl/thunderbird/nsIDOMHTMLDirectoryElement.idl share/idl/thunderbird/nsIDOMHTMLDivElement.idl share/idl/thunderbird/nsIDOMHTMLDocument.idl -share/idl/thunderbird/nsIDOMHTMLElement.idl share/idl/thunderbird/nsIDOMHTMLEmbedElement.idl share/idl/thunderbird/nsIDOMHTMLFieldSetElement.idl share/idl/thunderbird/nsIDOMHTMLFontElement.idl @@ -5068,15 +4679,9 @@ share/idl/thunderbird/nsIDOMMutationEvent.idl share/idl/thunderbird/nsIDOMNSEditableElement.idl share/idl/thunderbird/nsIDOMNSElement.idl share/idl/thunderbird/nsIDOMNSEvent.idl -share/idl/thunderbird/nsIDOMNSHTMLElement.idl -share/idl/thunderbird/nsIDOMNSHTMLFrameElement.idl -share/idl/thunderbird/nsIDOMNSHTMLOptionCollectn.idl -share/idl/thunderbird/nsIDOMNSMouseEvent.idl share/idl/thunderbird/nsIDOMNSRGBAColor.idl share/idl/thunderbird/nsIDOMNSRange.idl -share/idl/thunderbird/nsIDOMNSUIEvent.idl share/idl/thunderbird/nsIDOMNSXPathExpression.idl -share/idl/thunderbird/nsIDOMNameList.idl share/idl/thunderbird/nsIDOMNamedNodeMap.idl share/idl/thunderbird/nsIDOMNavigator.idl share/idl/thunderbird/nsIDOMNavigatorDesktopNotification.idl @@ -5355,7 +4960,6 @@ share/idl/thunderbird/nsIGfxInfo.idl share/idl/thunderbird/nsIGfxInfoDebug.idl share/idl/thunderbird/nsIGlobalHistory.idl share/idl/thunderbird/nsIGlobalHistory2.idl -share/idl/thunderbird/nsIGlobalHistory3.idl share/idl/thunderbird/nsIGnomeVFSService.idl share/idl/thunderbird/nsIHTMLAbsPosEditor.idl share/idl/thunderbird/nsIHTMLEditor.idl @@ -5392,7 +4996,6 @@ share/idl/thunderbird/nsIIDBObjectStore.idl share/idl/thunderbird/nsIIDBRequest.idl share/idl/thunderbird/nsIIDBTransaction.idl share/idl/thunderbird/nsIIDBVersionChangeEvent.idl -share/idl/thunderbird/nsIIDBVersionChangeRequest.idl share/idl/thunderbird/nsIIDNService.idl share/idl/thunderbird/nsIIFrameBoxObject.idl share/idl/thunderbird/nsIIMEPicker.idl @@ -5766,7 +5369,6 @@ share/idl/thunderbird/nsIScriptSecurityManager.idl share/idl/thunderbird/nsIScriptableBase64Encoder.idl share/idl/thunderbird/nsIScriptableDateFormat.idl share/idl/thunderbird/nsIScriptableInputStream.idl -share/idl/thunderbird/nsIScriptableInterfaces.idl share/idl/thunderbird/nsIScriptableRegion.idl share/idl/thunderbird/nsIScriptableUConv.idl share/idl/thunderbird/nsIScriptableUnescapeHTML.idl @@ -5852,7 +5454,6 @@ share/idl/thunderbird/nsITimedChannel.idl share/idl/thunderbird/nsITimer.idl share/idl/thunderbird/nsITokenDialogs.idl share/idl/thunderbird/nsITokenPasswordDialogs.idl -share/idl/thunderbird/nsIToolkit.idl share/idl/thunderbird/nsIToolkitChromeRegistry.idl share/idl/thunderbird/nsIToolkitProfile.idl share/idl/thunderbird/nsIToolkitProfileService.idl @@ -6004,5 +5605,125 @@ share/idl/thunderbird/xpcIJSWeakReference.idl share/idl/thunderbird/xpccomponents.idl share/idl/thunderbird/xpcexception.idl share/idl/thunderbird/xpcjsid.idl +share/idl/thunderbird/IJSDebugger.idl +share/idl/thunderbird/nsIDOMBatteryManager.idl +share/idl/thunderbird/nsIDOMCompositionEvent.idl +share/idl/thunderbird/nsIDOMHTMLElement.idl +share/idl/thunderbird/nsIDOMNavigatorBattery.idl +share/idl/thunderbird/nsIIDBOpenDBRequest.idl +share/idl/thunderbird/nsIInlineEventHandlers.idl +share/idl/thunderbird/nsIUrlClassifierPrefixSet.idl share/pixmaps/thunderbird.png +include/thunderbird/IJSDebugger.h +include/thunderbird/LayerSorter.h +include/thunderbird/chromium_types.h +include/thunderbird/comi18n.h +include/thunderbird/dombindings_gen.h +include/thunderbird/ds/BitArray.h +include/thunderbird/ds/LifoAlloc.h +include/thunderbird/gc/Statistics.h +include/thunderbird/gfxLineSegment.h +include/thunderbird/gfxPointH3D.h +include/thunderbird/gfxQuad.h +include/thunderbird/gfxQuaternion.h +include/thunderbird/js/HashTable.h +include/thunderbird/js/TemplateLib.h +include/thunderbird/js/Utility.h +include/thunderbird/js/Vector.h +include/thunderbird/jsclass.h +include/thunderbird/jscpucfg.h +include/thunderbird/mozilla/CharTokenizer.h +include/thunderbird/mozilla/Hal.h +include/thunderbird/mozilla/HalImpl.h +include/thunderbird/mozilla/HalSandbox.h +include/thunderbird/mozilla/LookAndFeel.h +include/thunderbird/mozilla/MapsMemoryReporter.h +include/thunderbird/mozilla/Observer.h +include/thunderbird/mozilla/a11y/FocusManager.h +include/thunderbird/mozilla/dom/TabMessageUtils.h +include/thunderbird/mozilla/dom/battery/Constants.h +include/thunderbird/mozilla/dom/battery/Types.h +include/thunderbird/mozilla/gfx/BasePoint4D.h +include/thunderbird/mozilla/gfx/PathHelpers.h +include/thunderbird/mozilla/layout/FrameChildList.h +include/thunderbird/mozilla/places/Database.h +include/thunderbird/mozilla/plugins/NPEventUnix.h +include/thunderbird/nsHtml5DependentUTF16Buffer.h +include/thunderbird/nsHtml5OwningUTF16Buffer.h +include/thunderbird/nsIDOMBatteryManager.h +include/thunderbird/nsIDOMCompositionEvent.h +include/thunderbird/nsIDOMMouseEvent.h +include/thunderbird/nsIDOMNavigatorBattery.h +include/thunderbird/nsIIDBOpenDBRequest.h +include/thunderbird/nsIInlineEventHandlers.h +include/thunderbird/nsIUrlClassifierPrefixSet.h +include/thunderbird/nsrootidl.h +include/thunderbird/sampler.h +include/thunderbird/sps_sampler.h +include/thunderbird/vm/StackSpace.h +lib/thunderbird-sdk/sdk/bin/header.py +lib/thunderbird-sdk/sdk/bin/ply/__init__.py +lib/thunderbird-sdk/sdk/bin/ply/lex.py +lib/thunderbird-sdk/sdk/bin/ply/yacc.py +lib/thunderbird-sdk/sdk/bin/typelib.py +lib/thunderbird-sdk/sdk/bin/xpidl.py +lib/thunderbird/chrome/classic/skin/classic/messenger/icons/attachment-col.svg +lib/thunderbird/chrome/classic/skin/classic/messenger/icons/button-archive.svg +lib/thunderbird/chrome/classic/skin/classic/messenger/icons/button-delete.svg +lib/thunderbird/chrome/classic/skin/classic/messenger/icons/button-forward.svg +lib/thunderbird/chrome/classic/skin/classic/messenger/icons/button-junk.svg +lib/thunderbird/chrome/classic/skin/classic/messenger/icons/button-reply-all.svg +lib/thunderbird/chrome/classic/skin/classic/messenger/icons/button-reply-list.svg +lib/thunderbird/chrome/classic/skin/classic/messenger/icons/button-reply.svg +lib/thunderbird/chrome/classic/skin/classic/messenger/icons/columnpicker.svg +lib/thunderbird/chrome/classic/skin/classic/messenger/icons/flag-col.svg +lib/thunderbird/chrome/classic/skin/classic/messenger/icons/junk-col.svg +lib/thunderbird/chrome/classic/skin/classic/messenger/icons/readcol.svg +lib/thunderbird/chrome/classic/skin/classic/messenger/icons/search-favorite.png +lib/thunderbird/chrome/classic/skin/classic/messenger/icons/thread-col.svg +lib/thunderbird/chrome/classic/skin/classic/messenger/newmailaccount/accountProvisioner.css +lib/thunderbird/chrome/classic/skin/classic/messenger/newmailaccount/search.gif +lib/thunderbird/chrome/classic/skin/classic/messenger/newmailaccount/search.png +lib/thunderbird/chrome/classic/skin/classic/messenger/newmailaccount/spinner.gif +lib/thunderbird/chrome/classic/skin/classic/messenger/newmailaccount/success-addons.png +lib/thunderbird/chrome/classic/skin/classic/messenger/newmailaccount/success-border.png +lib/thunderbird/chrome/classic/skin/classic/messenger/newmailaccount/success-compose.png +lib/thunderbird/chrome/classic/skin/classic/messenger/newmailaccount/success-signature.png +lib/thunderbird/chrome/classic/skin/classic/messenger/webSearch.css +lib/thunderbird/chrome/en-US/locale/en-US/feedback/main.dtd +lib/thunderbird/chrome/en-US/locale/en-US/feedback/main.properties +lib/thunderbird/chrome/en-US/locale/en-US/global/layout/htmlparser.properties +lib/thunderbird/chrome/en-US/locale/en-US/messenger/newmailaccount/accountProvisioner.dtd +lib/thunderbird/chrome/en-US/locale/en-US/messenger/newmailaccount/accountProvisioner.properties +lib/thunderbird/chrome/en-US/locale/en-US/messenger/telemetry.properties +lib/thunderbird/chrome/messenger/content/messenger/newmailaccount/accountProvisioner.js +lib/thunderbird/chrome/messenger/content/messenger/newmailaccount/accountProvisioner.xhtml +lib/thunderbird/chrome/messenger/content/messenger/newmailaccount/jquery.scrollTo.js +lib/thunderbird/chrome/messenger/content/messenger/newmailaccount/jquery.tmpl.js +lib/thunderbird/chrome/messenger/content/messenger/newmailaccount/uriListener.js +lib/thunderbird/chrome/messenger/content/messenger/plugins.js +lib/thunderbird/chrome/messenger/content/messenger/webSearch.xml +lib/thunderbird/chrome/messenger/content/messenger/webSearchTab.js +lib/thunderbird/chrome/messenger/content/messenger/webSearchTab.xul +lib/thunderbird/chrome/toolkit/skin/classic/mozapps/extensions/category-dictionaries.png +lib/thunderbird/chrome/toolkit/skin/classic/mozapps/extensions/dictionaryGeneric-16.png +lib/thunderbird/chrome/toolkit/skin/classic/mozapps/extensions/dictionaryGeneric.png +lib/thunderbird/components/webSearchProvider.js +lib/thunderbird/hyphenation/hyph_hu.dic +lib/thunderbird/hyphenation/hyph_it.dic +lib/thunderbird/hyphenation/hyph_tr.dic +lib/thunderbird/modules/ChromeManifestParser.jsm +lib/thunderbird/modules/ConsoleAPIStorage.jsm +lib/thunderbird/modules/SpellCheckDictionaryBootstrap.js +lib/thunderbird/modules/distribution.js +lib/thunderbird/modules/glodaWebSearch.js +lib/thunderbird/modules/jsdebugger.jsm +lib/thunderbird/searchplugins/amazondotcom.xml +lib/thunderbird/searchplugins/aol-web-search.xml +lib/thunderbird/searchplugins/bing.xml +lib/thunderbird/searchplugins/eBay.xml +lib/thunderbird/searchplugins/google.xml +lib/thunderbird/searchplugins/twitter.xml +lib/thunderbird/searchplugins/wikipedia.xml +lib/thunderbird/searchplugins/yahoo.xml @pkgdir include/thunderbird/nss diff --git a/mail/thunderbird/PLIST.enigmail b/mail/thunderbird/PLIST.enigmail index de1243f6db7..cdc1c4cb350 100644 --- a/mail/thunderbird/PLIST.enigmail +++ b/mail/thunderbird/PLIST.enigmail @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST.enigmail,v 1.3 2011/08/19 14:39:09 tnn Exp $ +@comment $NetBSD: PLIST.enigmail,v 1.4 2012/03/10 11:42:38 ryoon Exp $ lib/thunderbird/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/chrome.manifest lib/thunderbird/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/chrome/enigmail.jar lib/thunderbird/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/components/enigMsgCompFields.js @@ -13,6 +13,8 @@ lib/thunderbird/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/install.rdf lib/thunderbird/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/modules/commonFuncs.jsm lib/thunderbird/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/modules/enigmailCommon.jsm lib/thunderbird/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/modules/subprocess.jsm +lib/thunderbird/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/modules/subprocess_worker_unix.js +lib/thunderbird/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/modules/subprocess_worker_win.js lib/thunderbird/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/platform/${OPSYS}_${TARGET_XPCOM_ABI}/components/libenigmime-${TARGET_XPCOM_ABI}.so lib/thunderbird/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/platform/${OPSYS}_${TARGET_XPCOM_ABI}/components/libipc-${TARGET_XPCOM_ABI}.so lib/thunderbird/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/wrappers/gpg-agent-wrapper.sh diff --git a/mail/thunderbird/PLIST.lightning b/mail/thunderbird/PLIST.lightning index 61860bc06c7..e083b72d182 100644 --- a/mail/thunderbird/PLIST.lightning +++ b/mail/thunderbird/PLIST.lightning @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST.lightning,v 1.6 2011/11/13 16:59:58 tnn Exp $ +@comment $NetBSD: PLIST.lightning,v 1.7 2012/03/10 11:42:38 ryoon Exp $ include/thunderbird/calIAlarm.h include/thunderbird/calIAlarmService.h include/thunderbird/calIAttachment.h @@ -405,3 +405,7 @@ share/idl/thunderbird/calIWcapErrors.idl share/idl/thunderbird/calIWcapSession.idl share/idl/thunderbird/calIWeekInfoService.idl share/idl/thunderbird/calInternalInterfaces.idl +include/thunderbird/calICalendarACLManager.h +lib/thunderbird/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/components/calDefaultACLManager.js +lib/thunderbird/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/components/calDefaultACLManager.manifest +share/idl/thunderbird/calICalendarACLManager.idl diff --git a/mail/thunderbird/distinfo b/mail/thunderbird/distinfo index ea88d0b718d..6281b27ea1a 100644 --- a/mail/thunderbird/distinfo +++ b/mail/thunderbird/distinfo @@ -1,87 +1,117 @@ -$NetBSD: distinfo,v 1.87 2011/12/23 01:16:27 joerg Exp $ +$NetBSD: distinfo,v 1.88 2012/03/10 11:42:38 ryoon Exp $ -SHA1 (enigmail-1.3.3.tar.gz) = a6d61b6dbdcfdb0dc4eaa8aac1b6277fed65c8c5 -RMD160 (enigmail-1.3.3.tar.gz) = 4c7ab726052b566f913612cfbdd767714486bf9c -Size (enigmail-1.3.3.tar.gz) = 1367995 bytes -SHA1 (thunderbird-8.0.source.tar.bz2) = 18b77e44f1653eb3d59056870f535e3c373d99fd -RMD160 (thunderbird-8.0.source.tar.bz2) = 373420ec009a7f28f12a64a0d55e9d959573974e -Size (thunderbird-8.0.source.tar.bz2) = 89435206 bytes -SHA1 (patch-aa) = 19166ee99b804e5b05d6936a2a09315eb29f9ca2 -SHA1 (patch-aa-toplevel) = b5278820a02405f03e328ba4dd217ef16ae52bcb -SHA1 (patch-ab) = c2bffac6626ce22d15855a80d84ffac6cbd52fe2 -SHA1 (patch-ac) = cbbc17c71dd96969079fc7268b15f822a29d01aa -SHA1 (patch-ad) = f49147e2fa28400986b659ec50918e3835db0105 -SHA1 (patch-ae) = 7cb8cbf920fe5fae7bfe7ace98e93fcf2c506789 -SHA1 (patch-af) = 16cae98e043dedeb6331212fd15ce914196fe8c7 -SHA1 (patch-ag) = 22cca24b67c85fbf9bafb35441dfcb460ecde6bf -SHA1 (patch-ah) = 10c80ec60801295b037b4a45fbad8937922da235 -SHA1 (patch-ai) = 4d701ece9a2aaa0b640c189745fa7e731617fb7c -SHA1 (patch-aj) = c6d14934700c2f9fc12c00474ef321f8265f4527 -SHA1 (patch-ak) = bf763083d8a2986d82e8613c40ed7c99722c82c4 -SHA1 (patch-al) = 616f500ba2af8f522454858ed0d845a127f41a96 -SHA1 (patch-am) = 81bcda476a7b54050ed1ae87bd47cf9de8f19919 -SHA1 (patch-an) = e30362e1a07c6c8e96dc81d134517685c3f19ca9 -SHA1 (patch-ao) = 42c268711a8bb24c3bde3c5bf74bb5a9f73ff21a -SHA1 (patch-as) = 0724caef986c0288b24bedb7b3acd384536d376f -SHA1 (patch-at) = 32fcebfa1f3778a1fa1e020002060db433e8491b -SHA1 (patch-au) = 1bf6913c702c7d586d73603597efae0e39f2b49f -SHA1 (patch-av) = 2cb2e3d5b94f7b83117eb752d4410638daa6ae73 -SHA1 (patch-aw) = 55d2769dfb6d0c65bd2072c1a7c82cfef0fd5404 -SHA1 (patch-ax) = 4d0b83ab7592ee8c674a176e64dbc3ddb5b9d3b5 -SHA1 (patch-ay) = 83d023cd43beb08b17f1161fe025959ca441e1ce -SHA1 (patch-az) = 0e04c1c740ad3f1462a6cda4a3832378acefb600 -SHA1 (patch-ba) = fd28f3b24848e7221078ef692eef7ccae8625987 -SHA1 (patch-bd) = c2296fe47f6f9e38d424ef27ca367a257188e2d1 -SHA1 (patch-be) = 8783683729e40b5deec2e33fbc50e63e1357aea3 -SHA1 (patch-bf) = b95177e3a5db42bf4edf59eaae5232910c802d69 -SHA1 (patch-bg) = b30ecac3ee44d749a3eb125bbcd5e24e31b23243 -SHA1 (patch-bi) = c47064c71c6fc960a1a9afb735f249f3f7d0d09d -SHA1 (patch-directory_c-sdk_ldap_include_portable.h) = 5f9f69ac57da0c830f2fa33e82057a1eb5907249 -SHA1 (patch-ipc_chromium_src_base_debug__util__posic.cc) = bc98be56df67b1a3c2b1174613f0d6c3134a2c8e -SHA1 (patch-ipc_chromium_src_base_file__util.h) = 51dc4a5a32da8e7d7eb3c026e3ebaae7858564cf -SHA1 (patch-ipc_chromium_src_base_file__util__posix.cc) = ce60e80e3ddc417c1fa867f6f4258aece166fc51 -SHA1 (patch-ipc_chromium_src_base_platform__file__posix.cc) = 3c83eeb7f40416b61a799ca55b223a93353f7f6a -SHA1 (patch-ipc_chromium_src_base_platform__thread__posix.cc) = 0c493e4ae0e8ce5c65577667bb301ffa1ac60b5c -SHA1 (patch-ipc_chromium_src_base_sys__info__posix.cc) = b48db50737a961b1dce9f8a212a81eb393b7bf83 -SHA1 (patch-ipc_chromium_src_base_third__party_nspr_prcpucfg.h) = 648804b5b2cccba36ac14e693f5dac16c55dcb32 -SHA1 (patch-ipc_chromium_src_build_build__config.h) = be592fd638b42f1a34a7b01827c2ca59f225144b -SHA1 (patch-ipc_chromium_src_chrome_common_ipc__channel__posix.h) = 202f215aa78b3325b1ea1d68be5b49d46bc10dd0 -SHA1 (patch-ma) = 9b9bc5e5ced5831aa14e1549ed2ddf0b9c2ce986 -SHA1 (patch-ma-toplevel) = 67ea79e29f6e9737ce76b8541ab8b3860eb02561 -SHA1 (patch-mb) = 8481afe61902cb16dfe35a5ee015cb4d43a54236 -SHA1 (patch-md) = 932c2b0237c9690da06533f0abfeabddf32d8f3e -SHA1 (patch-me) = 66c15af6d7b07a4fec7ecd06cb9c9278b35a123e -SHA1 (patch-mf) = 14674ed31c912ef647a913cb93762dc963b96177 -SHA1 (patch-mg) = f33a92539ebe171b7bbbd83a54ad9ac2fdca249a -SHA1 (patch-mh) = 9f1b447ef0236ac10b88c8d6f6d62cde4acb4331 -SHA1 (patch-mi) = c49e917409c0542e69f57fe5571a16b6c2e4aa9a -SHA1 (patch-mj) = 9b28802eb665a7a77e879ec44e9da52e2e79ec8b -SHA1 (patch-mk) = 3c25934e0c7b9277d96a5635b961e1fb6682ab7b -SHA1 (patch-ml) = ef7d87fff48f298f4c1ed037439eaf8c7c574f68 -SHA1 (patch-mm) = f54286fe1acef3202d728b3e83cbd65cffe8ab12 -SHA1 (patch-mn) = 3a1c25a3f5a1532331424fc1e720f35cd0ed5d5b -SHA1 (patch-mozilla_xpcom_idl-parser_header.py) = 38313ee3f2f7b45d4968c08be0af3ff36560baff -SHA1 (patch-mp) = 673ba7fb0426d13699ead5fbcf762d8adb6baf40 -SHA1 (patch-pa) = a41a2dadd3b1c902f85632a4b57008a789b269bc -SHA1 (patch-pb) = 11dada932534519ccf54998d027cf6f69d7b0d1d -SHA1 (patch-pc) = 44e3f13be743971839e62fa313000ebc30275ed4 -SHA1 (patch-pd) = 1f12080244c75f42e4edbe623a15fd2ac6abd6d4 -SHA1 (patch-pg) = e022af26945893d2a61ec4ca3a414ccb6150a235 -SHA1 (patch-rc) = b3b0577e9421fcdcab5bcd29ab7fa12d2ba2ac45 -SHA1 (patch-security_nss_cmd_shlibsign_sign.sh) = 3e0170a8eb75cb42fdce529c3bbc67b6aaa29500 -SHA1 (patch-toolkit_toolkit-tiers.mk) = 76de271f8a2b08cc3b809e3c1635a1313d3feced -SHA1 (patch-xa) = 0acaf27d8687c7cb5a46fc3773097a3dea4c75d9 -SHA1 (patch-xb) = 07a90e393dbb38a98e8d9954387757d21d3e65cf -SHA1 (patch-xc) = 98c8b4193dde73f28747c8ac870071f1debbe9f0 -SHA1 (patch-xd) = 927a73f9ba1f516a10e83dbe5f00744acc6a88df -SHA1 (patch-xe) = 945bce0dc7347392b992b9698597d8584557d51e -SHA1 (patch-xf) = 34d671d4e615a694e3add3303eaae5e23c7df3ac -SHA1 (patch-xg) = 4fdf27307cfb3bf3cb33440da75704b149fc2aaa -SHA1 (patch-xj) = 452d87313b29510fb02e804545c17193e2c822bf -SHA1 (patch-xk) = b50b34041b75b1590f021592b1e26893ae458a01 -SHA1 (patch-xl) = 1425f9e5fd0dc49f3204730d1d88b9600d6475e4 -SHA1 (patch-xm) = 270e762936fe686cc55b820d52e15421b27c7c2c -SHA1 (patch-xn) = edd741e4e71ecb44fc58750727aac473ff2e628e -SHA1 (patch-xo) = 02c913b01bba8afd70ea28c0dd752ebf4b696e0c -SHA1 (patch-zb) = ab62310f88491255a959824f327829bfab3e2991 -SHA1 (patch-zc) = 0b06b5c77ea4eb4a6b845eaeb4ec82a96d5cc4c3 +SHA1 (enigmail-1.4.tar.gz) = 1ee4bcd8d38685af44c1aeeea4fbba7bf30513e4 +RMD160 (enigmail-1.4.tar.gz) = b3c717e150c826faae1daa09806e07dd16619c51 +Size (enigmail-1.4.tar.gz) = 1323467 bytes +SHA1 (thunderbird-10.0.2.source.tar.bz2) = 8d41582f8faa7ddf1d5f6d00a7dc83def3cbf6ee +RMD160 (thunderbird-10.0.2.source.tar.bz2) = d2fa74adc6c93e0366911b64eec74abbc7821cdd +Size (thunderbird-10.0.2.source.tar.bz2) = 97709124 bytes +SHA1 (patch-aa) = a6787e51004112a2056fd695c44c8610ffcc0d60 +SHA1 (patch-aa-toplevel) = dfff316c77e468a3720f3d18e9edfc67059fc0e1 +SHA1 (patch-ab) = 6e243fcf826226330d6b62548838393bb1cbafb5 +SHA1 (patch-ac) = ade505e90d9e7dd90dedb711011be22a2a5c67f4 +SHA1 (patch-ad) = d6bad741c4bdfdd0ee0ca8062c2121ce82eb7fb0 +SHA1 (patch-ae) = 2627a9f9dfcbb03474c5e003cab9c8c6cc5dafa1 +SHA1 (patch-af) = 5a7112ce46f9a3843a78ae0a234527080c04f529 +SHA1 (patch-ag) = 40e9b2f82d7267ab0822a5f3b5120a0ef6e977cf +SHA1 (patch-ai) = f03ec2d47f1a4772ec567cd38a79b841a4c0022e +SHA1 (patch-aj) = 2a06c22133a05c51f56c4cf6650dcb6ae031ab06 +SHA1 (patch-ak) = 1b9038728e0e4d3cc23fd6a74d3d48759d77cbdd +SHA1 (patch-al) = f12eb736f87a779becdd10631314ee5f8f88f080 +SHA1 (patch-am) = 108252ed517d9388f2a6c70ffa15782045ae23d5 +SHA1 (patch-an) = 7fe9f52b2825bb2db6835a431dc4a140d4984fc7 +SHA1 (patch-ao) = 644c4fcb52b3552fab5d7c5960205bf7a78a90c2 +SHA1 (patch-as) = a3dae1a6687d0e23193807783948b7aa146e1587 +SHA1 (patch-at) = 519a2d835e0cc9183bf7a899aee382fae72c3d5e +SHA1 (patch-au) = 23a04bb48df4e54c058f09ab9036d4766d1f9e3e +SHA1 (patch-av) = 1ef659c3fe6ecdaabc247b04d8f002f2d860602d +SHA1 (patch-aw) = 480343cbefae9249f57948047d94f28312db94d4 +SHA1 (patch-ax) = a4c9d23fb9948995e57bbc915302d191282b6ceb +SHA1 (patch-ay) = f1d70709ac86475131f6b9cfd5b942bbda37cea4 +SHA1 (patch-az) = 67cbe6fd7e09692f095ce2bfd76f0f554eec240d +SHA1 (patch-ba) = b015d5d067e21d134517410f68be43f414ffe669 +SHA1 (patch-bd) = 7d23bbf11b84aaad5f2c39bb68b95ecfc7def6b5 +SHA1 (patch-bf) = bfee07121770f85a1a5f85ee6b9ac4c97066d109 +SHA1 (patch-bg) = 9fcb2b715d5d2fdec3dceef63aa1dbbd5d40a377 +SHA1 (patch-bi) = 40fe7fb45d2bce5c783cb3277a2b45e86ac84777 +SHA1 (patch-directory_c-sdk_ldap_include_portable.h) = 1267429d7c38dd8d18132bd2afe6d0ffb1ea5062 +SHA1 (patch-ipc_chromium_src_base_debug__util__posic.cc) = b6c0d2866075e02364e6ce497e4a08670f97d969 +SHA1 (patch-ipc_chromium_src_base_file__util.h) = 8009f5d95351778445b95bffb9628a4a60604bd7 +SHA1 (patch-ipc_chromium_src_base_file__util__posix.cc) = 924f9f08e669b0bb2de6f057a6b73437451717a3 +SHA1 (patch-ipc_chromium_src_base_platform__file__posix.cc) = a46f6f521fed6b20790adf2e61e8c8035ed82e62 +SHA1 (patch-ipc_chromium_src_base_platform__thread__posix.cc) = 390225a35ddbee30c267ecb49e6e94528688d6a9 +SHA1 (patch-ipc_chromium_src_base_sys__info__posix.cc) = 41dfad0a3832617f35ffd5ad28b46629af0a4e39 +SHA1 (patch-ipc_chromium_src_base_third__party_nspr_prcpucfg.h) = 953144000b151c3f66a853fbceedffb2c59af1fe +SHA1 (patch-ipc_chromium_src_build_build__config.h) = 70f999b89dd404d9c570df392f2ebb73b2fd566f +SHA1 (patch-ipc_chromium_src_chrome_common_ipc__channel__posix.h) = baca4a739d33af57603ed59daa1f70cd7f27c643 +SHA1 (patch-ma) = 3ddbfa886f3bd575846aab40aad897d19b888c9d +SHA1 (patch-ma-toplevel) = b1d2f38dfa6dece871dcf7670fe4e82c490ab03c +SHA1 (patch-mb) = e56283233f9508257e29df55c02ba5664c9f08ed +SHA1 (patch-md) = fe60fd55649258fc5aa28cf754bf9a2b257b7c69 +SHA1 (patch-me) = 9439d2e31355e618d35168b0458bc244d51459e9 +SHA1 (patch-mf) = d2dbde7b881ee91f6058c6eee36ca95b3f5097b1 +SHA1 (patch-mg) = 904a84151c98248a40262c79d6e25321d0184962 +SHA1 (patch-mh) = 35867e11fdaf63b204ebe1ede8b2af4fe53a221f +SHA1 (patch-mi) = f880cbc91e0d82cb6dc12ca06791f7ae5b9e3fa4 +SHA1 (patch-mj) = 92ff1555456133685f2b78237a39af57c4199acf +SHA1 (patch-mk) = 1dd0679019942c9c17501174331496f55fb1d028 +SHA1 (patch-ml) = 37efa4fb1a6b64a02dbc8b7333825111d1ccbda3 +SHA1 (patch-mm) = e9b4e83d4fee0aee0c56f85f0a320587184e2cf4 +SHA1 (patch-mn) = 043ff332b494ddc9dfff3286a4c7e296a9b352f4 +SHA1 (patch-mozilla_browser_confvars.sh) = 8276dc53ffc4ed6b806f4cf34b606cba214e01d5 +SHA1 (patch-mozilla_build_autoconf_gcc-pr49911.m4) = 84f15ee18c95829b19127b6efa46e57380528315 +SHA1 (patch-mozilla_build_autoconf_nss.m4) = 3344fd1a92508acf627371cebbb43b6f603652d5 +SHA1 (patch-mozilla_dom_plugins_ipc_PluginModuleChild.cpp) = 2b8ad715181bd74966dcd941aead2c84658ad8a1 +SHA1 (patch-mozilla_dom_plugins_ipc_PluginModuleChild.h) = d2e60d0809eccb651ec8b17663a524004602c2db +SHA1 (patch-mozilla_ipc_chromium_Makefile.in) = fc1e445bae48da5b3d4f97bf78b7ef3870032a06 +SHA1 (patch-mozilla_ipc_chromium_chromium-config.mk) = bb71e814399606794e10f9f5a1ece4dc06ce1c0d +SHA1 (patch-mozilla_ipc_chromium_src_base_base__paths.h) = 8becedc1754721a913384a5d31d121f9f04418ab +SHA1 (patch-mozilla_ipc_chromium_src_base_file__util__bsd.cc) = ec55788a5b24f331a54d242c688bb68b657b71bd +SHA1 (patch-mozilla_ipc_chromium_src_base_message__loop.cc) = 2a437553e275ed620e27564f13868a8fcf118e12 +SHA1 (patch-mozilla_ipc_chromium_src_base_platform__thread.h) = 61a7c02dad19b43a3b2a5ae344179247e2a2b68d +SHA1 (patch-mozilla_ipc_chromium_src_base_process__util.h) = e76cd9f3e3ee9aaadf370e5b2caa0c9aabad2fec +SHA1 (patch-mozilla_ipc_chromium_src_base_process__util__bsd.cc) = 66814937d118722757803a07d4349a32c0c52740 +SHA1 (patch-mozilla_ipc_chromium_src_base_process__util__posix.cc) = 3e1c0e528f1f0a4fe846210fa62f700a9ea62179 +SHA1 (patch-mozilla_ipc_chromium_src_base_third__party_nspr_prtime.cc) = 55eb4ea80c65ecff08e2cda70e3dc3c9acf951b8 +SHA1 (patch-mozilla_ipc_chromium_src_chrome_common_ipc__message__utils.h) = f55a0be54139ed8263aefcf1bd43e32cb93c7650 +SHA1 (patch-mozilla_ipc_chromium_src_chrome_common_transport__dib.h) = c451010a3d2c638e70e1fcec876b20eea28cf2cf +SHA1 (patch-mozilla_ipc_glue_GeckoChildProcessHost.cpp) = 3b4b7d9feacd477e89bfbb2bcebb3becfb8b1827 +SHA1 (patch-mozilla_js_src_build_autoconf_gcc-pr49911.m4) = 8aa13cbba888f0c077137686a7c9c791de58d800 +SHA1 (patch-mozilla_js_src_jscpucfg.h) = 88a31fd62eda3bd7f95cae076a83b418e97e8412 +SHA1 (patch-mozilla_js_src_methodjit_MethodJIT.cpp) = c27d2e4105ea47a0fe2bec42ed2e9192db925c8c +SHA1 (patch-mozilla_js_src_yarr_pcre_pcre.h) = 7d450964eba9c64cad932075c714087047fc8642 +SHA1 (patch-mozilla_media_libvpx_vpx__config.h) = cb7bb829ea120f6d295de7807b13e4c720b3f88f +SHA1 (patch-mozilla_media_libvpx_vpx__config__c.c) = 0e04badaf5ff4b04a313cf9bb40727d87202051f +SHA1 (patch-mozilla_nsprpub_pr_include_md___dragonfly.cfg) = 1496442dfa274cab6622db350c138635e6cf7376 +SHA1 (patch-mozilla_nsprpub_pr_include_md___pth.h) = b8aab2979a289512b93e04bc3bbc38845029719d +SHA1 (patch-mozilla_nsprpub_pr_include_md_prosdep.h) = 576fc831d79e9594c1f90907d53e4fbc17f4644a +SHA1 (patch-mozilla_nsprpub_pr_src_md_unix_uxrng.c) = 2f2781c848e12a21e48c9924de6824ab269dae86 +SHA1 (patch-mozilla_nsprpub_pr_src_pthreads_ptio.c) = 427757f6f67c900b748c8a9f64136006e9f36786 +SHA1 (patch-mozilla_nsprpub_pr_src_pthreads_ptsynch.c) = 211775055f7693814f1431f1c2eab623adeda8c2 +SHA1 (patch-mozilla_xpcom_Makefile.in) = 9428dfcb63383b400a612109688de83666307ccd +SHA1 (patch-mozilla_xpcom_idl-parser_header.py) = 20576ed95f52b4511e1c44bce7d682574b85f630 +SHA1 (patch-mozilla_xulrunner_app_Makefile.in) = b2273dad40cb3b6b492836cdbb7ec2ef7ef3aeac +SHA1 (patch-mp) = c9bafe6774355e15902eca88eb1356bb1b1be0db +SHA1 (patch-pa) = 8274a6d58f55d379d801db2d5f9fd15f438b9b4c +SHA1 (patch-pb) = 9574ef8d5b36731ef9ee6c32c3252b63b544caf6 +SHA1 (patch-pc) = 5cd43719cfd4174f5fcfc21617e68fc43ef72749 +SHA1 (patch-pd) = f3ffe36832859e4c33b676ecc7da55c93240b546 +SHA1 (patch-pg) = 40c8a77070ea6a18f7ab263615ab0f51eea9b00d +SHA1 (patch-rc) = f9384fc136f9b1e73dfe5b85159b1c26c9fd4143 +SHA1 (patch-security_nss_cmd_shlibsign_sign.sh) = 4c4332855c9ca7d65c5e171bb51acceebb58bc13 +SHA1 (patch-toolkit_toolkit-tiers.mk) = afcb2a332543d83aa2c0dc863134a25821748ff5 +SHA1 (patch-xa) = 1856b20866679fa6f80a5b2d06c4871f4d2ea80c +SHA1 (patch-xb) = 84a88c9bbde4abd986a1c0d8520e2d7d189b9a5b +SHA1 (patch-xc) = 035ce406ec94c51c22e90c792eb00ee701454207 +SHA1 (patch-xd) = dbd48340e10cf6e6fd317ccad031e45a194a9388 +SHA1 (patch-xe) = 6b18ee7c5e3feef23b5511f22a771000e82e2f23 +SHA1 (patch-xf) = f5094d83a38ea9d54ef70c90100588c79461d764 +SHA1 (patch-xg) = 8b8fc5ee8bfa481e37e609889bc03ef0f4930986 +SHA1 (patch-xj) = 6d818ed68b0e7b90cd7ee23f383ba353fbdcb520 +SHA1 (patch-xk) = 05faddde854911220e1456fb390dfa390baf8196 +SHA1 (patch-xl) = ceb4a0e7377739c77b08394168e84f51f3c9e31c +SHA1 (patch-xm) = 1343abd29f9a0bf1dd7d89588ed11e458afec559 +SHA1 (patch-xn) = d242efe07d23bf38a15c9f24260a2c86a0d9d0de +SHA1 (patch-xo) = 32cae1fae3908fdf2c08c7563a65ed0c62acc8e5 +SHA1 (patch-zb) = ee3ec28267bd7a011ff256b94c088aebf53de427 +SHA1 (patch-zc) = 3a5a19122607ecd0ec085a31ad3f3b968def693a diff --git a/mail/thunderbird/enigmail.mk b/mail/thunderbird/enigmail.mk index 272609186ad..47b11d06e75 100644 --- a/mail/thunderbird/enigmail.mk +++ b/mail/thunderbird/enigmail.mk @@ -1,9 +1,9 @@ -# $NetBSD: enigmail.mk,v 1.4 2011/11/13 16:59:58 tnn Exp $ +# $NetBSD: enigmail.mk,v 1.5 2012/03/10 11:42:38 ryoon Exp $ # # This Makefile fragment hooks the Enigmail OpenPGP extension # (see http://www.mozilla-enigmail.org/ ) into the build. -ENIGMAIL_DIST= enigmail-1.3.3.tar.gz +ENIGMAIL_DIST= enigmail-1.4.tar.gz XPI_FILES+= ${WRKDIR}/enigmail.xpi .if !defined(DISTFILES) DISTFILES= ${DEFAULT_DISTFILES} diff --git a/mail/thunderbird/patches/patch-aa b/mail/thunderbird/patches/patch-aa index b075cd5696a..1a5cc230cf8 100644 --- a/mail/thunderbird/patches/patch-aa +++ b/mail/thunderbird/patches/patch-aa @@ -1,8 +1,8 @@ -$NetBSD: patch-aa,v 1.9 2011/11/13 16:59:58 tnn Exp $ +$NetBSD: patch-aa,v 1.10 2012/03/10 11:42:38 ryoon Exp $ ---- mozilla/configure.in.orig 2011-11-07 21:07:43.000000000 +0000 +--- mozilla/configure.in.orig 2012-02-16 10:24:47.000000000 +0000 +++ mozilla/configure.in -@@ -2137,7 +2137,7 @@ case "$target" in +@@ -2328,7 +2328,7 @@ case "$target" in MOZ_FIX_LINK_PATHS='-Wl,-executable_path,$(LIBXUL_DIST)/bin' ;; @@ -11,17 +11,17 @@ $NetBSD: patch-aa,v 1.9 2011/11/13 16:59:58 tnn Exp $ if test `test -x /usr/bin/objformat && /usr/bin/objformat || echo elf` != "elf"; then DLL_SUFFIX=".so.1.0" DSO_LDOPTS="-shared" -@@ -2145,6 +2145,9 @@ case "$target" in +@@ -2336,6 +2336,9 @@ case "$target" in if test ! "$GNU_CC"; then DSO_LDOPTS="-Bshareable $DSO_LDOPTS" fi + if test "$LIBRUNPATH"; then -+ DSO_LDOPTS="-Wl,-R$LIBRUNPATH $DSO_LDOPTS" ++ DSO_LDOPTS="-Wl,-R$LIBRUNPATH $DSO_LDOPTS" + fi - ;; + ;; ia64*-hpux*) -@@ -3312,6 +3315,9 @@ dnl ==================================== +@@ -3377,6 +3380,9 @@ dnl ==================================== case $target in *-hpux11.*) ;; @@ -31,7 +31,7 @@ $NetBSD: patch-aa,v 1.9 2011/11/13 16:59:58 tnn Exp $ *) AC_CHECK_LIB(c_r, gethostbyname_r) ;; -@@ -4520,6 +4526,14 @@ if test -n "$YASM"; then +@@ -4330,6 +4336,14 @@ if test -n "$YASM"; then _YASM_BUILD=` echo ${YASM_VERSION} | $AWK -F\. '{ print $4 }'` fi @@ -46,16 +46,57 @@ $NetBSD: patch-aa,v 1.9 2011/11/13 16:59:58 tnn Exp $ if test -z "$SKIP_LIBRARY_CHECKS"; then dnl system JPEG support dnl ======================================================== -@@ -7439,7 +7453,7 @@ else - *-mingw*) - AC_DEFINE(MOZ_MEMORY_WINDOWS) - AC_MSG_CHECKING([for VC2005/2008++ CRT source]) -- if test "$CC_VERSION" == "14.00.50727.762" -o "$CC_VERSION" == "15.00.30729.01"; then -+ if test "$CC_VERSION" = "14.00.50727.762" -o "$CC_VERSION" = "15.00.30729.01"; then - if test -z "$WIN32_CRT_SRC_DIR" -a -n "$VCINSTALLDIR"; then - WIN32_CRT_SRC_DIR="$VCINSTALLDIR\crt\src" - fi -@@ -9516,6 +9530,8 @@ if test -z "$MOZ_NATIVE_NSPR"; then +@@ -5616,20 +5630,20 @@ if test -n "$MOZ_WEBM"; then + [MOZ_NATIVE_LIBVPX_DEC_TEST=1], + ([--with-system-libvpx requested but symbol vpx_codec_dec_init_ver not found])) + if test -n "$MOZ_NATIVE_LIBVPX_DEC_TEST" ; then +- AC_MSG_CHECKING([for libvpx version >= v0.9.7]) +- dnl We need at least v0.9.7 to fix several crash bugs (for which we +- dnl had local patches prior to v0.9.7). ++ AC_MSG_CHECKING([for libvpx version >= v1.0.0]) ++ dnl We need at least v1.0.0 to fix several crash bugs (for which we ++ dnl had local patches prior to v1.0.0). + dnl + dnl This is a terrible test for the library version, but we don't + dnl have a good one. There is no version number in a public header, + dnl and testing the headers still doesn't guarantee we link against + dnl the right version. While we could call vpx_codec_version() at + dnl run-time, that would break cross-compiling. There are no +- dnl additional exported symbols between the v0.9.7 release and the +- dnl v0.9.6 one to check for. ++ dnl additional exported decoder symbols between the v1.0.0 release ++ dnl and the v0.9.7 one to check for. + AC_TRY_COMPILE([ + #include <vpx/vpx_decoder.h> +- #if !defined(VPX_CODEC_USE_INPUT_PARTITION) ++ #if !defined(VPX_CODEC_USE_INPUT_FRAGMENTS) + #error "test failed." + #endif + ], +@@ -5639,7 +5653,7 @@ if test -n "$MOZ_WEBM"; then + MOZ_LIBVPX_INCLUDES="-I${LIBVPX_DIR}/include" + MOZ_LIBVPX_LIBS="-L${LIBVPX_DIR}/lib -lvpx"], + [AC_MSG_RESULT([no]) +- AC_MSG_ERROR([--with-system-libvpx requested but it is not v0.9.7 or later])]) ++ AC_MSG_ERROR([--with-system-libvpx requested but it is not v1.0.0 or later])]) + fi + CFLAGS=$_SAVE_CFLAGS + LDFLAGS=$_SAVE_LDFLAGS +@@ -5673,11 +5687,11 @@ if test -n "$MOZ_WEBM" -a -z "$MOZ_NATIV + + dnl See if we have assembly on this platform. + case "$OS_ARCH:$CPU_ARCH" in +- Linux:x86) ++ Linux:x86|DragonFly:x86|*BSD:i386) + VPX_ASFLAGS="-f elf32 -rnasm -pnasm" + VPX_X86_ASM=1 + ;; +- Linux:x86_64) ++ Linux:x86_64|DragonFly:x86_64|*BSD:x86_64) + VPX_ASFLAGS="-f elf64 -rnasm -pnasm -DPIC" + VPX_X86_ASM=1 + ;; +@@ -8915,6 +8929,8 @@ if test -z "$MOZ_NATIVE_NSPR"; then AC_MSG_WARN([Recreating autoconf.mk with updated nspr-config output]) if test "$OS_ARCH" != "WINNT"; then NSPR_LIBS=`./nsprpub/config/nspr-config --prefix=$LIBXUL_DIST --exec-prefix=$MOZ_BUILD_ROOT/dist --libdir=$LIBXUL_DIST/lib --libs` diff --git a/mail/thunderbird/patches/patch-aa-toplevel b/mail/thunderbird/patches/patch-aa-toplevel index fa0bd251388..2d5c35862ad 100644 --- a/mail/thunderbird/patches/patch-aa-toplevel +++ b/mail/thunderbird/patches/patch-aa-toplevel @@ -1,8 +1,8 @@ -$NetBSD: patch-aa-toplevel,v 1.4 2011/11/13 16:59:58 tnn Exp $ +$NetBSD: patch-aa-toplevel,v 1.5 2012/03/10 11:42:38 ryoon Exp $ ---- configure.in.orig 2011-11-07 20:53:31.000000000 +0000 +--- configure.in.orig 2012-02-16 10:18:22.000000000 +0000 +++ configure.in -@@ -1950,7 +1950,7 @@ ld.]) +@@ -1945,7 +1945,7 @@ ld.]) MOZ_FIX_LINK_PATHS='-Wl,-executable_path,$(LIBXUL_DIST)/bin' ;; @@ -11,7 +11,7 @@ $NetBSD: patch-aa-toplevel,v 1.4 2011/11/13 16:59:58 tnn Exp $ if test `test -x /usr/bin/objformat && /usr/bin/objformat || echo elf` != "elf"; then DLL_SUFFIX=".so.1.0" DSO_LDOPTS="-shared" -@@ -1958,6 +1958,9 @@ ld.]) +@@ -1953,6 +1953,9 @@ ld.]) if test ! "$GNU_CC"; then DSO_LDOPTS="-Bshareable $DSO_LDOPTS" fi @@ -21,7 +21,7 @@ $NetBSD: patch-aa-toplevel,v 1.4 2011/11/13 16:59:58 tnn Exp $ ;; ia64*-hpux*) -@@ -3198,6 +3201,9 @@ dnl ==================================== +@@ -3185,6 +3188,9 @@ dnl ==================================== case $target in *-hpux11.*) ;; diff --git a/mail/thunderbird/patches/patch-ab b/mail/thunderbird/patches/patch-ab index 9d30a47af91..53a1044c7fe 100644 --- a/mail/thunderbird/patches/patch-ab +++ b/mail/thunderbird/patches/patch-ab @@ -1,6 +1,6 @@ -$NetBSD: patch-ab,v 1.15 2011/08/19 14:39:09 tnn Exp $ +$NetBSD: patch-ab,v 1.16 2012/03/10 11:42:38 ryoon Exp $ ---- mozilla/nsprpub/pr/include/md/_netbsd.h.orig 2010-05-03 18:21:00.000000000 +0000 +--- mozilla/nsprpub/pr/include/md/_netbsd.h.orig 2012-02-16 10:25:22.000000000 +0000 +++ mozilla/nsprpub/pr/include/md/_netbsd.h @@ -79,7 +79,7 @@ #define HAVE_DLL diff --git a/mail/thunderbird/patches/patch-ac b/mail/thunderbird/patches/patch-ac index 7487ed70e66..938a157d7db 100644 --- a/mail/thunderbird/patches/patch-ac +++ b/mail/thunderbird/patches/patch-ac @@ -1,6 +1,6 @@ -$NetBSD: patch-ac,v 1.12 2011/08/19 14:39:09 tnn Exp $ +$NetBSD: patch-ac,v 1.13 2012/03/10 11:42:38 ryoon Exp $ ---- mozilla/nsprpub/configure.in.orig 2011-02-03 20:12:03.000000000 +0000 +--- mozilla/nsprpub/configure.in.orig 2012-02-16 10:25:22.000000000 +0000 +++ mozilla/nsprpub/configure.in @@ -71,7 +71,7 @@ OBJDIR_NAME=. OBJDIR_SUFFIX=OBJ @@ -11,7 +11,7 @@ $NetBSD: patch-ac,v 1.12 2011/08/19 14:39:09 tnn Exp $ LIBPLC='-L$(dist_libdir) -lplc$(MOD_MAJOR_VERSION)' CYGWIN_WRAPPER= MACOS_SDK_DIR= -@@ -1311,6 +1311,34 @@ tools are selected during the Xcode/Deve +@@ -1527,6 +1527,33 @@ tools are selected during the Xcode/Deve DSO_LDOPTS='-shared -Wl,-soname -Wl,$(notdir $@)' MDCPUCFG_H=_freebsd.cfg PR_MD_CSRCS=freebsd.c @@ -25,7 +25,6 @@ $NetBSD: patch-ac,v 1.12 2011/08/19 14:39:09 tnn Exp $ + USE_PTHREADS=1 + fi + AC_DEFINE(XP_UNIX) -+ AC_DEFINE(FREEBSD) + AC_DEFINE(HAVE_BSD_FLOCK) + AC_DEFINE(HAVE_SOCKLEN_T) + CFLAGS="$CFLAGS $(DSO_CFLAGS) -ansi -Wall" @@ -38,7 +37,7 @@ $NetBSD: patch-ac,v 1.12 2011/08/19 14:39:09 tnn Exp $ + MKSHLIB='$(CC) $(DSO_LDOPTS) -o $@' + DSO_CFLAGS=-fPIC + DSO_LDOPTS='-shared -Wl,-soname -Wl,$(notdir $@)' -+ MDCPUCFG_H=_freebsd.cfg ++ MDCPUCFG_H=_dragonfly.cfg + PR_MD_CSRCS=freebsd.c + if test "$LIBRUNPATH"; then + DSO_LDOPTS="$DSO_LDOPTS -Wl,-R$LIBRUNPATH" @@ -46,7 +45,7 @@ $NetBSD: patch-ac,v 1.12 2011/08/19 14:39:09 tnn Exp $ ;; *-hpux*) -@@ -1925,6 +1953,7 @@ mips-nec-sysv*) +@@ -2114,6 +2141,7 @@ mips-nec-sysv*) AC_DEFINE(XP_UNIX) AC_DEFINE(NETBSD) AC_DEFINE(HAVE_BSD_FLOCK) @@ -54,7 +53,7 @@ $NetBSD: patch-ac,v 1.12 2011/08/19 14:39:09 tnn Exp $ if test -z "$USE_NSPR_THREADS"; then USE_PTHREADS=1 fi -@@ -2730,7 +2759,7 @@ if test -n "$USE_PTHREADS"; then +@@ -2919,7 +2947,7 @@ if test -n "$USE_PTHREADS"; then if test -z "`egrep -i '(unrecognize|unknown)' conftest.out | grep pthread`" && test -z "`egrep -i '(error|incorrect)' conftest.out`" ; then ac_cv_have_dash_pthread=yes case "$target_os" in @@ -63,7 +62,7 @@ $NetBSD: patch-ac,v 1.12 2011/08/19 14:39:09 tnn Exp $ # Freebsd doesn't use -pthread for compiles, it uses them for linking ;; *) -@@ -2768,7 +2797,7 @@ if test -n "$USE_PTHREADS"; then +@@ -2957,7 +2985,7 @@ if test -n "$USE_PTHREADS"; then _PTHREAD_LDFLAGS= fi ;; @@ -72,7 +71,7 @@ $NetBSD: patch-ac,v 1.12 2011/08/19 14:39:09 tnn Exp $ AC_DEFINE(_REENTRANT) AC_DEFINE(_THREAD_SAFE) dnl -pthread links in -lc_r, so don't specify it explicitly. -@@ -2849,7 +2878,7 @@ case "$target" in +@@ -3038,7 +3066,7 @@ case "$target" in AC_DEFINE(_PR_NEED_PTHREAD_INIT) fi ;; diff --git a/mail/thunderbird/patches/patch-ad b/mail/thunderbird/patches/patch-ad index f073da7719c..20a643cfbf6 100644 --- a/mail/thunderbird/patches/patch-ad +++ b/mail/thunderbird/patches/patch-ad @@ -1,8 +1,8 @@ -$NetBSD: patch-ad,v 1.6 2010/07/12 16:49:22 tnn Exp $ +$NetBSD: patch-ad,v 1.7 2012/03/10 11:42:38 ryoon Exp $ ---- mozilla/xpcom/io/nsLocalFileUnix.h.orig 2009-06-29 18:15:32.000000000 +0200 +--- mozilla/xpcom/io/nsLocalFileUnix.h.orig 2012-02-16 10:25:33.000000000 +0000 +++ mozilla/xpcom/io/nsLocalFileUnix.h -@@ -75,7 +75,7 @@ +@@ -86,7 +86,7 @@ #endif // so we can statfs on freebsd diff --git a/mail/thunderbird/patches/patch-ae b/mail/thunderbird/patches/patch-ae index 2af2b6427a9..1d7f71f2e59 100644 --- a/mail/thunderbird/patches/patch-ae +++ b/mail/thunderbird/patches/patch-ae @@ -1,6 +1,6 @@ -$NetBSD: patch-ae,v 1.8 2011/11/13 16:59:58 tnn Exp $ +$NetBSD: patch-ae,v 1.9 2012/03/10 11:42:38 ryoon Exp $ ---- mozilla/nsprpub/pr/src/misc/prnetdb.c.orig 2011-09-22 20:20:37.000000000 +0000 +--- mozilla/nsprpub/pr/src/misc/prnetdb.c.orig 2012-02-16 10:25:22.000000000 +0000 +++ mozilla/nsprpub/pr/src/misc/prnetdb.c @@ -105,7 +105,7 @@ PRLock *_pr_dnsLock = NULL; || defined(AIX4_3_PLUS) || (defined(AIX) && defined(_THREAD_SAFE)) \ diff --git a/mail/thunderbird/patches/patch-af b/mail/thunderbird/patches/patch-af index 253f2ac20aa..dc3105de346 100644 --- a/mail/thunderbird/patches/patch-af +++ b/mail/thunderbird/patches/patch-af @@ -1,6 +1,6 @@ -$NetBSD: patch-af,v 1.8 2010/07/12 16:49:22 tnn Exp $ +$NetBSD: patch-af,v 1.9 2012/03/10 11:42:38 ryoon Exp $ ---- mozilla/config/mkdepend/imakemdep.h.orig 2009-06-29 18:14:41.000000000 +0200 +--- mozilla/config/mkdepend/imakemdep.h.orig 2012-02-16 10:24:47.000000000 +0000 +++ mozilla/config/mkdepend/imakemdep.h @@ -235,7 +235,7 @@ in this Software without prior written a #ifdef _CRAY diff --git a/mail/thunderbird/patches/patch-ag b/mail/thunderbird/patches/patch-ag index 871e5da4075..0796bc54677 100644 --- a/mail/thunderbird/patches/patch-ag +++ b/mail/thunderbird/patches/patch-ag @@ -1,6 +1,6 @@ -$NetBSD: patch-ag,v 1.8 2010/09/09 10:58:51 tnn Exp $ +$NetBSD: patch-ag,v 1.9 2012/03/10 11:42:38 ryoon Exp $ ---- mozilla/nsprpub/pr/include/md/_freebsd.h.orig 2010-08-24 21:32:07.000000000 +0000 +--- mozilla/nsprpub/pr/include/md/_freebsd.h.orig 2012-02-16 10:25:22.000000000 +0000 +++ mozilla/nsprpub/pr/include/md/_freebsd.h @@ -79,7 +79,7 @@ #define _PR_HAVE_LARGE_OFF_T diff --git a/mail/thunderbird/patches/patch-ah b/mail/thunderbird/patches/patch-ah deleted file mode 100644 index a9831df56c2..00000000000 --- a/mail/thunderbird/patches/patch-ah +++ /dev/null @@ -1,18 +0,0 @@ -$NetBSD: patch-ah,v 1.5 2010/07/12 16:49:22 tnn Exp $ - ---- mozilla/xpcom/reflect/xptcall/src/md/unix/xptc_platforms_unixish_x86.h.orig 2009-06-29 18:15:33.000000000 +0200 -+++ mozilla/xpcom/reflect/xptcall/src/md/unix/xptc_platforms_unixish_x86.h -@@ -77,6 +77,13 @@ - #define THUNK_BASED_THIS_ADJUST - #endif - -+#elif defined(__DragonFly__) -+# if defined(__FreeBSD_cc_version) -+# define CFRONT_STYLE_THIS_ADJUST -+# else -+# define THUNK_BASED_THIS_ADJUST -+# endif -+ - #elif defined(__FreeBSD__) - /* System versions of gcc on FreeBSD don't use thunks. On 3.x, the system - * compiler is gcc 2.7.2.3, which doesn't use thunks by default. On 4.x and diff --git a/mail/thunderbird/patches/patch-ai b/mail/thunderbird/patches/patch-ai index a04e15959c8..5e4bfea2c48 100644 --- a/mail/thunderbird/patches/patch-ai +++ b/mail/thunderbird/patches/patch-ai @@ -1,8 +1,8 @@ -$NetBSD: patch-ai,v 1.7 2010/07/12 16:49:22 tnn Exp $ +$NetBSD: patch-ai,v 1.8 2012/03/10 11:42:38 ryoon Exp $ ---- mozilla/dbm/src/mktemp.c.orig 2009-06-29 18:14:43.000000000 +0200 +--- mozilla/dbm/src/mktemp.c.orig 2012-02-16 10:24:52.000000000 +0000 +++ mozilla/dbm/src/mktemp.c -@@ -90,7 +90,7 @@ mktemp(char *path) +@@ -92,7 +92,7 @@ mktemp(char *path) static int _gettemp(char *path, register int *doopen, int extraFlags) { diff --git a/mail/thunderbird/patches/patch-aj b/mail/thunderbird/patches/patch-aj index f7e02449bca..2edc74dbe49 100644 --- a/mail/thunderbird/patches/patch-aj +++ b/mail/thunderbird/patches/patch-aj @@ -1,8 +1,8 @@ -$NetBSD: patch-aj,v 1.7 2011/08/19 14:39:09 tnn Exp $ +$NetBSD: patch-aj,v 1.8 2012/03/10 11:42:38 ryoon Exp $ ---- mozilla/profile/dirserviceprovider/src/nsProfileLock.cpp.orig 2010-12-15 01:03:34.000000000 +0000 +--- mozilla/profile/dirserviceprovider/src/nsProfileLock.cpp.orig 2012-02-16 10:25:23.000000000 +0000 +++ mozilla/profile/dirserviceprovider/src/nsProfileLock.cpp -@@ -405,6 +405,7 @@ nsresult nsProfileLock::LockWithSymlink( +@@ -408,6 +408,7 @@ nsresult nsProfileLock::LockWithSymlink( #endif sigfillset(&act.sa_mask); @@ -10,7 +10,7 @@ $NetBSD: patch-aj,v 1.7 2011/08/19 14:39:09 tnn Exp $ #define CATCH_SIGNAL(signame) \ PR_BEGIN_MACRO \ if (sigaction(signame, NULL, &oldact) == 0 && \ -@@ -423,6 +424,7 @@ PR_BEGIN_MACRO +@@ -426,6 +427,7 @@ PR_BEGIN_MACRO CATCH_SIGNAL(SIGTERM); #undef CATCH_SIGNAL diff --git a/mail/thunderbird/patches/patch-ak b/mail/thunderbird/patches/patch-ak index be662a418a7..bd2c0b58326 100644 --- a/mail/thunderbird/patches/patch-ak +++ b/mail/thunderbird/patches/patch-ak @@ -1,6 +1,6 @@ -$NetBSD: patch-ak,v 1.7 2011/11/13 16:59:58 tnn Exp $ +$NetBSD: patch-ak,v 1.8 2012/03/10 11:42:38 ryoon Exp $ ---- mozilla/js/src/ctypes/libffi/configure.orig 2011-11-04 21:34:01.000000000 +0000 +--- mozilla/js/src/ctypes/libffi/configure.orig 2012-02-16 10:25:02.000000000 +0000 +++ mozilla/js/src/ctypes/libffi/configure @@ -11277,7 +11277,7 @@ case "$host" in powerpc-*-aix* | rs6000-*-aix*) diff --git a/mail/thunderbird/patches/patch-al b/mail/thunderbird/patches/patch-al index fca255cdddf..e42e2587950 100644 --- a/mail/thunderbird/patches/patch-al +++ b/mail/thunderbird/patches/patch-al @@ -1,8 +1,8 @@ -$NetBSD: patch-al,v 1.8 2011/08/19 14:39:09 tnn Exp $ +$NetBSD: patch-al,v 1.9 2012/03/10 11:42:38 ryoon Exp $ ---- mozilla/storage/src/mozStorageConnection.cpp.orig 2011-06-15 21:57:54.000000000 +0000 +--- mozilla/storage/src/mozStorageConnection.cpp.orig 2012-02-16 10:25:26.000000000 +0000 +++ mozilla/storage/src/mozStorageConnection.cpp -@@ -595,6 +595,11 @@ Connection::initialize(nsIFile *aDatabas +@@ -632,6 +632,11 @@ Connection::initialize(nsIFile *aDatabas (void)::NS_RegisterMemoryReporter(mMemoryReporters[i]); } diff --git a/mail/thunderbird/patches/patch-am b/mail/thunderbird/patches/patch-am index ba9c79e9cb2..2578d6a8719 100644 --- a/mail/thunderbird/patches/patch-am +++ b/mail/thunderbird/patches/patch-am @@ -1,12 +1,12 @@ -$NetBSD: patch-am,v 1.4 2010/07/12 16:49:22 tnn Exp $ +$NetBSD: patch-am,v 1.5 2012/03/10 11:42:38 ryoon Exp $ SHA1_Update conflicts with openssl which may be dynamically loaded at runtime via libcups or libgssapi so causing a crash due to using the wrong binding. So rename here to avoid conflict. ---- mozilla/security/nss/lib/freebl/blapi.h.orig 2009-06-29 18:15:13.000000000 +0200 +--- mozilla/security/nss/lib/freebl/blapi.h.orig 2012-02-16 10:25:24.000000000 +0000 +++ mozilla/security/nss/lib/freebl/blapi.h -@@ -925,6 +925,8 @@ extern void SHA1_DestroyContext(SHA1Cont +@@ -1038,6 +1038,8 @@ extern void SHA1_DestroyContext(SHA1Cont */ extern void SHA1_Begin(SHA1Context *cx); diff --git a/mail/thunderbird/patches/patch-an b/mail/thunderbird/patches/patch-an index d31903fff62..c1ce3d69717 100644 --- a/mail/thunderbird/patches/patch-an +++ b/mail/thunderbird/patches/patch-an @@ -1,10 +1,10 @@ -$NetBSD: patch-an,v 1.5 2010/07/12 16:49:22 tnn Exp $ +$NetBSD: patch-an,v 1.6 2012/03/10 11:42:38 ryoon Exp $ SHA1_Update conflicts with openssl which may be dynamically loaded at runtime via libcups or libgssapi so causing a crash due to using the wrong binding. So rename here to avoid conflict. ---- mozilla/security/nss/lib/freebl/sha-fast-amd64-sun.s.orig 2009-06-29 18:15:14.000000000 +0200 +--- mozilla/security/nss/lib/freebl/sha-fast-amd64-sun.s.orig 2012-02-16 10:25:25.000000000 +0000 +++ mozilla/security/nss/lib/freebl/sha-fast-amd64-sun.s @@ -1712,9 +1712,9 @@ shaCompress: .LFE7: diff --git a/mail/thunderbird/patches/patch-ao b/mail/thunderbird/patches/patch-ao index 7960e4d4ce8..2bbb07d0393 100644 --- a/mail/thunderbird/patches/patch-ao +++ b/mail/thunderbird/patches/patch-ao @@ -1,8 +1,8 @@ -$NetBSD: patch-ao,v 1.5 2010/07/12 16:49:22 tnn Exp $ +$NetBSD: patch-ao,v 1.6 2012/03/10 11:42:38 ryoon Exp $ ---- mozilla/toolkit/mozapps/installer/packager.mk.orig 2009-10-29 23:11:21.000000000 +0100 +--- mozilla/toolkit/mozapps/installer/packager.mk.orig 2012-02-16 10:25:30.000000000 +0000 +++ mozilla/toolkit/mozapps/installer/packager.mk -@@ -441,8 +441,8 @@ endif +@@ -786,8 +786,8 @@ endif (cd $(DIST)/$(MOZ_PKG_DIR) && tar $(TAR_CREATE_FLAGS) - .) | \ (cd $(DESTDIR)$(installdir) && tar -xf -) $(NSINSTALL) -D $(DESTDIR)$(bindir) diff --git a/mail/thunderbird/patches/patch-as b/mail/thunderbird/patches/patch-as index d1e631ecf76..41866b6fe9f 100644 --- a/mail/thunderbird/patches/patch-as +++ b/mail/thunderbird/patches/patch-as @@ -1,10 +1,10 @@ -$NetBSD: patch-as,v 1.8 2011/11/13 16:59:58 tnn Exp $ +$NetBSD: patch-as,v 1.9 2012/03/10 11:42:38 ryoon Exp $ Treat DragonFly like FreeBSD. ---- mozilla/js/src/configure.in.orig 2011-09-22 20:20:26.000000000 +0000 +--- mozilla/js/src/configure.in.orig 2012-02-16 10:25:02.000000000 +0000 +++ mozilla/js/src/configure.in -@@ -784,7 +784,7 @@ EOF +@@ -799,7 +799,7 @@ EOF AC_LANG_RESTORE ]) @@ -13,7 +13,7 @@ Treat DragonFly like FreeBSD. AC_CACHE_CHECK(for |class __declspec(dllimport) exception| bug, ac_cv_have_dllimport_exception_bug, [ -@@ -1999,7 +1999,7 @@ case "$target" in +@@ -2157,7 +2157,7 @@ case "$target" in MOZ_FIX_LINK_PATHS='-Wl,-executable_path,$(LIBXUL_DIST)/bin' ;; @@ -22,7 +22,7 @@ Treat DragonFly like FreeBSD. if test `test -x /usr/bin/objformat && /usr/bin/objformat || echo elf` != "elf"; then DLL_SUFFIX=".so.1.0" DSO_LDOPTS="-shared" -@@ -2846,7 +2846,7 @@ case "$target" in +@@ -2818,7 +2818,7 @@ case "$target" in *-solaris*) AC_DEFINE(AVMPLUS_UNIX) ;; @@ -31,7 +31,7 @@ Treat DragonFly like FreeBSD. AC_DEFINE(AVMPLUS_UNIX) ;; *-openbsd*) -@@ -4846,7 +4846,7 @@ if test "$MOZ_MEMORY"; then +@@ -4344,7 +4344,7 @@ if test "$MOZ_MEMORY"; then *-darwin*) AC_DEFINE(MOZ_MEMORY_DARWIN) ;; diff --git a/mail/thunderbird/patches/patch-at b/mail/thunderbird/patches/patch-at index 4b95d2dc6f3..0c697ebb5c1 100644 --- a/mail/thunderbird/patches/patch-at +++ b/mail/thunderbird/patches/patch-at @@ -1,8 +1,8 @@ -$NetBSD: patch-at,v 1.6 2011/08/21 23:21:33 tnn Exp $ +$NetBSD: patch-at,v 1.7 2012/03/10 11:42:38 ryoon Exp $ Avoid silly redefinitions of standard types on NetBSD. ---- mozilla/gfx/qcms/qcmstypes.h.orig 2010-11-04 19:20:39.000000000 +0000 +--- mozilla/gfx/qcms/qcmstypes.h.orig 2012-02-16 10:24:57.000000000 +0000 +++ mozilla/gfx/qcms/qcmstypes.h @@ -10,6 +10,8 @@ #if defined (__SVR4) && defined (__sun) @@ -12,4 +12,4 @@ Avoid silly redefinitions of standard types on NetBSD. +#include <stdint.h> #elif defined (_AIX) #include <sys/types.h> - #elif !defined(ANDROID) + #elif defined(__OpenBSD__) diff --git a/mail/thunderbird/patches/patch-au b/mail/thunderbird/patches/patch-au index 777890daa00..419049e6234 100644 --- a/mail/thunderbird/patches/patch-au +++ b/mail/thunderbird/patches/patch-au @@ -1,10 +1,10 @@ -$NetBSD: patch-au,v 1.3 2011/08/19 14:39:09 tnn Exp $ +$NetBSD: patch-au,v 1.4 2012/03/10 11:42:38 ryoon Exp $ - Fix device name on NetBSD - SOUND_VERSION just isn't a reliable way to detect features supported by particular OSS implementation. ---- mozilla/media/libsydneyaudio/src/sydney_audio_oss.c.orig 2011-08-11 21:41:16.000000000 +0000 +--- mozilla/media/libsydneyaudio/src/sydney_audio_oss.c.orig 2012-02-16 10:25:19.000000000 +0000 +++ mozilla/media/libsydneyaudio/src/sydney_audio_oss.c @@ -55,7 +55,7 @@ // support only versions newer than 3.6.1 diff --git a/mail/thunderbird/patches/patch-av b/mail/thunderbird/patches/patch-av index e1594fcdc37..3c9506b0cf1 100644 --- a/mail/thunderbird/patches/patch-av +++ b/mail/thunderbird/patches/patch-av @@ -1,6 +1,6 @@ -$NetBSD: patch-av,v 1.3 2011/08/19 14:39:09 tnn Exp $ +$NetBSD: patch-av,v 1.4 2012/03/10 11:42:38 ryoon Exp $ ---- mozilla/xulrunner/app/nsXULRunnerApp.cpp.orig 2008-03-22 05:25:35.000000000 +0100 +--- mozilla/xulrunner/app/nsXULRunnerApp.cpp.orig 2012-02-16 10:25:33.000000000 +0000 +++ mozilla/xulrunner/app/nsXULRunnerApp.cpp @@ -37,6 +37,27 @@ @@ -30,7 +30,7 @@ $NetBSD: patch-av,v 1.3 2011/08/19 14:39:09 tnn Exp $ #ifdef XP_WIN #include <windows.h> #endif -@@ -283,6 +304,7 @@ private: +@@ -274,6 +295,7 @@ private: int main(int argc, char* argv[]) { diff --git a/mail/thunderbird/patches/patch-aw b/mail/thunderbird/patches/patch-aw index 43a8beb45bd..fc04dc962a9 100644 --- a/mail/thunderbird/patches/patch-aw +++ b/mail/thunderbird/patches/patch-aw @@ -1,40 +1,45 @@ -$NetBSD: patch-aw,v 1.8 2011/08/19 14:39:09 tnn Exp $ +$NetBSD: patch-aw,v 1.9 2012/03/10 11:42:38 ryoon Exp $ ---- mozilla/xulrunner/stub/nsXULStub.cpp.orig 2009-08-24 17:53:30.000000000 +0200 +--- mozilla/xulrunner/stub/nsXULStub.cpp.orig 2012-02-16 10:25:33.000000000 +0000 +++ mozilla/xulrunner/stub/nsXULStub.cpp -@@ -44,6 +44,27 @@ +@@ -44,6 +44,29 @@ #include "nsILocalFile.h" #include <stdarg.h> ++#if defined(__NetBSD__) +#include <sys/resource.h> +/* + * On netbsd-4, ulimit -n is 64 by default; too few for us. + */ +static void netbsd_fixrlimit(void) { -+ struct rlimit rlp; -+ if (getrlimit(RLIMIT_NOFILE, &rlp) == -1) { -+ fprintf(stderr, "warning: getrlimit failed\n"); -+ return; -+ } -+ if (rlp.rlim_cur >= 512) -+ return; -+ if (rlp.rlim_max < 512) { -+ fprintf(stderr, "warning: hard limit of 'ulimit -n' too low\n"); -+ rlp.rlim_cur = rlp.rlim_max; -+ } -+ else -+ rlp.rlim_cur = 512; -+ if (setrlimit(RLIMIT_NOFILE, &rlp) == -1) -+ fprintf(stderr, "warning: setrlimit failed\n"); ++ struct rlimit rlp; ++ if (getrlimit(RLIMIT_NOFILE, &rlp) == -1) { ++ fprintf(stderr, "warning: getrlimit failed\n"); ++ return; ++ } ++ if (rlp.rlim_cur >= 512) ++ return; ++ if (rlp.rlim_max < 512) { ++ fprintf(stderr, "warning: hard limit of 'ulimit -n' too low\n"); ++ rlp.rlim_cur = rlp.rlim_max; ++ } ++ else ++ rlp.rlim_cur = 512; ++ if (setrlimit(RLIMIT_NOFILE, &rlp) == -1) ++ fprintf(stderr, "warning: setrlimit failed\n"); +} ++#endif #ifdef XP_WIN #include <windows.h> -@@ -205,6 +226,7 @@ main(int argc, char **argv) - char tmpPath[MAXPATHLEN]; +@@ -202,7 +225,9 @@ main(int argc, char **argv) char greDir[MAXPATHLEN]; - PRBool greFound = PR_FALSE; -+ netbsd_fixrlimit(); + bool greFound = false; - #if defined(XP_MACOSX) +-#if defined(XP_MACOSX) ++#if defined(__NetBSD__) ++ netbsd_fixrlimit(); ++#elif defined(XP_MACOSX) CFBundleRef appBundle = CFBundleGetMainBundle(); + if (!appBundle) + return 1; diff --git a/mail/thunderbird/patches/patch-ax b/mail/thunderbird/patches/patch-ax index 1ea386e6150..2b6aee6d97d 100644 --- a/mail/thunderbird/patches/patch-ax +++ b/mail/thunderbird/patches/patch-ax @@ -1,8 +1,8 @@ -$NetBSD: patch-ax,v 1.8 2011/08/19 14:39:09 tnn Exp $ +$NetBSD: patch-ax,v 1.9 2012/03/10 11:42:38 ryoon Exp $ ---- mozilla/xpcom/base/nsStackWalk.cpp.orig 2010-12-15 01:03:41.000000000 +0000 +--- mozilla/xpcom/base/nsStackWalk.cpp.orig 2012-02-16 10:25:32.000000000 +0000 +++ mozilla/xpcom/base/nsStackWalk.cpp -@@ -1137,7 +1137,7 @@ NS_FormatCodeAddressDetails(void *aPC, c +@@ -1140,7 +1140,7 @@ NS_FormatCodeAddressDetails(void *aPC, c #define __USE_GNU #endif diff --git a/mail/thunderbird/patches/patch-ay b/mail/thunderbird/patches/patch-ay index c05c4a7f6b4..55a2ac5eb1c 100644 --- a/mail/thunderbird/patches/patch-ay +++ b/mail/thunderbird/patches/patch-ay @@ -1,6 +1,6 @@ -$NetBSD: patch-ay,v 1.3 2011/11/13 16:59:58 tnn Exp $ +$NetBSD: patch-ay,v 1.4 2012/03/10 11:42:38 ryoon Exp $ ---- mozilla/browser/app/nsBrowserApp.cpp.orig 2011-09-22 20:20:17.000000000 +0000 +--- mozilla/browser/app/nsBrowserApp.cpp.orig 2012-02-16 10:24:45.000000000 +0000 +++ mozilla/browser/app/nsBrowserApp.cpp @@ -49,6 +49,27 @@ #include <stdio.h> diff --git a/mail/thunderbird/patches/patch-az b/mail/thunderbird/patches/patch-az index f2ba81f787a..387d3a180e1 100644 --- a/mail/thunderbird/patches/patch-az +++ b/mail/thunderbird/patches/patch-az @@ -1,8 +1,8 @@ -$NetBSD: patch-az,v 1.2 2010/07/12 16:49:22 tnn Exp $ +$NetBSD: patch-az,v 1.3 2012/03/10 11:42:38 ryoon Exp $ ---- mozilla/nsprpub/pr/src/pthreads/ptthread.c.orig 2009-11-02 22:43:08.000000000 +0100 +--- mozilla/nsprpub/pr/src/pthreads/ptthread.c.orig 2012-02-16 10:25:22.000000000 +0000 +++ mozilla/nsprpub/pr/src/pthreads/ptthread.c -@@ -1089,12 +1089,12 @@ PR_IMPLEMENT(void) PR_ProcessExit(PRIntn +@@ -1070,12 +1070,12 @@ PR_IMPLEMENT(void) PR_ProcessExit(PRIntn _exit(status); } diff --git a/mail/thunderbird/patches/patch-ba b/mail/thunderbird/patches/patch-ba index 7063ab727e1..c65863fbed8 100644 --- a/mail/thunderbird/patches/patch-ba +++ b/mail/thunderbird/patches/patch-ba @@ -1,8 +1,8 @@ -$NetBSD: patch-ba,v 1.9 2010/07/12 16:49:22 tnn Exp $ +$NetBSD: patch-ba,v 1.10 2012/03/10 11:42:38 ryoon Exp $ pthread_t may be 64-bit, avoid casting it. ---- mozilla/nsprpub/pr/include/private/pprthred.h.orig 2009-11-02 22:43:08.000000000 +0100 +--- mozilla/nsprpub/pr/include/private/pprthred.h.orig 2012-02-16 10:25:22.000000000 +0000 +++ mozilla/nsprpub/pr/include/private/pprthred.h @@ -51,6 +51,8 @@ #include <os2.h> diff --git a/mail/thunderbird/patches/patch-bd b/mail/thunderbird/patches/patch-bd index d8e3c800b04..b6eb05728d2 100644 --- a/mail/thunderbird/patches/patch-bd +++ b/mail/thunderbird/patches/patch-bd @@ -1,6 +1,6 @@ -$NetBSD: patch-bd,v 1.1 2011/08/19 14:39:09 tnn Exp $ +$NetBSD: patch-bd,v 1.2 2012/03/10 11:42:38 ryoon Exp $ ---- mozilla/js/src/ctypes/CTypes.cpp.orig 2010-11-04 19:20:39.000000000 +0000 +--- mozilla/js/src/ctypes/CTypes.cpp.orig 2012-02-16 10:25:02.000000000 +0000 +++ mozilla/js/src/ctypes/CTypes.cpp @@ -36,6 +36,22 @@ * diff --git a/mail/thunderbird/patches/patch-be b/mail/thunderbird/patches/patch-be deleted file mode 100644 index 73263103bd2..00000000000 --- a/mail/thunderbird/patches/patch-be +++ /dev/null @@ -1,16 +0,0 @@ -$NetBSD: patch-be,v 1.3 2011/08/19 14:39:09 tnn Exp $ - -Disable all sound support for now since it causes -crashes and doesn't work correctly anyway ... - ---- mozilla/widget/src/gtk2/nsSound.cpp.orig 2010-08-06 01:09:23.000000000 +0000 -+++ mozilla/widget/src/gtk2/nsSound.cpp -@@ -138,6 +138,8 @@ nsSound::Init() - - mInited = PR_TRUE; - -+ return NS_OK; -+ - if (!elib) { - elib = PR_LoadLibrary("libesd.so.0"); - } diff --git a/mail/thunderbird/patches/patch-bf b/mail/thunderbird/patches/patch-bf index b85fde113c4..71e7e971fbc 100644 --- a/mail/thunderbird/patches/patch-bf +++ b/mail/thunderbird/patches/patch-bf @@ -1,6 +1,6 @@ -$NetBSD: patch-bf,v 1.2 2011/08/19 14:39:09 tnn Exp $ +$NetBSD: patch-bf,v 1.3 2012/03/10 11:42:38 ryoon Exp $ ---- mozilla/js/src/jsnativestack.cpp.orig 2011-08-11 21:41:05.000000000 +0000 +--- mozilla/js/src/jsnativestack.cpp.orig 2012-02-16 10:25:04.000000000 +0000 +++ mozilla/js/src/jsnativestack.cpp @@ -50,7 +50,7 @@ #elif defined(XP_MACOSX) || defined(DARWIN) || defined(XP_UNIX) diff --git a/mail/thunderbird/patches/patch-bg b/mail/thunderbird/patches/patch-bg index 905a6c5c26d..017d7eb189a 100644 --- a/mail/thunderbird/patches/patch-bg +++ b/mail/thunderbird/patches/patch-bg @@ -1,6 +1,6 @@ -$NetBSD: patch-bg,v 1.2 2011/08/19 14:39:09 tnn Exp $ +$NetBSD: patch-bg,v 1.3 2012/03/10 11:42:38 ryoon Exp $ ---- mozilla/storage/src/SQLiteMutex.h.orig 2010-05-28 13:22:58.000000000 +0000 +--- mozilla/storage/src/SQLiteMutex.h.orig 2012-02-16 10:25:26.000000000 +0000 +++ mozilla/storage/src/SQLiteMutex.h @@ -141,15 +141,19 @@ public: void assertCurrentThreadOwns() diff --git a/mail/thunderbird/patches/patch-bi b/mail/thunderbird/patches/patch-bi index 6464eb5f18c..25ed2a84196 100644 --- a/mail/thunderbird/patches/patch-bi +++ b/mail/thunderbird/patches/patch-bi @@ -1,13 +1,12 @@ -$NetBSD: patch-bi,v 1.1 2011/08/19 14:39:09 tnn Exp $ +$NetBSD: patch-bi,v 1.2 2012/03/10 11:42:38 ryoon Exp $ ---- mozilla/gfx/angle/src/compiler/osinclude.h.orig 2010-12-15 01:02:57.000000000 +0000 +--- mozilla/gfx/angle/src/compiler/osinclude.h.orig 2012-02-16 10:24:56.000000000 +0000 +++ mozilla/gfx/angle/src/compiler/osinclude.h -@@ -16,7 +16,7 @@ +@@ -16,6 +16,7 @@ #define ANGLE_OS_WIN #elif defined(__APPLE__) || defined(__linux__) || \ defined(__FreeBSD__) || defined(__OpenBSD__) || \ -- defined(__sun) -+ defined(__sun) || defined(__NetBSD__) || defined(__DragonFly__) ++ defined(__NetBSD__) || defined(__DragonFly__) || \ + defined(__sun) || defined(ANDROID) #define ANGLE_OS_POSIX #else - #error Unsupported platform. diff --git a/mail/thunderbird/patches/patch-directory_c-sdk_ldap_include_portable.h b/mail/thunderbird/patches/patch-directory_c-sdk_ldap_include_portable.h index ea27ec0dc3e..b8763318de0 100644 --- a/mail/thunderbird/patches/patch-directory_c-sdk_ldap_include_portable.h +++ b/mail/thunderbird/patches/patch-directory_c-sdk_ldap_include_portable.h @@ -1,6 +1,6 @@ -$NetBSD: patch-directory_c-sdk_ldap_include_portable.h,v 1.4 2011/08/19 14:39:10 tnn Exp $ +$NetBSD: patch-directory_c-sdk_ldap_include_portable.h,v 1.5 2012/03/10 11:42:38 ryoon Exp $ ---- ldap/sdks/c-sdk/ldap/include/portable.h.orig 2011-07-06 08:51:23.000000000 +0000 +--- ldap/sdks/c-sdk/ldap/include/portable.h.orig 2012-02-16 10:25:44.000000000 +0000 +++ ldap/sdks/c-sdk/ldap/include/portable.h @@ -122,8 +122,11 @@ * some systems don't have the BSD re_comp and re_exec routines diff --git a/mail/thunderbird/patches/patch-ipc_chromium_src_base_debug__util__posic.cc b/mail/thunderbird/patches/patch-ipc_chromium_src_base_debug__util__posic.cc index 2a63bfc0dca..76a89207de0 100644 --- a/mail/thunderbird/patches/patch-ipc_chromium_src_base_debug__util__posic.cc +++ b/mail/thunderbird/patches/patch-ipc_chromium_src_base_debug__util__posic.cc @@ -1,35 +1,47 @@ -$NetBSD: patch-ipc_chromium_src_base_debug__util__posic.cc,v 1.1 2011/08/19 14:39:10 tnn Exp $ +$NetBSD: patch-ipc_chromium_src_base_debug__util__posic.cc,v 1.2 2012/03/10 11:42:38 ryoon Exp $ ---- mozilla/ipc/chromium/src/base/debug_util_posix.cc.orig 2011-06-15 21:57:27.000000000 +0000 +--- mozilla/ipc/chromium/src/base/debug_util_posix.cc.orig 2012-02-16 10:25:01.000000000 +0000 +++ mozilla/ipc/chromium/src/base/debug_util_posix.cc -@@ -11,10 +11,10 @@ - #include <sys/stat.h> - #include <sys/types.h> +@@ -5,7 +5,7 @@ + #include "build/build_config.h" + #include "base/debug_util.h" + +-#define MOZ_HAVE_EXECINFO_H (!defined(ANDROID) && !defined(__OpenBSD__)) ++#define MOZ_HAVE_EXECINFO_H (defined(__linux__) && !defined(ANDROID)) + + #include <errno.h> + #include <fcntl.h> +@@ -17,8 +17,11 @@ #include <unistd.h> --#ifndef ANDROID -+#ifdef __linux__ + #if MOZ_HAVE_EXECINFO_H #include <execinfo.h> -#include <sys/sysctl.h> #endif ++#if defined(OS_DRAGONFLY) ++#include <sys/user.h> ++#endif +#include <sys/sysctl.h> #include "base/basictypes.h" #include "base/eintr_wrapper.h" -@@ -119,7 +119,7 @@ StackTrace::StackTrace() { - const int kMaxCallers = 256; +@@ -32,7 +35,7 @@ bool DebugUtil::SpawnDebuggerOnProcess(u + return false; + } - void* callers[kMaxCallers]; --#ifndef ANDROID -+#ifdef __GLIBC__ - int count = backtrace(callers, kMaxCallers); - #else - int count = 0; -@@ -138,7 +138,7 @@ StackTrace::StackTrace() { +-#if defined(OS_MACOSX) ++#if defined(OS_MACOSX) || defined(OS_BSD) - void StackTrace::PrintBacktrace() { - fflush(stderr); --#ifndef ANDROID -+#ifdef __GLIBC__ - backtrace_symbols_fd(&trace_[0], trace_.size(), STDERR_FILENO); - #endif + // Based on Apple's recommended method as described in + // http://developer.apple.com/qa/qa2004/qa1361.html +@@ -71,7 +74,11 @@ bool DebugUtil::BeingDebugged() { + + // This process is being debugged if the P_TRACED flag is set. + is_set = true; ++#if defined(__DragonFly__) ++ being_debugged = (info.kp_flags & P_TRACED) != 0; ++#else + being_debugged = (info.kp_proc.p_flag & P_TRACED) != 0; ++#endif + return being_debugged; } + diff --git a/mail/thunderbird/patches/patch-ipc_chromium_src_base_file__util.h b/mail/thunderbird/patches/patch-ipc_chromium_src_base_file__util.h index 87f0bd1bda1..80af386f7bc 100644 --- a/mail/thunderbird/patches/patch-ipc_chromium_src_base_file__util.h +++ b/mail/thunderbird/patches/patch-ipc_chromium_src_base_file__util.h @@ -1,13 +1,12 @@ -$NetBSD: patch-ipc_chromium_src_base_file__util.h,v 1.1 2011/08/19 14:39:10 tnn Exp $ +$NetBSD: patch-ipc_chromium_src_base_file__util.h,v 1.2 2012/03/10 11:42:38 ryoon Exp $ ---- mozilla/ipc/chromium/src/base/file_util.h.orig 2011-06-15 21:57:27.000000000 +0000 +--- mozilla/ipc/chromium/src/base/file_util.h.orig 2012-02-16 10:25:01.000000000 +0000 +++ mozilla/ipc/chromium/src/base/file_util.h -@@ -15,8 +15,9 @@ - #elif defined(ANDROID) +@@ -16,8 +16,8 @@ #include <sys/stat.h> #elif defined(OS_POSIX) + #include <sys/types.h> -#include <fts.h> -+#include <sys/types.h> #include <sys/stat.h> +#include <fts.h> #endif diff --git a/mail/thunderbird/patches/patch-ipc_chromium_src_base_file__util__posix.cc b/mail/thunderbird/patches/patch-ipc_chromium_src_base_file__util__posix.cc index e4fa2b0e4fe..8c2134ac234 100644 --- a/mail/thunderbird/patches/patch-ipc_chromium_src_base_file__util__posix.cc +++ b/mail/thunderbird/patches/patch-ipc_chromium_src_base_file__util__posix.cc @@ -1,14 +1,13 @@ -$NetBSD: patch-ipc_chromium_src_base_file__util__posix.cc,v 1.1 2011/08/19 14:39:10 tnn Exp $ +$NetBSD: patch-ipc_chromium_src_base_file__util__posix.cc,v 1.2 2012/03/10 11:42:38 ryoon Exp $ ---- mozilla/ipc/chromium/src/base/file_util_posix.cc.orig 2011-06-15 21:57:27.000000000 +0000 +--- mozilla/ipc/chromium/src/base/file_util_posix.cc.orig 2012-02-16 10:25:01.000000000 +0000 +++ mozilla/ipc/chromium/src/base/file_util_posix.cc -@@ -30,6 +30,9 @@ - #include "base/string_util.h" +@@ -31,7 +31,7 @@ #include "base/time.h" + // FreeBSD/OpenBSD lacks stat64, but its stat handles files >2GB just fine +-#if defined(OS_FREEBSD) || defined(OS_OPENBSD) +#ifndef __linux__ -+#define stat64 stat -+#endif - namespace file_util { + #define stat64 stat + #endif - #if defined(GOOGLE_CHROME_BUILD) diff --git a/mail/thunderbird/patches/patch-ipc_chromium_src_base_platform__file__posix.cc b/mail/thunderbird/patches/patch-ipc_chromium_src_base_platform__file__posix.cc index a6e72a0c7ac..49058781086 100644 --- a/mail/thunderbird/patches/patch-ipc_chromium_src_base_platform__file__posix.cc +++ b/mail/thunderbird/patches/patch-ipc_chromium_src_base_platform__file__posix.cc @@ -1,8 +1,8 @@ -$NetBSD: patch-ipc_chromium_src_base_platform__file__posix.cc,v 1.1 2011/08/19 14:39:10 tnn Exp $ +$NetBSD: patch-ipc_chromium_src_base_platform__file__posix.cc,v 1.2 2012/03/10 11:42:38 ryoon Exp $ ---- mozilla/ipc/chromium/src/base/platform_file_posix.cc.orig 2011-06-15 21:57:27.000000000 +0000 +--- mozilla/ipc/chromium/src/base/platform_file_posix.cc.orig 2012-02-16 10:25:01.000000000 +0000 +++ mozilla/ipc/chromium/src/base/platform_file_posix.cc -@@ -9,6 +9,7 @@ +@@ -10,6 +10,7 @@ #ifdef ANDROID #include <linux/stat.h> #endif diff --git a/mail/thunderbird/patches/patch-ipc_chromium_src_base_platform__thread__posix.cc b/mail/thunderbird/patches/patch-ipc_chromium_src_base_platform__thread__posix.cc index f847118786f..25da7c47096 100644 --- a/mail/thunderbird/patches/patch-ipc_chromium_src_base_platform__thread__posix.cc +++ b/mail/thunderbird/patches/patch-ipc_chromium_src_base_platform__thread__posix.cc @@ -1,8 +1,8 @@ -$NetBSD: patch-ipc_chromium_src_base_platform__thread__posix.cc,v 1.1 2011/08/19 14:39:10 tnn Exp $ +$NetBSD: patch-ipc_chromium_src_base_platform__thread__posix.cc,v 1.2 2012/03/10 11:42:38 ryoon Exp $ ---- mozilla/ipc/chromium/src/base/platform_thread_posix.cc.orig 2011-06-15 21:57:27.000000000 +0000 +--- mozilla/ipc/chromium/src/base/platform_thread_posix.cc.orig 2012-02-16 10:25:01.000000000 +0000 +++ mozilla/ipc/chromium/src/base/platform_thread_posix.cc -@@ -9,6 +9,8 @@ +@@ -9,9 +9,13 @@ #if defined(OS_MACOSX) #include <mach/mach.h> @@ -11,7 +11,12 @@ $NetBSD: patch-ipc_chromium_src_base_platform__thread__posix.cc,v 1.1 2011/08/19 #elif defined(OS_LINUX) #include <sys/syscall.h> #include <unistd.h> -@@ -33,6 +35,10 @@ PlatformThreadId PlatformThread::Current ++#elif defined(OS_DRAGONFLY) ++#include <unistd.h> + #endif + + #if defined(OS_MACOSX) +@@ -33,6 +37,14 @@ PlatformThreadId PlatformThread::Current // into the kernel. #if defined(OS_MACOSX) return mach_thread_self(); @@ -19,6 +24,10 @@ $NetBSD: patch-ipc_chromium_src_base_platform__thread__posix.cc,v 1.1 2011/08/19 + return _lwp_self(); +#elif defined(OS_DRAGONFLY) + return lwp_gettid(); - #elif defined(OS_LINUX) - return syscall(__NR_gettid); - #endif ++#elif defined(OS_FREEBSD) ++ lwpid_t lwpid; ++ thr_self( &lwpid ); ++ return lwpid; + #elif defined (__OpenBSD__) + // TODO(BSD): find a better thread ID + return (intptr_t)(pthread_self()); diff --git a/mail/thunderbird/patches/patch-ipc_chromium_src_base_sys__info__posix.cc b/mail/thunderbird/patches/patch-ipc_chromium_src_base_sys__info__posix.cc index 0ecbd70ec2a..9ad72a3d6d0 100644 --- a/mail/thunderbird/patches/patch-ipc_chromium_src_base_sys__info__posix.cc +++ b/mail/thunderbird/patches/patch-ipc_chromium_src_base_sys__info__posix.cc @@ -1,6 +1,6 @@ -$NetBSD: patch-ipc_chromium_src_base_sys__info__posix.cc,v 1.2 2011/11/27 13:09:00 tnn Exp $ +$NetBSD: patch-ipc_chromium_src_base_sys__info__posix.cc,v 1.3 2012/03/10 11:42:38 ryoon Exp $ ---- mozilla/ipc/chromium/src/base/sys_info_posix.cc.orig 2011-11-04 21:34:00.000000000 +0000 +--- mozilla/ipc/chromium/src/base/sys_info_posix.cc.orig 2012-02-16 10:25:01.000000000 +0000 +++ mozilla/ipc/chromium/src/base/sys_info_posix.cc @@ -18,6 +18,11 @@ #include <mach/mach_init.h> diff --git a/mail/thunderbird/patches/patch-ipc_chromium_src_base_third__party_nspr_prcpucfg.h b/mail/thunderbird/patches/patch-ipc_chromium_src_base_third__party_nspr_prcpucfg.h index ed8a4a59833..88bcb88a85e 100644 --- a/mail/thunderbird/patches/patch-ipc_chromium_src_base_third__party_nspr_prcpucfg.h +++ b/mail/thunderbird/patches/patch-ipc_chromium_src_base_third__party_nspr_prcpucfg.h @@ -1,6 +1,6 @@ -$NetBSD: patch-ipc_chromium_src_base_third__party_nspr_prcpucfg.h,v 1.1 2011/08/19 14:39:10 tnn Exp $ +$NetBSD: patch-ipc_chromium_src_base_third__party_nspr_prcpucfg.h,v 1.2 2012/03/10 11:42:38 ryoon Exp $ ---- mozilla/ipc/chromium/src/base/third_party/nspr/prcpucfg.h.orig 2011-06-15 21:57:27.000000000 +0000 +--- mozilla/ipc/chromium/src/base/third_party/nspr/prcpucfg.h.orig 2012-02-16 10:25:01.000000000 +0000 +++ mozilla/ipc/chromium/src/base/third_party/nspr/prcpucfg.h @@ -34,7 +34,7 @@ #include "base/third_party/nspr/prcpucfg_win.h" @@ -9,5 +9,5 @@ $NetBSD: patch-ipc_chromium_src_base_third__party_nspr_prcpucfg.h,v 1.1 2011/08/ -#elif defined(__linux__) || defined(ANDROID) +#elif defined(__linux__) || defined(ANDROID) || defined(__NetBSD__) || defined(__DragonFly__) #include "base/third_party/nspr/prcpucfg_linux.h" - #else - #error Provide a prcpucfg.h appropriate for your platform + #elif defined(__OpenBSD__) + #include "base/third_party/nspr/prcpucfg_openbsd.h" diff --git a/mail/thunderbird/patches/patch-ipc_chromium_src_build_build__config.h b/mail/thunderbird/patches/patch-ipc_chromium_src_build_build__config.h index 218f3eee2e0..5db34301d46 100644 --- a/mail/thunderbird/patches/patch-ipc_chromium_src_build_build__config.h +++ b/mail/thunderbird/patches/patch-ipc_chromium_src_build_build__config.h @@ -1,6 +1,6 @@ -$NetBSD: patch-ipc_chromium_src_build_build__config.h,v 1.1 2011/08/19 14:39:10 tnn Exp $ +$NetBSD: patch-ipc_chromium_src_build_build__config.h,v 1.2 2012/03/10 11:42:38 ryoon Exp $ ---- mozilla/ipc/chromium/src/build/build_config.h.orig 2011-08-11 21:41:01.000000000 +0000 +--- mozilla/ipc/chromium/src/build/build_config.h.orig 2012-02-16 10:25:01.000000000 +0000 +++ mozilla/ipc/chromium/src/build/build_config.h @@ -19,6 +19,10 @@ #define OS_MACOSX 1 @@ -10,25 +10,15 @@ $NetBSD: patch-ipc_chromium_src_build_build__config.h,v 1.1 2011/08/19 14:39:10 +#define OS_NETBSD 1 +#elif defined(__DragonFly__) +#define OS_DRAGONFLY 1 + #elif defined(__OpenBSD__) + #define OS_OPENBSD 1 #elif defined(_WIN32) - #define OS_WIN 1 - #else -@@ -27,7 +31,7 @@ +@@ -29,7 +33,7 @@ // For access to standard POSIX features, use OS_POSIX instead of a more // specific macro. --#if defined(OS_MACOSX) || defined(OS_LINUX) -+#if defined(OS_MACOSX) || defined(OS_LINUX) || defined(OS_NETBSD) || defined(OS_DRAGONFLY) +-#if defined(OS_MACOSX) || defined(OS_LINUX) || defined(OS_OPENBSD) ++#if defined(OS_MACOSX) || defined(OS_LINUX) || defined(OS_BSD) #define OS_POSIX 1 #endif -@@ -60,6 +64,9 @@ - #elif defined(__ppc__) || defined(__powerpc__) - #define ARCH_CPU_PPC 1 - #define ARCH_CPU_32_BITS 1 -+#elif defined(__sparc64__) -+#define ARCH_CPU_SPARC 1 -+#define ARCH_CPU_64_BITS 1 - #else - #error Please add support for your architecture in build/build_config.h - #endif diff --git a/mail/thunderbird/patches/patch-ipc_chromium_src_chrome_common_ipc__channel__posix.h b/mail/thunderbird/patches/patch-ipc_chromium_src_chrome_common_ipc__channel__posix.h index 1dad75fa347..d5104c242bd 100644 --- a/mail/thunderbird/patches/patch-ipc_chromium_src_chrome_common_ipc__channel__posix.h +++ b/mail/thunderbird/patches/patch-ipc_chromium_src_chrome_common_ipc__channel__posix.h @@ -1,8 +1,8 @@ -$NetBSD: patch-ipc_chromium_src_chrome_common_ipc__channel__posix.h,v 1.1 2011/08/19 14:39:10 tnn Exp $ +$NetBSD: patch-ipc_chromium_src_chrome_common_ipc__channel__posix.h,v 1.2 2012/03/10 11:42:38 ryoon Exp $ ---- mozilla/ipc/chromium/src/chrome/common/ipc_channel_posix.h.orig 2011-06-15 21:57:27.000000000 +0000 +--- mozilla/ipc/chromium/src/chrome/common/ipc_channel_posix.h.orig 2012-02-16 10:25:01.000000000 +0000 +++ mozilla/ipc/chromium/src/chrome/common/ipc_channel_posix.h -@@ -92,7 +92,7 @@ class Channel::ChannelImpl : public Mess +@@ -95,7 +95,7 @@ class Channel::ChannelImpl : public Mess }; // This is a control message buffer large enough to hold kMaxReadFDs diff --git a/mail/thunderbird/patches/patch-ma b/mail/thunderbird/patches/patch-ma index 69847e131b3..dc59ca8c2ce 100644 --- a/mail/thunderbird/patches/patch-ma +++ b/mail/thunderbird/patches/patch-ma @@ -1,8 +1,8 @@ -$NetBSD: patch-ma,v 1.2 2010/07/12 16:49:22 tnn Exp $ +$NetBSD: patch-ma,v 1.3 2012/03/10 11:42:38 ryoon Exp $ ---- mozilla/config/autoconf.mk.in.orig 2009-06-29 18:14:41.000000000 +0200 +--- mozilla/config/autoconf.mk.in.orig 2012-02-16 10:24:47.000000000 +0000 +++ mozilla/config/autoconf.mk.in -@@ -57,14 +57,14 @@ MOZ_PKG_SPECIAL = @MOZ_PKG_SPECIAL@ +@@ -62,14 +62,14 @@ MOZ_PKG_SPECIAL = @MOZ_PKG_SPECIAL@ prefix = @prefix@ exec_prefix = @exec_prefix@ bindir = @bindir@ diff --git a/mail/thunderbird/patches/patch-ma-toplevel b/mail/thunderbird/patches/patch-ma-toplevel index 8cba3ec5821..ecae24c5128 100644 --- a/mail/thunderbird/patches/patch-ma-toplevel +++ b/mail/thunderbird/patches/patch-ma-toplevel @@ -1,6 +1,6 @@ -$NetBSD: patch-ma-toplevel,v 1.2 2011/08/19 14:39:10 tnn Exp $ +$NetBSD: patch-ma-toplevel,v 1.3 2012/03/10 11:42:38 ryoon Exp $ ---- config/autoconf.mk.in.orig 2011-07-06 08:40:27.000000000 +0000 +--- config/autoconf.mk.in.orig 2012-02-16 10:18:22.000000000 +0000 +++ config/autoconf.mk.in @@ -60,14 +60,14 @@ MOZ_PKG_SPECIAL = @MOZ_PKG_SPECIAL@ prefix = @prefix@ diff --git a/mail/thunderbird/patches/patch-mb b/mail/thunderbird/patches/patch-mb index 6e6d6c8c586..66fcd4455bd 100644 --- a/mail/thunderbird/patches/patch-mb +++ b/mail/thunderbird/patches/patch-mb @@ -1,26 +1,26 @@ -$NetBSD: patch-mb,v 1.3 2011/08/19 14:39:10 tnn Exp $ +$NetBSD: patch-mb,v 1.4 2012/03/10 11:42:38 ryoon Exp $ ---- mozilla/xpcom/reflect/xptcall/src/md/unix/Makefile.in.orig 2011-06-15 21:58:01.000000000 +0000 +--- mozilla/xpcom/reflect/xptcall/src/md/unix/Makefile.in.orig 2012-02-16 10:25:33.000000000 +0000 +++ mozilla/xpcom/reflect/xptcall/src/md/unix/Makefile.in -@@ -97,7 +97,7 @@ endif +@@ -84,7 +84,7 @@ endif endif endif -ifneq (,$(filter NetBSD OpenBSD BSD_OS GNU,$(OS_ARCH))) +ifneq (,$(filter BSD_OS GNU,$(OS_ARCH))) ifeq (86,$(findstring 86,$(OS_TEST))) - CPPSRCS := xptcinvoke_unixish_x86.cpp xptcstubs_unixish_x86.cpp + CPPSRCS := xptcinvoke_gcc_x86_unix.cpp xptcstubs_gcc_x86_unix.cpp endif -@@ -106,7 +106,7 @@ endif +@@ -93,7 +93,7 @@ endif # New code for Linux, et. al., with gcc # Migrate other platforms here after testing # -ifneq (,$(filter Linux FreeBSD GNU_%,$(OS_ARCH))) -+ifneq (,$(filter Linux NetBSD DragonFly FreeBSD OpenBSD GNU_%,$(OS_ARCH))) ++ifneq (,$(filter Linux FreeBSD DragonFly NetBSD OpenBSD GNU_%,$(OS_ARCH))) # Linux/x86-64 ifeq (x86_64,$(OS_TEST)) CPPSRCS := xptcinvoke_x86_64_unix.cpp xptcstubs_x86_64_linux.cpp -@@ -124,12 +124,6 @@ ASFILES := xptcstubs_asm_ipf64.s xptcin +@@ -111,12 +111,6 @@ ASFILES := xptcstubs_asm_ipf64.s xptcin endif endif # @@ -33,7 +33,7 @@ $NetBSD: patch-mb,v 1.3 2011/08/19 14:39:10 tnn Exp $ # Neutrino/Intel (uses the same unixish_x86 code) # ifeq ($(OS_TARGET),NTO) -@@ -212,7 +206,7 @@ endif +@@ -192,7 +186,7 @@ endif # NetBSD/ARM # ifeq ($(OS_ARCH),NetBSD) @@ -42,7 +42,7 @@ $NetBSD: patch-mb,v 1.3 2011/08/19 14:39:10 tnn Exp $ CPPSRCS := xptcinvoke_arm_netbsd.cpp xptcstubs_arm_netbsd.cpp endif endif -@@ -269,7 +263,7 @@ endif +@@ -249,7 +243,7 @@ endif # NetBSD/m68k # ifeq ($(OS_ARCH),NetBSD) @@ -51,7 +51,7 @@ $NetBSD: patch-mb,v 1.3 2011/08/19 14:39:10 tnn Exp $ CPPSRCS := xptcinvoke_netbsd_m68k.cpp xptcstubs_netbsd_m68k.cpp endif endif -@@ -359,9 +353,10 @@ endif +@@ -321,9 +315,10 @@ endif # # NetBSD/PPC # @@ -63,15 +63,15 @@ $NetBSD: patch-mb,v 1.3 2011/08/19 14:39:10 tnn Exp $ endif # -@@ -433,6 +428,13 @@ CPPSRCS := xptcinvoke_sparc64_openbsd.c +@@ -389,6 +384,13 @@ CPPSRCS := xptcinvoke_sparc64_openbsd.c ASFILES := xptcinvoke_asm_sparc64_openbsd.s xptcstubs_asm_sparc64_openbsd.s endif # +# NetBSD/SPARC64 +# +ifeq ($(OS_ARCH)$(OS_TEST),NetBSDsparc64) -+CPPSRCS := xptcinvoke_sparc64_netbsd.cpp xptcstubs_sparc64_netbsd.cpp -+ASFILES := xptcinvoke_asm_sparc64_netbsd.s xptcstubs_asm_sparc64_netbsd.s ++CPPSRCS := xptcinvoke_sparc64_netbsd.cpp xptcstubs_sparc64_netbsd.cpp ++ASFILES := xptcinvoke_asm_sparc64_netbsd.s xptcstubs_asm_sparc64_netbsd.s +endif +# # Solaris/SPARC diff --git a/mail/thunderbird/patches/patch-md b/mail/thunderbird/patches/patch-md index b421b62a350..7f3058ad348 100644 --- a/mail/thunderbird/patches/patch-md +++ b/mail/thunderbird/patches/patch-md @@ -1,10 +1,10 @@ -$NetBSD: patch-md,v 1.2 2010/07/12 16:49:22 tnn Exp $ +$NetBSD: patch-md,v 1.3 2012/03/10 11:42:38 ryoon Exp $ ???. from www/firefox/patch-ax. ---- mozilla/security/coreconf/SunOS5.mk.orig 2009-06-29 18:15:11.000000000 +0200 +--- mozilla/security/coreconf/SunOS5.mk.orig 2012-02-16 10:25:23.000000000 +0000 +++ mozilla/security/coreconf/SunOS5.mk -@@ -156,6 +156,10 @@ endif +@@ -147,6 +147,10 @@ endif endif DSO_LDOPTS += -z combreloc -z defs -z ignore diff --git a/mail/thunderbird/patches/patch-me b/mail/thunderbird/patches/patch-me index 5b25b00de20..962976a4fa0 100644 --- a/mail/thunderbird/patches/patch-me +++ b/mail/thunderbird/patches/patch-me @@ -1,10 +1,10 @@ -$NetBSD: patch-me,v 1.4 2011/08/19 14:39:10 tnn Exp $ +$NetBSD: patch-me,v 1.5 2012/03/10 11:42:38 ryoon Exp $ Add DragonFly support. ---- mozilla/security/nss/lib/freebl/Makefile.orig 2009-06-29 18:15:13.000000000 +0200 +--- mozilla/security/nss/lib/freebl/Makefile.orig 2012-02-16 10:25:24.000000000 +0000 +++ mozilla/security/nss/lib/freebl/Makefile -@@ -212,7 +212,7 @@ endif +@@ -275,7 +275,7 @@ endif # to bind the blapi function references in FREEBLVector vector # (ldvector.c) to the blapi functions defined in the freebl # shared libraries. diff --git a/mail/thunderbird/patches/patch-mf b/mail/thunderbird/patches/patch-mf index c789951605c..1fc0ec5b403 100644 --- a/mail/thunderbird/patches/patch-mf +++ b/mail/thunderbird/patches/patch-mf @@ -1,9 +1,9 @@ -$NetBSD: patch-mf,v 1.4 2011/11/13 16:59:58 tnn Exp $ +$NetBSD: patch-mf,v 1.5 2012/03/10 11:42:38 ryoon Exp $ Add DragonFly support. Make sure nss libraries have a run path defined. ---- mozilla/security/coreconf/config.mk.orig 2011-11-04 21:34:14.000000000 +0000 +--- mozilla/security/coreconf/config.mk.orig 2012-02-16 10:25:23.000000000 +0000 +++ mozilla/security/coreconf/config.mk @@ -63,7 +63,7 @@ endif ####################################################################### diff --git a/mail/thunderbird/patches/patch-mg b/mail/thunderbird/patches/patch-mg index a45dc1d4d66..6f812c6e305 100644 --- a/mail/thunderbird/patches/patch-mg +++ b/mail/thunderbird/patches/patch-mg @@ -1,8 +1,8 @@ -$NetBSD: patch-mg,v 1.2 2010/07/12 16:49:22 tnn Exp $ +$NetBSD: patch-mg,v 1.3 2012/03/10 11:42:38 ryoon Exp $ Add DragonFly support. ---- mozilla/security/coreconf/DragonFly.mk.orig 2009-06-30 22:20:24.000000000 +0200 +--- mozilla/security/coreconf/DragonFly.mk.orig 2012-03-09 12:27:39.000000000 +0000 +++ mozilla/security/coreconf/DragonFly.mk @@ -0,0 +1,83 @@ +# diff --git a/mail/thunderbird/patches/patch-mh b/mail/thunderbird/patches/patch-mh index 40a371b7fbb..74a86bd575e 100644 --- a/mail/thunderbird/patches/patch-mh +++ b/mail/thunderbird/patches/patch-mh @@ -1,6 +1,6 @@ -$NetBSD: patch-mh,v 1.1 2010/07/12 16:49:22 tnn Exp $ +$NetBSD: patch-mh,v 1.2 2012/03/10 11:42:38 ryoon Exp $ ---- mozilla/security/nss/lib/Makefile.orig 2010-04-13 22:22:54.000000000 +0000 +--- mozilla/security/nss/lib/Makefile.orig 2012-02-16 10:25:24.000000000 +0000 +++ mozilla/security/nss/lib/Makefile @@ -70,7 +70,7 @@ endif diff --git a/mail/thunderbird/patches/patch-mi b/mail/thunderbird/patches/patch-mi index 794e6c384f8..4740ee54ef9 100644 --- a/mail/thunderbird/patches/patch-mi +++ b/mail/thunderbird/patches/patch-mi @@ -1,15 +1,15 @@ -$NetBSD: patch-mi,v 1.2 2010/07/12 16:49:22 tnn Exp $ +$NetBSD: patch-mi,v 1.3 2012/03/10 11:42:38 ryoon Exp $ Add DragonFly support. ---- mozilla/config/config.mk.orig 2009-06-29 18:14:41.000000000 +0200 +--- mozilla/config/config.mk.orig 2012-02-16 10:24:47.000000000 +0000 +++ mozilla/config/config.mk -@@ -133,7 +133,7 @@ endif +@@ -129,7 +129,7 @@ endif # but save the version to allow multiple versions of the same base # platform to be built in the same tree. # --ifneq (,$(filter FreeBSD HP-UX IRIX Linux NetBSD OpenBSD OSF1 SunOS,$(OS_ARCH))) -+ifneq (,$(filter DragonFly FreeBSD HP-UX IRIX Linux NetBSD OpenBSD OSF1 SunOS,$(OS_ARCH))) +-ifneq (,$(filter FreeBSD HP-UX Linux NetBSD OpenBSD OSF1 SunOS,$(OS_ARCH))) ++ifneq (,$(filter DragonFly FreeBSD HP-UX Linux NetBSD OpenBSD OSF1 SunOS,$(OS_ARCH))) OS_RELEASE := $(basename $(OS_RELEASE)) # Allow the user to ignore the OS_VERSION, which is usually irrelevant. diff --git a/mail/thunderbird/patches/patch-mj b/mail/thunderbird/patches/patch-mj index ea86c0506d4..43e3ed1d8bf 100644 --- a/mail/thunderbird/patches/patch-mj +++ b/mail/thunderbird/patches/patch-mj @@ -1,8 +1,8 @@ -$NetBSD: patch-mj,v 1.2 2010/07/12 16:49:22 tnn Exp $ +$NetBSD: patch-mj,v 1.3 2012/03/10 11:42:38 ryoon Exp $ Add DragonFly support. ---- mozilla/security/coreconf/arch.mk.orig 2009-06-29 18:15:11.000000000 +0200 +--- mozilla/security/coreconf/arch.mk.orig 2012-02-16 10:25:23.000000000 +0000 +++ mozilla/security/coreconf/arch.mk @@ -146,7 +146,7 @@ endif # IRIX 6.5-ALPHA-1289139620. diff --git a/mail/thunderbird/patches/patch-mk b/mail/thunderbird/patches/patch-mk index 333cc5296b9..31af0d8b30d 100644 --- a/mail/thunderbird/patches/patch-mk +++ b/mail/thunderbird/patches/patch-mk @@ -1,10 +1,10 @@ -$NetBSD: patch-mk,v 1.2 2010/07/12 16:49:22 tnn Exp $ +$NetBSD: patch-mk,v 1.3 2012/03/10 11:42:39 ryoon Exp $ Treat DragonFly like FreeBSD. ---- mozilla/config/rules.mk.orig 2009-06-29 18:14:41.000000000 +0200 +--- mozilla/config/rules.mk.orig 2012-02-16 10:24:47.000000000 +0000 +++ mozilla/config/rules.mk -@@ -592,6 +592,12 @@ EXTRA_DSO_LDOPTS += -Wl,-Bsymbolic +@@ -580,6 +580,12 @@ EXTRA_DSO_LDOPTS += -Wl,-Bsymbolic endif endif @@ -17,3 +17,14 @@ Treat DragonFly like FreeBSD. ifeq ($(OS_ARCH),NetBSD) ifneq (,$(filter arc cobalt hpcmips mipsco newsmips pmax sgimips,$(OS_TEST))) ifeq ($(MODULE),layout) +@@ -589,6 +595,10 @@ endif + endif + endif + ++ifeq ($(OS_ARCH),NetBSD) ++EXTRA_DSO_LDOPTS += -Wl,-rpath,${PREFIX}/lib/xulrunner ++endif ++ + # + # HP-UXBeOS specific section: for COMPONENTS only, add -Bsymbolic flag + # which uses internal symbols first diff --git a/mail/thunderbird/patches/patch-ml b/mail/thunderbird/patches/patch-ml index 61dfdf66a59..86f95108de8 100644 --- a/mail/thunderbird/patches/patch-ml +++ b/mail/thunderbird/patches/patch-ml @@ -1,16 +1,16 @@ -$NetBSD: patch-ml,v 1.2 2010/07/12 16:49:22 tnn Exp $ +$NetBSD: patch-ml,v 1.3 2012/03/10 11:42:39 ryoon Exp $ Treat DragonFly like FreeBSD. ---- mozilla/js/src/Makefile.in.orig 2009-06-29 18:14:51.000000000 +0200 +--- mozilla/js/src/Makefile.in.orig 2012-02-16 10:25:02.000000000 +0000 +++ mozilla/js/src/Makefile.in -@@ -429,6 +429,9 @@ endif # WINNT +@@ -809,6 +809,9 @@ endif # WINNT ifeq ($(OS_ARCH),FreeBSD) EXTRA_LIBS += -pthread endif +ifeq ($(OS_ARCH),DragonFly) +EXTRA_LIBS += -pthread +endif - ifeq ($(OS_ARCH),IRIX) - ifdef USE_N32 - DASH_R += -n32 + ifeq ($(OS_ARCH),Linux) + EXTRA_LIBS += -ldl + endif diff --git a/mail/thunderbird/patches/patch-mm b/mail/thunderbird/patches/patch-mm index e5bf7d9a877..02bb74040a3 100644 --- a/mail/thunderbird/patches/patch-mm +++ b/mail/thunderbird/patches/patch-mm @@ -1,11 +1,15 @@ -$NetBSD: patch-mm,v 1.5 2011/08/19 14:39:10 tnn Exp $ +$NetBSD: patch-mm,v 1.6 2012/03/10 11:42:39 ryoon Exp $ ---- mozilla/toolkit/library/Makefile.in.orig 2011-06-15 21:58:10.000000000 +0000 +--- mozilla/toolkit/library/Makefile.in.orig 2012-02-16 10:25:30.000000000 +0000 +++ mozilla/toolkit/library/Makefile.in -@@ -216,6 +216,13 @@ EXTRA_DSO_LDOPTS += -lelf -ldemangle +@@ -209,6 +209,17 @@ EXTRA_DSO_LDOPTS += -lelf -ldemangle endif endif ++ifeq ($(OS_ARCH),DragonFly) ++OS_LIBS += $(call EXPAND_LIBNAME,kvm) ++endif ++ +ifeq ($(OS_ARCH),NetBSD) +EXTRA_DSO_LDOPTS += -lossaudio +endif diff --git a/mail/thunderbird/patches/patch-mn b/mail/thunderbird/patches/patch-mn index 0235a0c0920..126f135090a 100644 --- a/mail/thunderbird/patches/patch-mn +++ b/mail/thunderbird/patches/patch-mn @@ -1,8 +1,8 @@ -$NetBSD: patch-mn,v 1.3 2010/09/09 10:58:51 tnn Exp $ +$NetBSD: patch-mn,v 1.4 2012/03/10 11:42:39 ryoon Exp $ Make sure we link correctly with sqlite3 from pkgsrc. ---- mozilla/security/nss/lib/softoken/config.mk.orig 2010-08-24 21:32:09.000000000 +0000 +--- mozilla/security/nss/lib/softoken/config.mk.orig 2012-02-16 10:25:25.000000000 +0000 +++ mozilla/security/nss/lib/softoken/config.mk @@ -80,7 +80,7 @@ else # $(EXTRA_SHARED_LIBS) come before $(OS_LIBS), except on AIX. diff --git a/mail/thunderbird/patches/patch-mozilla_browser_confvars.sh b/mail/thunderbird/patches/patch-mozilla_browser_confvars.sh new file mode 100644 index 00000000000..7011b8d828b --- /dev/null +++ b/mail/thunderbird/patches/patch-mozilla_browser_confvars.sh @@ -0,0 +1,11 @@ +$NetBSD: patch-mozilla_browser_confvars.sh,v 1.1 2012/03/10 11:42:39 ryoon Exp $ + +--- mozilla/browser/confvars.sh.orig 2012-02-16 10:24:46.000000000 +0000 ++++ mozilla/browser/confvars.sh +@@ -49,5 +49,5 @@ MOZ_EXTENSIONS_DEFAULT=" gnomevfs" + # MOZ_APP_DISPLAYNAME will be set by branding/configure.sh + # Changing either of these values requires a clobber to ensure correct results, + # because branding dependencies are broken. +-MOZ_BRANDING_DIRECTORY=browser/branding/official ++MOZ_BRANDING_DIRECTORY=browser/branding/aurora + MOZ_OFFICIAL_BRANDING_DIRECTORY=browser/branding/official diff --git a/mail/thunderbird/patches/patch-mozilla_browser_confvars.sh.orig b/mail/thunderbird/patches/patch-mozilla_browser_confvars.sh.orig new file mode 100644 index 00000000000..e69de29bb2d --- /dev/null +++ b/mail/thunderbird/patches/patch-mozilla_browser_confvars.sh.orig diff --git a/mail/thunderbird/patches/patch-mozilla_build_autoconf_gcc-pr49911.m4 b/mail/thunderbird/patches/patch-mozilla_build_autoconf_gcc-pr49911.m4 new file mode 100644 index 00000000000..439c5fa3aa7 --- /dev/null +++ b/mail/thunderbird/patches/patch-mozilla_build_autoconf_gcc-pr49911.m4 @@ -0,0 +1,13 @@ +$NetBSD: patch-mozilla_build_autoconf_gcc-pr49911.m4,v 1.1 2012/03/10 11:42:39 ryoon Exp $ + +--- mozilla/build/autoconf/gcc-pr49911.m4.orig 2012-02-16 10:24:47.000000000 +0000 ++++ mozilla/build/autoconf/gcc-pr49911.m4 +@@ -56,7 +56,7 @@ CXXFLAGS="$_SAVE_CXXFLAGS" + + AC_LANG_RESTORE + +-if test "$ac_have_gcc_pr49911" == "yes"; then ++if test "$ac_have_gcc_pr49911" = "yes"; then + AC_MSG_RESULT(yes) + CFLAGS="$CFLAGS -fno-tree-vrp" + CXXFLAGS="$CXXFLAGS -fno-tree-vrp" diff --git a/mail/thunderbird/patches/patch-mozilla_build_autoconf_gcc-pr49911.m4.orig b/mail/thunderbird/patches/patch-mozilla_build_autoconf_gcc-pr49911.m4.orig new file mode 100644 index 00000000000..e69de29bb2d --- /dev/null +++ b/mail/thunderbird/patches/patch-mozilla_build_autoconf_gcc-pr49911.m4.orig diff --git a/mail/thunderbird/patches/patch-mozilla_build_autoconf_nss.m4 b/mail/thunderbird/patches/patch-mozilla_build_autoconf_nss.m4 new file mode 100644 index 00000000000..83f4000ad7e --- /dev/null +++ b/mail/thunderbird/patches/patch-mozilla_build_autoconf_nss.m4 @@ -0,0 +1,46 @@ +$NetBSD: patch-mozilla_build_autoconf_nss.m4,v 1.1 2012/03/10 11:42:39 ryoon Exp $ + +--- mozilla/build/autoconf/nss.m4.orig 2012-02-16 10:24:47.000000000 +0000 ++++ mozilla/build/autoconf/nss.m4 +@@ -22,18 +22,18 @@ AC_ARG_WITH(nss-exec-prefix, + if test -n "$nss_config_exec_prefix"; then + nss_config_args="$nss_config_args --exec-prefix=$nss_config_exec_prefix" + if test -z "$NSS_CONFIG"; then +- NSS_CONFIG=$nss_config_exec_prefix/bin/nss-config ++ NSS_CONFIG=$nss_config_exec_prefix/bin/pkg-config + fi + fi + if test -n "$nss_config_prefix"; then + nss_config_args="$nss_config_args --prefix=$nss_config_prefix" + if test -z "$NSS_CONFIG"; then +- NSS_CONFIG=$nss_config_prefix/bin/nss-config ++ NSS_CONFIG=$nss_config_prefix/bin/pkg-config + fi + fi + + unset ac_cv_path_NSS_CONFIG +- AC_PATH_PROG(NSS_CONFIG, nss-config, no) ++ AC_PATH_PROG(NSS_CONFIG, pkg-config, no) + min_nss_version=ifelse([$1], ,3.0.0,$1) + AC_MSG_CHECKING(for NSS - version >= $min_nss_version) + +@@ -41,14 +41,14 @@ AC_ARG_WITH(nss-exec-prefix, + if test "$NSS_CONFIG" = "no"; then + no_nss="yes" + else +- NSS_CFLAGS=`$NSS_CONFIG $nss_config_args --cflags` +- NSS_LIBS=`$NSS_CONFIG $nss_config_args --libs` ++ NSS_CFLAGS=`$NSS_CONFIG $nss_config_args nss --cflags` ++ NSS_LIBS=`$NSS_CONFIG $nss_config_args nss --libs` + +- nss_config_major_version=`$NSS_CONFIG $nss_config_args --version | \ ++ nss_config_major_version=`$NSS_CONFIG $nss_config_args nss --modversion | \ + sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'` +- nss_config_minor_version=`$NSS_CONFIG $nss_config_args --version | \ ++ nss_config_minor_version=`$NSS_CONFIG $nss_config_args nss --modversion | \ + sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'` +- nss_config_micro_version=`$NSS_CONFIG $nss_config_args --version | \ ++ nss_config_micro_version=`$NSS_CONFIG $nss_config_args nss --modversion | \ + sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'` + min_nss_major_version=`echo $min_nss_version | \ + sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'` diff --git a/mail/thunderbird/patches/patch-mozilla_build_autoconf_nss.m4.orig b/mail/thunderbird/patches/patch-mozilla_build_autoconf_nss.m4.orig new file mode 100644 index 00000000000..e69de29bb2d --- /dev/null +++ b/mail/thunderbird/patches/patch-mozilla_build_autoconf_nss.m4.orig diff --git a/mail/thunderbird/patches/patch-mozilla_dom_plugins_ipc_PluginModuleChild.cpp b/mail/thunderbird/patches/patch-mozilla_dom_plugins_ipc_PluginModuleChild.cpp new file mode 100644 index 00000000000..109b20a0207 --- /dev/null +++ b/mail/thunderbird/patches/patch-mozilla_dom_plugins_ipc_PluginModuleChild.cpp @@ -0,0 +1,31 @@ +$NetBSD: patch-mozilla_dom_plugins_ipc_PluginModuleChild.cpp,v 1.1 2012/03/10 11:42:39 ryoon Exp $ + +--- mozilla/dom/plugins/ipc/PluginModuleChild.cpp.orig 2012-02-16 10:24:53.000000000 +0000 ++++ mozilla/dom/plugins/ipc/PluginModuleChild.cpp +@@ -236,7 +236,7 @@ PluginModuleChild::Init(const std::strin + + // TODO: use PluginPRLibrary here + +-#if defined(OS_LINUX) ++#if defined(OS_LINUX) || defined(OS_BSD) + mShutdownFunc = + (NP_PLUGINSHUTDOWN) PR_FindFunctionSymbol(mLibrary, "NP_Shutdown"); + +@@ -1824,7 +1824,7 @@ PluginModuleChild::AnswerNP_GetEntryPoin + PLUGIN_LOG_DEBUG_METHOD; + AssertPluginThread(); + +-#if defined(OS_LINUX) ++#if defined(OS_LINUX) || defined(OS_BSD) + return true; + #elif defined(OS_WIN) || defined(OS_MACOSX) + *_retval = mGetEntryPointsFunc(&mFunctions); +@@ -1851,7 +1851,7 @@ PluginModuleChild::AnswerNP_Initialize(N + SendBackUpXResources(FileDescriptor(xSocketFd, false/*don't close*/)); + #endif + +-#if defined(OS_LINUX) ++#if defined(OS_LINUX) || defined(OS_BSD) + *_retval = mInitializeFunc(&sBrowserFuncs, &mFunctions); + return true; + #elif defined(OS_WIN) || defined(OS_MACOSX) diff --git a/mail/thunderbird/patches/patch-mozilla_dom_plugins_ipc_PluginModuleChild.cpp.orig b/mail/thunderbird/patches/patch-mozilla_dom_plugins_ipc_PluginModuleChild.cpp.orig new file mode 100644 index 00000000000..e69de29bb2d --- /dev/null +++ b/mail/thunderbird/patches/patch-mozilla_dom_plugins_ipc_PluginModuleChild.cpp.orig diff --git a/mail/thunderbird/patches/patch-mozilla_dom_plugins_ipc_PluginModuleChild.h b/mail/thunderbird/patches/patch-mozilla_dom_plugins_ipc_PluginModuleChild.h new file mode 100644 index 00000000000..88273d00734 --- /dev/null +++ b/mail/thunderbird/patches/patch-mozilla_dom_plugins_ipc_PluginModuleChild.h @@ -0,0 +1,13 @@ +$NetBSD: patch-mozilla_dom_plugins_ipc_PluginModuleChild.h,v 1.1 2012/03/10 11:42:39 ryoon Exp $ + +--- mozilla/dom/plugins/ipc/PluginModuleChild.h.orig 2012-02-16 10:24:53.000000000 +0000 ++++ mozilla/dom/plugins/ipc/PluginModuleChild.h +@@ -358,7 +358,7 @@ private: + + // we get this from the plugin + NP_PLUGINSHUTDOWN mShutdownFunc; +-#ifdef OS_LINUX ++#if defined(OS_LINUX) || defined(OS_BSD) + NP_PLUGINUNIXINIT mInitializeFunc; + #elif defined(OS_WIN) || defined(OS_MACOSX) + NP_PLUGININIT mInitializeFunc; diff --git a/mail/thunderbird/patches/patch-mozilla_dom_plugins_ipc_PluginModuleChild.h.orig b/mail/thunderbird/patches/patch-mozilla_dom_plugins_ipc_PluginModuleChild.h.orig new file mode 100644 index 00000000000..e69de29bb2d --- /dev/null +++ b/mail/thunderbird/patches/patch-mozilla_dom_plugins_ipc_PluginModuleChild.h.orig diff --git a/mail/thunderbird/patches/patch-mozilla_ipc_chromium_Makefile.in b/mail/thunderbird/patches/patch-mozilla_ipc_chromium_Makefile.in new file mode 100644 index 00000000000..da8ff6576b2 --- /dev/null +++ b/mail/thunderbird/patches/patch-mozilla_ipc_chromium_Makefile.in @@ -0,0 +1,39 @@ +$NetBSD: patch-mozilla_ipc_chromium_Makefile.in,v 1.1 2012/03/10 11:42:39 ryoon Exp $ + +--- mozilla/ipc/chromium/Makefile.in.orig 2012-02-16 10:25:01.000000000 +0000 ++++ mozilla/ipc/chromium/Makefile.in +@@ -278,6 +278,34 @@ endif + + endif # } OS_LINUX + ++ifdef OS_BSD # { ++ ++CPPSRCS += \ ++ atomicops_internals_x86_gcc.cc \ ++ file_util_bsd.cc \ ++ process_util_bsd.cc \ ++ time_posix.cc \ ++ $(NULL) ++ ++ifdef MOZ_ENABLE_GTK2 ++CPPSRCS += \ ++ message_pump_glib.cc \ ++ $(NULL) ++endif ++ ++ifdef MOZ_ENABLE_QT ++MOCSRCS = \ ++ moc_message_pump_qt.cc \ ++ $(NULL) ++ ++CPPSRCS += \ ++ $(MOCSRCS) \ ++ message_pump_qt.cc \ ++ $(NULL) ++endif ++ ++endif # } OS_BSD ++ + # libevent + + ifndef MOZ_NATIVE_LIBEVENT # { diff --git a/mail/thunderbird/patches/patch-mozilla_ipc_chromium_Makefile.in.orig b/mail/thunderbird/patches/patch-mozilla_ipc_chromium_Makefile.in.orig new file mode 100644 index 00000000000..e69de29bb2d --- /dev/null +++ b/mail/thunderbird/patches/patch-mozilla_ipc_chromium_Makefile.in.orig diff --git a/mail/thunderbird/patches/patch-mozilla_ipc_chromium_chromium-config.mk b/mail/thunderbird/patches/patch-mozilla_ipc_chromium_chromium-config.mk new file mode 100644 index 00000000000..c44992743e4 --- /dev/null +++ b/mail/thunderbird/patches/patch-mozilla_ipc_chromium_chromium-config.mk @@ -0,0 +1,97 @@ +$NetBSD: patch-mozilla_ipc_chromium_chromium-config.mk,v 1.1 2012/03/10 11:42:39 ryoon Exp $ + +--- mozilla/ipc/chromium/chromium-config.mk.orig 2012-02-16 10:25:01.000000000 +0000 ++++ mozilla/ipc/chromium/chromium-config.mk +@@ -56,17 +56,6 @@ LOCAL_INCLUDES += \ + -I$(DEPTH)/ipc/ipdl/_ipdlheaders \ + $(NULL) + +-ifeq ($(OS_ARCH),Darwin) # { +- +-OS_MACOSX = 1 +-OS_POSIX = 1 +- +-DEFINES += \ +- -DOS_MACOSX=1 \ +- -DOS_POSIX=1 \ +- $(NULL) +- +-else # } { + ifeq ($(OS_ARCH),WINNT) # { + OS_LIBS += $(call EXPAND_LIBNAME,psapi shell32 dbghelp) + +@@ -93,13 +82,62 @@ DEFINES += -DCOMPILER_MSVC + endif + + else # } { +- +-OS_LINUX = 1 + OS_POSIX = 1 ++DEFINES += -DOS_POSIX=1 ++ ++ifeq ($(OS_ARCH),Darwin) # { ++ ++OS_MACOSX = 1 ++DEFINES += \ ++ -DOS_MACOSX=1 \ ++ $(NULL) ++ ++else # } { ++ifeq ($(OS_ARCH),DragonFly) # { ++ ++OS_DRAGONFLY = 1 ++OS_BSD = 1 ++DEFINES += \ ++ -DOS_DRAGONFLY=1 \ ++ -DOS_BSD=1 \ ++ $(NULL) ++ ++else # } { ++ifeq ($(OS_ARCH),FreeBSD) # { ++ ++OS_FREEBSD = 1 ++OS_BSD = 1 ++DEFINES += \ ++ -DOS_FREEBSD=1 \ ++ -DOS_BSD=1 \ ++ $(NULL) + ++else # } { ++ifeq ($(OS_ARCH),NetBSD) # { ++ ++OS_NETBSD = 1 ++OS_BSD = 1 ++OS_LIBS += $(call EXPAND_LIBNAME,kvm) ++DEFINES += \ ++ -DOS_NETBSD=1 \ ++ -DOS_BSD=1 \ ++ $(NULL) ++ ++else # } { ++ifeq ($(OS_ARCH),OpenBSD) # { ++ ++OS_OPENBSD = 1 ++OS_BSD = 1 ++DEFINES += \ ++ -DOS_OPENBSD=1 \ ++ -DOS_BSD=1 \ ++ $(NULL) ++ ++else # } { ++ ++OS_LINUX = 1 + DEFINES += \ + -DOS_LINUX=1 \ +- -DOS_POSIX=1 \ + $(NULL) + + # NB: to stop gcc warnings about exporting template instantiation +@@ -107,4 +145,8 @@ OS_CXXFLAGS := $(filter-out -pedantic,$( + + endif # } + endif # } ++endif # } ++endif # } ++endif # } ++endif # } + diff --git a/mail/thunderbird/patches/patch-mozilla_ipc_chromium_chromium-config.mk.orig b/mail/thunderbird/patches/patch-mozilla_ipc_chromium_chromium-config.mk.orig new file mode 100644 index 00000000000..e69de29bb2d --- /dev/null +++ b/mail/thunderbird/patches/patch-mozilla_ipc_chromium_chromium-config.mk.orig diff --git a/mail/thunderbird/patches/patch-mozilla_ipc_chromium_src_base_base__paths.h b/mail/thunderbird/patches/patch-mozilla_ipc_chromium_src_base_base__paths.h new file mode 100644 index 00000000000..63e091505e8 --- /dev/null +++ b/mail/thunderbird/patches/patch-mozilla_ipc_chromium_src_base_base__paths.h @@ -0,0 +1,13 @@ +$NetBSD: patch-mozilla_ipc_chromium_src_base_base__paths.h,v 1.1 2012/03/10 11:42:39 ryoon Exp $ + +--- mozilla/ipc/chromium/src/base/base_paths.h.orig 2012-02-16 10:25:01.000000000 +0000 ++++ mozilla/ipc/chromium/src/base/base_paths.h +@@ -13,7 +13,7 @@ + #include "base/base_paths_win.h" + #elif defined(OS_MACOSX) + #include "base/base_paths_mac.h" +-#elif defined(OS_LINUX) ++#elif defined(OS_LINUX) || defined(OS_BSD) + #include "base/base_paths_linux.h" + #endif + #include "base/path_service.h" diff --git a/mail/thunderbird/patches/patch-mozilla_ipc_chromium_src_base_base__paths.h.orig b/mail/thunderbird/patches/patch-mozilla_ipc_chromium_src_base_base__paths.h.orig new file mode 100644 index 00000000000..e69de29bb2d --- /dev/null +++ b/mail/thunderbird/patches/patch-mozilla_ipc_chromium_src_base_base__paths.h.orig diff --git a/mail/thunderbird/patches/patch-mozilla_ipc_chromium_src_base_file__util__bsd.cc b/mail/thunderbird/patches/patch-mozilla_ipc_chromium_src_base_file__util__bsd.cc new file mode 100644 index 00000000000..acb6b59647c --- /dev/null +++ b/mail/thunderbird/patches/patch-mozilla_ipc_chromium_src_base_file__util__bsd.cc @@ -0,0 +1,84 @@ +$NetBSD: patch-mozilla_ipc_chromium_src_base_file__util__bsd.cc,v 1.1 2012/03/10 11:42:39 ryoon Exp $ + +--- mozilla/ipc/chromium/src/base/file_util_bsd.cc.orig 2012-03-09 12:27:38.000000000 +0000 ++++ mozilla/ipc/chromium/src/base/file_util_bsd.cc +@@ -0,0 +1,79 @@ ++// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. ++// Use of this source code is governed by a BSD-style license that can be ++// found in the LICENSE file. ++ ++// this is a derivative of file_util_linux.cc ++ ++#include "base/file_util.h" ++ ++#include <fcntl.h> ++ ++#include <string> ++#include <vector> ++ ++#include "base/eintr_wrapper.h" ++#include "base/file_path.h" ++#include "base/string_util.h" ++ ++namespace file_util { ++ ++bool GetTempDir(FilePath* path) { ++ const char* tmp = getenv("TMPDIR"); ++ if (tmp) ++ *path = FilePath(tmp); ++ else ++ *path = FilePath("/tmp"); ++ return true; ++} ++ ++bool GetShmemTempDir(FilePath* path) { ++ return GetTempDir(path); ++} ++ ++bool CopyFile(const FilePath& from_path, const FilePath& to_path) { ++ int infile = open(from_path.value().c_str(), O_RDONLY); ++ if (infile < 0) ++ return false; ++ ++ int outfile = creat(to_path.value().c_str(), 0666); ++ if (outfile < 0) { ++ close(infile); ++ return false; ++ } ++ ++ const size_t kBufferSize = 32768; ++ std::vector<char> buffer(kBufferSize); ++ bool result = true; ++ ++ while (result) { ++ ssize_t bytes_read = HANDLE_EINTR(read(infile, &buffer[0], buffer.size())); ++ if (bytes_read < 0) { ++ result = false; ++ break; ++ } ++ if (bytes_read == 0) ++ break; ++ // Allow for partial writes ++ ssize_t bytes_written_per_read = 0; ++ do { ++ ssize_t bytes_written_partial = HANDLE_EINTR(write( ++ outfile, ++ &buffer[bytes_written_per_read], ++ bytes_read - bytes_written_per_read)); ++ if (bytes_written_partial < 0) { ++ result = false; ++ break; ++ } ++ bytes_written_per_read += bytes_written_partial; ++ } while (bytes_written_per_read < bytes_read); ++ } ++ ++ if (HANDLE_EINTR(close(infile)) < 0) ++ result = false; ++ if (HANDLE_EINTR(close(outfile)) < 0) ++ result = false; ++ ++ return result; ++} ++ ++} // namespace file_util diff --git a/mail/thunderbird/patches/patch-mozilla_ipc_chromium_src_base_file__util__bsd.cc.orig b/mail/thunderbird/patches/patch-mozilla_ipc_chromium_src_base_file__util__bsd.cc.orig new file mode 100644 index 00000000000..e69de29bb2d --- /dev/null +++ b/mail/thunderbird/patches/patch-mozilla_ipc_chromium_src_base_file__util__bsd.cc.orig diff --git a/mail/thunderbird/patches/patch-mozilla_ipc_chromium_src_base_message__loop.cc b/mail/thunderbird/patches/patch-mozilla_ipc_chromium_src_base_message__loop.cc new file mode 100644 index 00000000000..3a52a676235 --- /dev/null +++ b/mail/thunderbird/patches/patch-mozilla_ipc_chromium_src_base_message__loop.cc @@ -0,0 +1,22 @@ +$NetBSD: patch-mozilla_ipc_chromium_src_base_message__loop.cc,v 1.1 2012/03/10 11:42:39 ryoon Exp $ + +--- mozilla/ipc/chromium/src/base/message_loop.cc.orig 2012-02-16 10:25:01.000000000 +0000 ++++ mozilla/ipc/chromium/src/base/message_loop.cc +@@ -19,7 +19,7 @@ + #if defined(OS_POSIX) + #include "base/message_pump_libevent.h" + #endif +-#if defined(OS_LINUX) ++#if defined(OS_LINUX) || defined(OS_BSD) + #ifdef MOZ_WIDGET_GTK2 + #include "base/message_pump_glib.h" + #endif +@@ -119,7 +119,7 @@ MessageLoop::MessageLoop(Type type) + if (type_ == TYPE_UI) { + #if defined(OS_MACOSX) + pump_ = base::MessagePumpMac::Create(); +-#elif defined(OS_LINUX) ++#elif defined(OS_LINUX) || defined(OS_BSD) + pump_ = new base::MessagePumpForUI(); + #endif // OS_LINUX + } else if (type_ == TYPE_IO) { diff --git a/mail/thunderbird/patches/patch-mozilla_ipc_chromium_src_base_message__loop.cc.orig b/mail/thunderbird/patches/patch-mozilla_ipc_chromium_src_base_message__loop.cc.orig new file mode 100644 index 00000000000..e69de29bb2d --- /dev/null +++ b/mail/thunderbird/patches/patch-mozilla_ipc_chromium_src_base_message__loop.cc.orig diff --git a/mail/thunderbird/patches/patch-mozilla_ipc_chromium_src_base_platform__thread.h b/mail/thunderbird/patches/patch-mozilla_ipc_chromium_src_base_platform__thread.h new file mode 100644 index 00000000000..2bcaf5a8c93 --- /dev/null +++ b/mail/thunderbird/patches/patch-mozilla_ipc_chromium_src_base_platform__thread.h @@ -0,0 +1,13 @@ +$NetBSD: patch-mozilla_ipc_chromium_src_base_platform__thread.h,v 1.1 2012/03/10 11:42:39 ryoon Exp $ + +--- mozilla/ipc/chromium/src/base/platform_thread.h.orig 2012-02-16 10:25:01.000000000 +0000 ++++ mozilla/ipc/chromium/src/base/platform_thread.h +@@ -25,6 +25,8 @@ typedef pthread_t PlatformThreadHandle; + #if defined(OS_LINUX) + #include <unistd.h> + typedef pid_t PlatformThreadId; ++#elif defined(OS_FREEBSD) || defined(OS_DRAGONFLY) || defined (OS_NETBSD) ++typedef lwpid_t PlatformThreadId; + #elif defined(OS_MACOSX) + #include <mach/mach.h> + typedef mach_port_t PlatformThreadId; diff --git a/mail/thunderbird/patches/patch-mozilla_ipc_chromium_src_base_platform__thread.h.orig b/mail/thunderbird/patches/patch-mozilla_ipc_chromium_src_base_platform__thread.h.orig new file mode 100644 index 00000000000..e69de29bb2d --- /dev/null +++ b/mail/thunderbird/patches/patch-mozilla_ipc_chromium_src_base_platform__thread.h.orig diff --git a/mail/thunderbird/patches/patch-mozilla_ipc_chromium_src_base_process__util.h b/mail/thunderbird/patches/patch-mozilla_ipc_chromium_src_base_process__util.h new file mode 100644 index 00000000000..3ed2db45b05 --- /dev/null +++ b/mail/thunderbird/patches/patch-mozilla_ipc_chromium_src_base_process__util.h @@ -0,0 +1,45 @@ +$NetBSD: patch-mozilla_ipc_chromium_src_base_process__util.h,v 1.1 2012/03/10 11:42:39 ryoon Exp $ + +--- mozilla/ipc/chromium/src/base/process_util.h.orig 2012-02-16 10:25:01.000000000 +0000 ++++ mozilla/ipc/chromium/src/base/process_util.h +@@ -14,7 +14,6 @@ + #include <windows.h> + #include <tlhelp32.h> + #elif defined(OS_LINUX) +-#include <dirent.h> + #include <limits.h> + #include <sys/types.h> + #elif defined(OS_MACOSX) +@@ -280,6 +279,7 @@ class NamedProcessIterator { + const ProcessEntry* NextProcessEntry(); + + private: ++#if !defined(OS_BSD) + // Determines whether there's another process (regardless of executable) + // left in the list of all processes. Returns true and sets entry_ to + // that process's info if there is one, false otherwise. +@@ -292,18 +292,24 @@ class NamedProcessIterator { + void InitProcessEntry(ProcessEntry* entry); + + std::wstring executable_name_; ++#endif + + #if defined(OS_WIN) + HANDLE snapshot_; + bool started_iteration_; + #elif defined(OS_LINUX) + DIR *procfs_dir_; ++#elif defined(OS_BSD) ++ std::vector<ProcessEntry> content; ++ size_t nextEntry; + #elif defined(OS_MACOSX) + std::vector<kinfo_proc> kinfo_procs_; + size_t index_of_kinfo_proc_; + #endif ++#if !defined(OS_BSD) + ProcessEntry entry_; + const ProcessFilter* filter_; ++#endif + + DISALLOW_EVIL_CONSTRUCTORS(NamedProcessIterator); + }; diff --git a/mail/thunderbird/patches/patch-mozilla_ipc_chromium_src_base_process__util.h.orig b/mail/thunderbird/patches/patch-mozilla_ipc_chromium_src_base_process__util.h.orig new file mode 100644 index 00000000000..e69de29bb2d --- /dev/null +++ b/mail/thunderbird/patches/patch-mozilla_ipc_chromium_src_base_process__util.h.orig diff --git a/mail/thunderbird/patches/patch-mozilla_ipc_chromium_src_base_process__util__bsd.cc b/mail/thunderbird/patches/patch-mozilla_ipc_chromium_src_base_process__util__bsd.cc new file mode 100644 index 00000000000..5b03948a88d --- /dev/null +++ b/mail/thunderbird/patches/patch-mozilla_ipc_chromium_src_base_process__util__bsd.cc @@ -0,0 +1,303 @@ +$NetBSD: patch-mozilla_ipc_chromium_src_base_process__util__bsd.cc,v 1.1 2012/03/10 11:42:39 ryoon Exp $ + +--- mozilla/ipc/chromium/src/base/process_util_bsd.cc.orig 2012-03-09 12:27:38.000000000 +0000 ++++ mozilla/ipc/chromium/src/base/process_util_bsd.cc +@@ -0,0 +1,298 @@ ++// Copyright (c) 2008 The Chromium Authors. All rights reserved. ++// Use of this source code is governed by a BSD-style license that can be ++// found in the LICENSE file. ++ ++// derived from process_util_linux.cc and process_util_mac.cc ++ ++// TODO: - add code for FreeBSD/DragonFly/MirBSD (?) to use kvm_getprocx ++ ++#include "base/process_util.h" ++ ++#include <ctype.h> ++#include <fcntl.h> ++#include <unistd.h> ++#include <string> ++#include <kvm.h> ++#include <sys/sysctl.h> ++#include <sys/types.h> ++#include <sys/wait.h> ++#if defined(OS_DRAGONFLY) ++#include <sys/user.h> ++#endif ++ ++#include "base/debug_util.h" ++#include "base/eintr_wrapper.h" ++#include "base/file_util.h" ++#include "base/logging.h" ++#include "base/string_tokenizer.h" ++#include "base/string_util.h" ++ ++#ifdef __NetBSD__ ++#include <sys/param.h> ++#if __NetBSD_Version__ >= 600000000 ++#define HAVE_POSIX_SPAWN 1 ++#endif ++#endif ++ ++#ifdef HAVE_POSIX_SPAWN ++#include <spawn.h> ++extern "C" char **environ __dso_public; ++#endif ++ ++namespace { ++ ++enum ParsingState { ++ KEY_NAME, ++ KEY_VALUE ++}; ++ ++static mozilla::EnvironmentLog gProcessLog("MOZ_PROCESS_LOG"); ++ ++} // namespace ++ ++namespace base { ++ ++#ifdef HAVE_POSIX_SPAWN ++ ++void FreeEnvVarsArray(char* array[], int length) ++{ ++ for (int i = 0; i < length; i++) { ++ free(array[i]); ++ } ++ delete[] array; ++} ++ ++bool LaunchApp(const std::vector<std::string>& argv, ++ const file_handle_mapping_vector& fds_to_remap, ++ bool wait, ProcessHandle* process_handle) { ++ return LaunchApp(argv, fds_to_remap, environment_map(), ++ wait, process_handle); ++} ++ ++bool LaunchApp(const std::vector<std::string>& argv, ++ const file_handle_mapping_vector& fds_to_remap, ++ const environment_map& env_vars_to_set, ++ bool wait, ProcessHandle* process_handle, ++ ProcessArchitecture arch) { ++ bool retval = true; ++ ++ char* argv_copy[argv.size() + 1]; ++ for (size_t i = 0; i < argv.size(); i++) { ++ argv_copy[i] = const_cast<char*>(argv[i].c_str()); ++ } ++ argv_copy[argv.size()] = NULL; ++ ++ // Make sure we don't leak any FDs to the child process by marking all FDs ++ // as close-on-exec. ++ SetAllFDsToCloseOnExec(); ++ ++ // Copy environment to a new char array and add the variables ++ // in env_vars_to_set. ++ // Existing variables are overwritten by env_vars_to_set. ++ int pos = 0; ++ environment_map combined_env_vars = env_vars_to_set; ++ while(environ[pos] != NULL) { ++ std::string varString = environ[pos]; ++ std::string varName = varString.substr(0, varString.find_first_of('=')); ++ std::string varValue = varString.substr(varString.find_first_of('=') + 1); ++ if (combined_env_vars.find(varName) == combined_env_vars.end()) { ++ combined_env_vars[varName] = varValue; ++ } ++ pos++; ++ } ++ int varsLen = combined_env_vars.size() + 1; ++ ++ char** vars = new char*[varsLen]; ++ int i = 0; ++ for (environment_map::const_iterator it = combined_env_vars.begin(); ++ it != combined_env_vars.end(); ++it) { ++ std::string entry(it->first); ++ entry += "="; ++ entry += it->second; ++ vars[i] = strdup(entry.c_str()); ++ i++; ++ } ++ vars[i] = NULL; ++ ++ posix_spawn_file_actions_t file_actions; ++ if (posix_spawn_file_actions_init(&file_actions) != 0) { ++ FreeEnvVarsArray(vars, varsLen); ++ return false; ++ } ++ ++ // Turn fds_to_remap array into a set of dup2 calls. ++ for (file_handle_mapping_vector::const_iterator it = fds_to_remap.begin(); ++ it != fds_to_remap.end(); ++ ++it) { ++ int src_fd = it->first; ++ int dest_fd = it->second; ++ ++ if (src_fd == dest_fd) { ++ int flags = fcntl(src_fd, F_GETFD); ++ if (flags != -1) { ++ fcntl(src_fd, F_SETFD, flags & ~FD_CLOEXEC); ++ } ++ } else { ++ if (posix_spawn_file_actions_adddup2(&file_actions, src_fd, dest_fd) != 0) { ++ posix_spawn_file_actions_destroy(&file_actions); ++ FreeEnvVarsArray(vars, varsLen); ++ return false; ++ } ++ } ++ } ++ ++ pid_t pid = 0; ++ int spawn_succeeded = (posix_spawnp(&pid, ++ argv_copy[0], ++ &file_actions, ++ NULL, ++ argv_copy, ++ vars) == 0); ++ ++ FreeEnvVarsArray(vars, varsLen); ++ ++ posix_spawn_file_actions_destroy(&file_actions); ++ ++ bool process_handle_valid = pid > 0; ++ if (!spawn_succeeded || !process_handle_valid) { ++ retval = false; ++ } else { ++ if (wait) ++ HANDLE_EINTR(waitpid(pid, 0, 0)); ++ ++ if (process_handle) ++ *process_handle = pid; ++ } ++ ++ return retval; ++} ++ ++bool LaunchApp(const CommandLine& cl, ++ bool wait, bool start_hidden, ProcessHandle* process_handle) { ++ // TODO(playmobil): Do we need to respect the start_hidden flag? ++ file_handle_mapping_vector no_files; ++ return LaunchApp(cl.argv(), no_files, wait, process_handle); ++} ++ ++#else // no posix_spawn, use fork/exec ++ ++bool LaunchApp(const std::vector<std::string>& argv, ++ const file_handle_mapping_vector& fds_to_remap, ++ bool wait, ProcessHandle* process_handle) { ++ return LaunchApp(argv, fds_to_remap, environment_map(), ++ wait, process_handle); ++} ++ ++bool LaunchApp(const std::vector<std::string>& argv, ++ const file_handle_mapping_vector& fds_to_remap, ++ const environment_map& env_vars_to_set, ++ bool wait, ProcessHandle* process_handle, ++ ProcessArchitecture arch) { ++ scoped_array<char*> argv_cstr(new char*[argv.size() + 1]); ++ // Illegal to allocate memory after fork and before execvp ++ InjectiveMultimap fd_shuffle1, fd_shuffle2; ++ fd_shuffle1.reserve(fds_to_remap.size()); ++ fd_shuffle2.reserve(fds_to_remap.size()); ++ ++ pid_t pid = fork(); ++ if (pid < 0) ++ return false; ++ ++ if (pid == 0) { ++ for (file_handle_mapping_vector::const_iterator ++ it = fds_to_remap.begin(); it != fds_to_remap.end(); ++it) { ++ fd_shuffle1.push_back(InjectionArc(it->first, it->second, false)); ++ fd_shuffle2.push_back(InjectionArc(it->first, it->second, false)); ++ } ++ ++ if (!ShuffleFileDescriptors(&fd_shuffle1)) ++ _exit(127); ++ ++ CloseSuperfluousFds(fd_shuffle2); ++ ++ for (environment_map::const_iterator it = env_vars_to_set.begin(); ++ it != env_vars_to_set.end(); ++it) { ++ if (setenv(it->first.c_str(), it->second.c_str(), 1/*overwrite*/)) ++ _exit(127); ++ } ++ ++ for (size_t i = 0; i < argv.size(); i++) ++ argv_cstr[i] = const_cast<char*>(argv[i].c_str()); ++ argv_cstr[argv.size()] = NULL; ++ execvp(argv_cstr[0], argv_cstr.get()); ++ // if we get here, we're in serious trouble and should complain loudly ++ DLOG(ERROR) << "FAILED TO exec() CHILD PROCESS, path: " << argv_cstr[0]; ++ exit(127); ++ } else { ++ gProcessLog.print("==> process %d launched child process %d\n", ++ GetCurrentProcId(), pid); ++ if (wait) ++ HANDLE_EINTR(waitpid(pid, 0, 0)); ++ ++ if (process_handle) ++ *process_handle = pid; ++ } ++ ++ return true; ++} ++ ++bool LaunchApp(const CommandLine& cl, ++ bool wait, bool start_hidden, ++ ProcessHandle* process_handle) { ++ file_handle_mapping_vector no_files; ++ return LaunchApp(cl.argv(), no_files, wait, process_handle); ++} ++ ++#endif ++ ++NamedProcessIterator::NamedProcessIterator(const std::wstring& executable_name, ++ const ProcessFilter* filter) ++{ ++ int numEntries; ++ kvm_t *kvm; ++ std::string exe(WideToASCII(executable_name)); ++ ++#if defined(OS_DRAGONFLY) ++ kvm = kvm_open(NULL, NULL, NULL, O_RDONLY, NULL); ++ struct kinfo_proc* procs = kvm_getprocs(kvm, KERN_PROC_UID, getuid(), &numEntries); ++ if (procs != NULL && numEntries > 0) { ++ for (int i = 0; i < numEntries; i++) { ++ if (exe != procs[i].kp_comm) continue; ++ if (filter && !filter->Includes(procs[i].kp_pid, procs[i].kp_ppid)) continue; ++ ProcessEntry e; ++ e.pid = procs[i].kp_pid; ++ e.ppid = procs[i].kp_ppid; ++ strlcpy(e.szExeFile, procs[i].kp_comm, sizeof e.szExeFile); ++ content.push_back(e); ++#else ++ kvm = kvm_open(NULL, NULL, NULL, KVM_NO_FILES, NULL); ++ struct kinfo_proc2* procs = kvm_getproc2(kvm, KERN_PROC_UID, getuid(), sizeof(struct kinfo_proc2), &numEntries); ++ if (procs != NULL && numEntries > 0) { ++ for (int i = 0; i < numEntries; i++) { ++ if (exe != procs[i].p_comm) continue; ++ if (filter && !filter->Includes(procs[i].p_pid, procs[i].p_ppid)) continue; ++ ProcessEntry e; ++ e.pid = procs[i].p_pid; ++ e.ppid = procs[i].p_ppid; ++ strlcpy(e.szExeFile, procs[i].p_comm, sizeof e.szExeFile); ++ content.push_back(e); ++#endif ++ } ++ } ++ nextEntry = 0; ++ kvm_close(kvm); ++} ++ ++NamedProcessIterator::~NamedProcessIterator() { ++} ++ ++const ProcessEntry* NamedProcessIterator::NextProcessEntry() { ++ if (nextEntry >= content.size()) return NULL; ++ return &content[nextEntry++]; ++} ++ ++bool ProcessMetrics::GetIOCounters(IoCounters* io_counters) const { ++ return false; ++} ++ ++} // namespace base diff --git a/mail/thunderbird/patches/patch-mozilla_ipc_chromium_src_base_process__util__bsd.cc.orig b/mail/thunderbird/patches/patch-mozilla_ipc_chromium_src_base_process__util__bsd.cc.orig new file mode 100644 index 00000000000..e69de29bb2d --- /dev/null +++ b/mail/thunderbird/patches/patch-mozilla_ipc_chromium_src_base_process__util__bsd.cc.orig diff --git a/mail/thunderbird/patches/patch-mozilla_ipc_chromium_src_base_process__util__posix.cc b/mail/thunderbird/patches/patch-mozilla_ipc_chromium_src_base_process__util__posix.cc new file mode 100644 index 00000000000..6574d461b8c --- /dev/null +++ b/mail/thunderbird/patches/patch-mozilla_ipc_chromium_src_base_process__util__posix.cc @@ -0,0 +1,25 @@ +$NetBSD: patch-mozilla_ipc_chromium_src_base_process__util__posix.cc,v 1.1 2012/03/10 11:42:39 ryoon Exp $ + +--- mozilla/ipc/chromium/src/base/process_util_posix.cc.orig 2012-02-16 10:25:01.000000000 +0000 ++++ mozilla/ipc/chromium/src/base/process_util_posix.cc +@@ -116,6 +116,11 @@ void CloseSuperfluousFds(const base::Inj + #elif defined(OS_MACOSX) + static const rlim_t kSystemDefaultMaxFds = 256; + static const char kFDDir[] = "/dev/fd"; ++#elif defined(OS_BSD) ++ // the getrlimit below should never fail, so whatever .. ++ static const rlim_t kSystemDefaultMaxFds = 1024; ++ // at least /dev/fd will exist ++ static const char kFDDir[] = "/dev/fd"; + #endif + + // Get the maximum number of FDs possible. +@@ -199,7 +204,7 @@ void CloseSuperfluousFds(const base::Inj + void SetAllFDsToCloseOnExec() { + #if defined(OS_LINUX) + const char fd_dir[] = "/proc/self/fd"; +-#elif defined(OS_MACOSX) ++#elif defined(OS_MACOSX) || defined(OS_BSD) + const char fd_dir[] = "/dev/fd"; + #endif + ScopedDIR dir_closer(opendir(fd_dir)); diff --git a/mail/thunderbird/patches/patch-mozilla_ipc_chromium_src_base_process__util__posix.cc.orig b/mail/thunderbird/patches/patch-mozilla_ipc_chromium_src_base_process__util__posix.cc.orig new file mode 100644 index 00000000000..e69de29bb2d --- /dev/null +++ b/mail/thunderbird/patches/patch-mozilla_ipc_chromium_src_base_process__util__posix.cc.orig diff --git a/mail/thunderbird/patches/patch-mozilla_ipc_chromium_src_base_third__party_nspr_prtime.cc b/mail/thunderbird/patches/patch-mozilla_ipc_chromium_src_base_third__party_nspr_prtime.cc new file mode 100644 index 00000000000..d5b6a5e7869 --- /dev/null +++ b/mail/thunderbird/patches/patch-mozilla_ipc_chromium_src_base_third__party_nspr_prtime.cc @@ -0,0 +1,38 @@ +$NetBSD: patch-mozilla_ipc_chromium_src_base_third__party_nspr_prtime.cc,v 1.1 2012/03/10 11:42:39 ryoon Exp $ + +--- mozilla/ipc/chromium/src/base/third_party/nspr/prtime.cc.orig 2012-02-16 10:25:01.000000000 +0000 ++++ mozilla/ipc/chromium/src/base/third_party/nspr/prtime.cc +@@ -212,7 +212,7 @@ PR_ImplodeTime(const PRExplodedTime *exp + LL_ADD(retVal, retVal, temp); + + return retVal; +-#elif defined(OS_LINUX) ++#elif defined(OS_LINUX) || defined(OS_DRAGONFLY) + struct tm exp_tm = {0}; + exp_tm.tm_sec = exploded->tm_sec; + exp_tm.tm_min = exploded->tm_min; +@@ -245,6 +245,24 @@ PR_ImplodeTime(const PRExplodedTime *exp + result *= kSecondsToMicroseconds; + result += exploded->tm_usec; + return result; ++#elif defined(OS_FREEBSD) || defined(OS_NETBSD) ++ struct tm exp_tm = {0}; ++ exp_tm.tm_sec = exploded->tm_sec; ++ exp_tm.tm_min = exploded->tm_min; ++ exp_tm.tm_hour = exploded->tm_hour; ++ exp_tm.tm_mday = exploded->tm_mday; ++ exp_tm.tm_mon = exploded->tm_month; ++ exp_tm.tm_year = exploded->tm_year - 1900; ++ ++ // time_t is 64bit ++ time_t absolute_time = timegm(&exp_tm); ++ ++ PRTime result = static_cast<PRTime>(absolute_time); ++ result -= exploded->tm_params.tp_gmt_offset + ++ exploded->tm_params.tp_dst_offset; ++ result *= kSecondsToMicroseconds; ++ result += exploded->tm_usec; ++ return result; + #else + #error No PR_ImplodeTime implemented on your platform. + #endif diff --git a/mail/thunderbird/patches/patch-mozilla_ipc_chromium_src_base_third__party_nspr_prtime.cc.orig b/mail/thunderbird/patches/patch-mozilla_ipc_chromium_src_base_third__party_nspr_prtime.cc.orig new file mode 100644 index 00000000000..e69de29bb2d --- /dev/null +++ b/mail/thunderbird/patches/patch-mozilla_ipc_chromium_src_base_third__party_nspr_prtime.cc.orig diff --git a/mail/thunderbird/patches/patch-mozilla_ipc_chromium_src_chrome_common_ipc__message__utils.h b/mail/thunderbird/patches/patch-mozilla_ipc_chromium_src_chrome_common_ipc__message__utils.h new file mode 100644 index 00000000000..84808e5c79b --- /dev/null +++ b/mail/thunderbird/patches/patch-mozilla_ipc_chromium_src_chrome_common_ipc__message__utils.h @@ -0,0 +1,22 @@ +$NetBSD: patch-mozilla_ipc_chromium_src_chrome_common_ipc__message__utils.h,v 1.1 2012/03/10 11:42:39 ryoon Exp $ + +--- mozilla/ipc/chromium/src/chrome/common/ipc_message_utils.h.orig 2012-02-16 10:25:01.000000000 +0000 ++++ mozilla/ipc/chromium/src/chrome/common/ipc_message_utils.h +@@ -195,7 +195,7 @@ struct ParamTraits<unsigned long long> { + }; + #endif + +-#if !(defined(OS_MACOSX) || defined(OS_OPENBSD) || defined(OS_WIN) || (defined(OS_LINUX) && defined(ARCH_CPU_64_BITS)) || defined(ARCH_CPU_S390)) ++#if !(defined(OS_MACOSX) || defined(OS_OPENBSD) || defined(OS_WIN) || ((defined(OS_FREEBSD) || defined(OS_DRAGONFLY) || defined(OS_NETBSD) || defined(OS_LINUX)) && defined(ARCH_CPU_64_BITS)) || defined(ARCH_CPU_S390)) + // There size_t is a synonym for |unsigned long| ... + template <> + struct ParamTraits<size_t> { +@@ -248,7 +248,7 @@ struct ParamTraits<uint32> { + }; + #endif // defined(OS_MACOSX) + +-#if !(defined(OS_LINUX) && defined(ARCH_CPU_64_BITS)) ++#if !((defined(OS_FREEBSD) || defined(OS_DRAGONFLY) || defined(OS_NETBSD) || defined(OS_LINUX)) && defined(ARCH_CPU_64_BITS)) + // int64 is |long int| on 64-bit systems, uint64 is |unsigned long| + template <> + struct ParamTraits<int64> { diff --git a/mail/thunderbird/patches/patch-mozilla_ipc_chromium_src_chrome_common_ipc__message__utils.h.orig b/mail/thunderbird/patches/patch-mozilla_ipc_chromium_src_chrome_common_ipc__message__utils.h.orig new file mode 100644 index 00000000000..e69de29bb2d --- /dev/null +++ b/mail/thunderbird/patches/patch-mozilla_ipc_chromium_src_chrome_common_ipc__message__utils.h.orig diff --git a/mail/thunderbird/patches/patch-mozilla_ipc_chromium_src_chrome_common_transport__dib.h b/mail/thunderbird/patches/patch-mozilla_ipc_chromium_src_chrome_common_transport__dib.h new file mode 100644 index 00000000000..d82848093d1 --- /dev/null +++ b/mail/thunderbird/patches/patch-mozilla_ipc_chromium_src_chrome_common_transport__dib.h @@ -0,0 +1,31 @@ +$NetBSD: patch-mozilla_ipc_chromium_src_chrome_common_transport__dib.h,v 1.1 2012/03/10 11:42:39 ryoon Exp $ + +--- mozilla/ipc/chromium/src/chrome/common/transport_dib.h.orig 2012-02-16 10:25:01.000000000 +0000 ++++ mozilla/ipc/chromium/src/chrome/common/transport_dib.h +@@ -7,7 +7,7 @@ + + #include "base/basictypes.h" + +-#if defined(OS_WIN) || defined(OS_MACOSX) ++#if defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_BSD) + #include "base/shared_memory.h" + #endif + +@@ -66,7 +66,7 @@ class TransportDIB { + uint32 sequence_num; + }; + typedef HandleAndSequenceNum Id; +-#elif defined(OS_MACOSX) ++#elif defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_BSD) + typedef base::SharedMemoryHandle Handle; + // On Mac, the inode number of the backing file is used as an id. + typedef base::SharedMemoryId Id; +@@ -108,7 +108,7 @@ class TransportDIB { + + private: + TransportDIB(); +-#if defined(OS_WIN) || defined(OS_MACOSX) ++#if defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_BSD) + explicit TransportDIB(base::SharedMemoryHandle dib); + base::SharedMemory shared_memory_; + uint32 sequence_num_; diff --git a/mail/thunderbird/patches/patch-mozilla_ipc_chromium_src_chrome_common_transport__dib.h.orig b/mail/thunderbird/patches/patch-mozilla_ipc_chromium_src_chrome_common_transport__dib.h.orig new file mode 100644 index 00000000000..e69de29bb2d --- /dev/null +++ b/mail/thunderbird/patches/patch-mozilla_ipc_chromium_src_chrome_common_transport__dib.h.orig diff --git a/mail/thunderbird/patches/patch-mozilla_ipc_glue_GeckoChildProcessHost.cpp b/mail/thunderbird/patches/patch-mozilla_ipc_glue_GeckoChildProcessHost.cpp new file mode 100644 index 00000000000..bdbb9f51b4b --- /dev/null +++ b/mail/thunderbird/patches/patch-mozilla_ipc_glue_GeckoChildProcessHost.cpp @@ -0,0 +1,42 @@ +$NetBSD: patch-mozilla_ipc_glue_GeckoChildProcessHost.cpp,v 1.1 2012/03/10 11:42:39 ryoon Exp $ + +--- mozilla/ipc/glue/GeckoChildProcessHost.cpp.orig 2012-02-16 10:25:01.000000000 +0000 ++++ mozilla/ipc/glue/GeckoChildProcessHost.cpp +@@ -430,7 +430,7 @@ GeckoChildProcessHost::PerformAsyncLaunc + // and passing wstrings from one config to the other is unsafe. So + // we split the logic here. + +-#if defined(OS_LINUX) || defined(OS_MACOSX) ++#if defined(OS_LINUX) || defined(OS_MACOSX) || defined(OS_BSD) + base::environment_map newEnvVars; + // XPCOM may not be initialized in some subprocesses. We don't want + // to initialize XPCOM just for the directory service, especially +@@ -445,8 +445,8 @@ GeckoChildProcessHost::PerformAsyncLaunc + if (NS_SUCCEEDED(rv)) { + nsCString path; + greDir->GetNativePath(path); +-# ifdef OS_LINUX +-# ifdef ANDROID ++# if defined(OS_LINUX) || defined(OS_BSD) ++# if defined(ANDROID) || defined(OS_BSD) + path += "/lib"; + # endif // ANDROID + const char *ld_library_path = PR_GetEnv("LD_LIBRARY_PATH"); +@@ -557,7 +557,7 @@ GeckoChildProcessHost::PerformAsyncLaunc + childArgv.push_back(pidstring); + + #if defined(MOZ_CRASHREPORTER) +-# if defined(OS_LINUX) ++# if defined(OS_LINUX) || defined(OS_BSD) + int childCrashFd, childCrashRemapFd; + if (!CrashReporter::CreateNotificationPipeForChild( + &childCrashFd, &childCrashRemapFd)) +@@ -594,7 +594,7 @@ GeckoChildProcessHost::PerformAsyncLaunc + #endif + + base::LaunchApp(childArgv, mFileMap, +-#if defined(OS_LINUX) || defined(OS_MACOSX) ++#if defined(OS_LINUX) || defined(OS_MACOSX) || defined(OS_BSD) + newEnvVars, + #endif + false, &process, arch); diff --git a/mail/thunderbird/patches/patch-mozilla_ipc_glue_GeckoChildProcessHost.cpp.orig b/mail/thunderbird/patches/patch-mozilla_ipc_glue_GeckoChildProcessHost.cpp.orig new file mode 100644 index 00000000000..e69de29bb2d --- /dev/null +++ b/mail/thunderbird/patches/patch-mozilla_ipc_glue_GeckoChildProcessHost.cpp.orig diff --git a/mail/thunderbird/patches/patch-mozilla_js_src_build_autoconf_gcc-pr49911.m4 b/mail/thunderbird/patches/patch-mozilla_js_src_build_autoconf_gcc-pr49911.m4 new file mode 100644 index 00000000000..27e2dec7d1e --- /dev/null +++ b/mail/thunderbird/patches/patch-mozilla_js_src_build_autoconf_gcc-pr49911.m4 @@ -0,0 +1,13 @@ +$NetBSD: patch-mozilla_js_src_build_autoconf_gcc-pr49911.m4,v 1.1 2012/03/10 11:42:39 ryoon Exp $ + +--- mozilla/js/src/build/autoconf/gcc-pr49911.m4.orig 2012-02-16 10:25:02.000000000 +0000 ++++ mozilla/js/src/build/autoconf/gcc-pr49911.m4 +@@ -56,7 +56,7 @@ CXXFLAGS="$_SAVE_CXXFLAGS" + + AC_LANG_RESTORE + +-if test "$ac_have_gcc_pr49911" == "yes"; then ++if test "$ac_have_gcc_pr49911" = "yes"; then + AC_MSG_RESULT(yes) + CFLAGS="$CFLAGS -fno-tree-vrp" + CXXFLAGS="$CXXFLAGS -fno-tree-vrp" diff --git a/mail/thunderbird/patches/patch-mozilla_js_src_build_autoconf_gcc-pr49911.m4.orig b/mail/thunderbird/patches/patch-mozilla_js_src_build_autoconf_gcc-pr49911.m4.orig new file mode 100644 index 00000000000..e69de29bb2d --- /dev/null +++ b/mail/thunderbird/patches/patch-mozilla_js_src_build_autoconf_gcc-pr49911.m4.orig diff --git a/mail/thunderbird/patches/patch-mozilla_js_src_jscpucfg.h b/mail/thunderbird/patches/patch-mozilla_js_src_jscpucfg.h new file mode 100644 index 00000000000..830012d7810 --- /dev/null +++ b/mail/thunderbird/patches/patch-mozilla_js_src_jscpucfg.h @@ -0,0 +1,26 @@ +$NetBSD: patch-mozilla_js_src_jscpucfg.h,v 1.1 2012/03/10 11:42:39 ryoon Exp $ + +--- mozilla/js/src/jscpucfg.h.orig 2012-02-16 10:25:04.000000000 +0000 ++++ mozilla/js/src/jscpucfg.h +@@ -77,6 +77,21 @@ + #define IS_BIG_ENDIAN 1 + #endif + ++#elif defined(__NetBSD__) || defined(__FreeBSD__) || defined(__MirBSD__) || defined(__DragonFly__) ++#include <sys/endian.h> ++ ++#if defined(_BYTE_ORDER) ++#if _BYTE_ORDER == _LITTLE_ENDIAN ++#define IS_LITTLE_ENDIAN 1 ++#undef IS_BIG_ENDIAN ++#elif _BYTE_ORDER == _BIG_ENDIAN ++#undef IS_LITTLE_ENDIAN ++#define IS_BIG_ENDIAN 1 ++#endif ++#else /* !defined(_BYTE_ORDER) */ ++#error "sys/endian.h does not define _BYTE_ORDER. Cannot determine endianness." ++#endif ++ + #elif defined(JS_HAVE_ENDIAN_H) + #include <endian.h> + diff --git a/mail/thunderbird/patches/patch-mozilla_js_src_jscpucfg.h.orig b/mail/thunderbird/patches/patch-mozilla_js_src_jscpucfg.h.orig new file mode 100644 index 00000000000..e69de29bb2d --- /dev/null +++ b/mail/thunderbird/patches/patch-mozilla_js_src_jscpucfg.h.orig diff --git a/mail/thunderbird/patches/patch-mozilla_js_src_methodjit_MethodJIT.cpp b/mail/thunderbird/patches/patch-mozilla_js_src_methodjit_MethodJIT.cpp new file mode 100644 index 00000000000..10811f580e1 --- /dev/null +++ b/mail/thunderbird/patches/patch-mozilla_js_src_methodjit_MethodJIT.cpp @@ -0,0 +1,13 @@ +$NetBSD: patch-mozilla_js_src_methodjit_MethodJIT.cpp,v 1.1 2012/03/10 11:42:39 ryoon Exp $ + +--- mozilla/js/src/methodjit/MethodJIT.cpp.orig 2012-02-16 10:25:04.000000000 +0000 ++++ mozilla/js/src/methodjit/MethodJIT.cpp +@@ -171,7 +171,7 @@ SetVMFrameRegs(VMFrame &f) + + JS_STATIC_ASSERT(offsetof(FrameRegs, sp) == 0); + +-#if defined(__linux__) && defined(JS_CPU_X64) ++#if defined(__ELF__) && defined(JS_CPU_X64) + # define SYMBOL_STRING_RELOC(name) #name "@plt" + #else + # define SYMBOL_STRING_RELOC(name) SYMBOL_STRING(name) diff --git a/mail/thunderbird/patches/patch-mozilla_js_src_methodjit_MethodJIT.cpp.orig b/mail/thunderbird/patches/patch-mozilla_js_src_methodjit_MethodJIT.cpp.orig new file mode 100644 index 00000000000..e69de29bb2d --- /dev/null +++ b/mail/thunderbird/patches/patch-mozilla_js_src_methodjit_MethodJIT.cpp.orig diff --git a/mail/thunderbird/patches/patch-mozilla_js_src_yarr_pcre_pcre.h b/mail/thunderbird/patches/patch-mozilla_js_src_yarr_pcre_pcre.h new file mode 100644 index 00000000000..fdaa17ab7a8 --- /dev/null +++ b/mail/thunderbird/patches/patch-mozilla_js_src_yarr_pcre_pcre.h @@ -0,0 +1,14 @@ +$NetBSD: patch-mozilla_js_src_yarr_pcre_pcre.h,v 1.1 2012/03/10 11:42:39 ryoon Exp $ + +--- mozilla/js/src/yarr/pcre/pcre.h.orig 2012-02-16 10:25:08.000000000 +0000 ++++ mozilla/js/src/yarr/pcre/pcre.h +@@ -46,7 +46,9 @@ POSSIBILITY OF SUCH DAMAGE. + #include "assembler/wtf/Platform.h" + #include "jsstr.h" + #include "jsprvtd.h" ++#if ENABLE_ASSEMBLER + #include "jstl.h" ++#endif + + typedef jschar UChar; + typedef JSLinearString UString; diff --git a/mail/thunderbird/patches/patch-mozilla_js_src_yarr_pcre_pcre.h.orig b/mail/thunderbird/patches/patch-mozilla_js_src_yarr_pcre_pcre.h.orig new file mode 100644 index 00000000000..e69de29bb2d --- /dev/null +++ b/mail/thunderbird/patches/patch-mozilla_js_src_yarr_pcre_pcre.h.orig diff --git a/mail/thunderbird/patches/patch-mozilla_media_libvpx_vpx__config.h b/mail/thunderbird/patches/patch-mozilla_media_libvpx_vpx__config.h new file mode 100644 index 00000000000..9209dac885b --- /dev/null +++ b/mail/thunderbird/patches/patch-mozilla_media_libvpx_vpx__config.h @@ -0,0 +1,21 @@ +$NetBSD: patch-mozilla_media_libvpx_vpx__config.h,v 1.1 2012/03/10 11:42:39 ryoon Exp $ + +--- mozilla/media/libvpx/vpx_config.h.orig 2012-02-16 10:25:19.000000000 +0000 ++++ mozilla/media/libvpx/vpx_config.h +@@ -12,12 +12,12 @@ + /* 32 bit MacOS. */ + #include "vpx_config_x86-darwin9-gcc.h" + +-#elif defined(__linux__) && defined(__i386__) +-/* 32 bit Linux. */ ++#elif (defined(__linux__) | defined(__DragonFly__) || defined(__NetBSD__) || defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__MirBSD__)) && defined(__i386__) ++/* 32 bit Linux or some BSD. */ + #include "vpx_config_x86-linux-gcc.h" + +-#elif defined(__linux__) && defined(__x86_64__) +-/* 64 bit Linux. */ ++#elif (defined(__linux__) | defined(__DragonFly__) || defined(__NetBSD__) || defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__MirBSD__)) && defined(__x86_64__) ++/* 64 bit Linux or some BSD. */ + #include "vpx_config_x86_64-linux-gcc.h" + + #elif defined(__sun) && defined(__i386) diff --git a/mail/thunderbird/patches/patch-mozilla_media_libvpx_vpx__config.h.orig b/mail/thunderbird/patches/patch-mozilla_media_libvpx_vpx__config.h.orig new file mode 100644 index 00000000000..e69de29bb2d --- /dev/null +++ b/mail/thunderbird/patches/patch-mozilla_media_libvpx_vpx__config.h.orig diff --git a/mail/thunderbird/patches/patch-mozilla_media_libvpx_vpx__config__c.c b/mail/thunderbird/patches/patch-mozilla_media_libvpx_vpx__config__c.c new file mode 100644 index 00000000000..8b9c6daa0fc --- /dev/null +++ b/mail/thunderbird/patches/patch-mozilla_media_libvpx_vpx__config__c.c @@ -0,0 +1,21 @@ +$NetBSD: patch-mozilla_media_libvpx_vpx__config__c.c,v 1.1 2012/03/10 11:42:39 ryoon Exp $ + +--- mozilla/media/libvpx/vpx_config_c.c.orig 2012-02-16 10:25:19.000000000 +0000 ++++ mozilla/media/libvpx/vpx_config_c.c +@@ -12,12 +12,12 @@ + /* 32 bit MacOS. */ + #include "vpx_config_x86-darwin9-gcc.c" + +-#elif defined(__linux__) && defined(__i386__) +-/* 32 bit Linux. */ ++#elif (defined(__linux__) | defined(__DragonFly__) || defined(__NetBSD__) || defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__MirBSD__)) && defined(__i386__) ++/* 32 bit Linux or BSD. */ + #include "vpx_config_x86-linux-gcc.c" + +-#elif defined(__linux__) && defined(__x86_64__) +-/* 64 bit Linux. */ ++#elif (defined(__linux__) | defined(__DragonFly__) || defined(__NetBSD__) || defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__MirBSD__)) && defined(__x86_64__) ++/* 64 bit Linux or BSD. */ + #include "vpx_config_x86_64-linux-gcc.c" + + #elif defined(__sun) && defined(__i386) diff --git a/mail/thunderbird/patches/patch-mozilla_media_libvpx_vpx__config__c.c.orig b/mail/thunderbird/patches/patch-mozilla_media_libvpx_vpx__config__c.c.orig new file mode 100644 index 00000000000..e69de29bb2d --- /dev/null +++ b/mail/thunderbird/patches/patch-mozilla_media_libvpx_vpx__config__c.c.orig diff --git a/mail/thunderbird/patches/patch-mozilla_nsprpub_pr_include_md___dragonfly.cfg b/mail/thunderbird/patches/patch-mozilla_nsprpub_pr_include_md___dragonfly.cfg new file mode 100644 index 00000000000..514e930b1e6 --- /dev/null +++ b/mail/thunderbird/patches/patch-mozilla_nsprpub_pr_include_md___dragonfly.cfg @@ -0,0 +1,199 @@ +$NetBSD: patch-mozilla_nsprpub_pr_include_md___dragonfly.cfg,v 1.1 2012/03/10 11:42:39 ryoon Exp $ + +--- mozilla/nsprpub/pr/include/md/_dragonfly.cfg.orig 2012-03-09 12:27:39.000000000 +0000 ++++ mozilla/nsprpub/pr/include/md/_dragonfly.cfg +@@ -0,0 +1,194 @@ ++/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ ++/* ***** BEGIN LICENSE BLOCK ***** ++ * Version: MPL 1.1/GPL 2.0/LGPL 2.1 ++ * ++ * The contents of this file are subject to the Mozilla Public License Version ++ * 1.1 (the "License"); you may not use this file except in compliance with ++ * the License. You may obtain a copy of the License at ++ * http://www.mozilla.org/MPL/ ++ * ++ * Software distributed under the License is distributed on an "AS IS" basis, ++ * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License ++ * for the specific language governing rights and limitations under the ++ * License. ++ * ++ * The Original Code is the Netscape Portable Runtime (NSPR). ++ * ++ * The Initial Developer of the Original Code is ++ * Netscape Communications Corporation. ++ * Portions created by the Initial Developer are Copyright (C) 1998-2000 ++ * the Initial Developer. All Rights Reserved. ++ * ++ * Contributor(s): ++ * ++ * Alternatively, the contents of this file may be used under the terms of ++ * either the GNU General Public License Version 2 or later (the "GPL"), or ++ * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), ++ * in which case the provisions of the GPL or the LGPL are applicable instead ++ * of those above. If you wish to allow use of your version of this file only ++ * under the terms of either the GPL or the LGPL, and not to allow others to ++ * use your version of this file under the terms of the MPL, indicate your ++ * decision by deleting the provisions above and replace them with the notice ++ * and other provisions required by the GPL or the LGPL. If you do not delete ++ * the provisions above, a recipient may use your version of this file under ++ * the terms of any one of the MPL, the GPL or the LGPL. ++ * ++ * ***** END LICENSE BLOCK ***** */ ++ ++#ifndef nspr_cpucfg___ ++#define nspr_cpucfg___ ++ ++#ifndef XP_UNIX ++#define XP_UNIX ++#endif ++ ++#define PR_AF_INET6 28 /* same as AF_INET6 */ ++ ++#ifndef HAVE_LONG_LONG ++#define HAVE_LONG_LONG ++#endif ++ ++#if defined(__i386__) ++ ++#define IS_LITTLE_ENDIAN 1 ++#undef IS_BIG_ENDIAN ++#undef HAVE_ALIGNED_DOUBLES ++#undef HAVE_ALIGNED_LONGLONGS ++ ++#define PR_BYTES_PER_BYTE 1 ++#define PR_BYTES_PER_SHORT 2 ++#define PR_BYTES_PER_INT 4 ++#define PR_BYTES_PER_INT64 8 ++#define PR_BYTES_PER_LONG 4 ++#define PR_BYTES_PER_FLOAT 4 ++#define PR_BYTES_PER_DOUBLE 8 ++#define PR_BYTES_PER_WORD 4 ++#define PR_BYTES_PER_DWORD 8 ++#define PR_BYTES_PER_WORD_LOG2 2 ++#define PR_BYTES_PER_DWORD_LOG2 3 ++ ++#define PR_BITS_PER_BYTE 8 ++#define PR_BITS_PER_SHORT 16 ++#define PR_BITS_PER_INT 32 ++#define PR_BITS_PER_INT64 64 ++#define PR_BITS_PER_LONG 32 ++#define PR_BITS_PER_FLOAT 32 ++#define PR_BITS_PER_DOUBLE 64 ++#define PR_BITS_PER_WORD 32 ++ ++#define PR_BITS_PER_BYTE_LOG2 3 ++#define PR_BITS_PER_SHORT_LOG2 4 ++#define PR_BITS_PER_INT_LOG2 5 ++#define PR_BITS_PER_INT64_LOG2 6 ++#define PR_BITS_PER_LONG_LOG2 5 ++#define PR_BITS_PER_FLOAT_LOG2 5 ++#define PR_BITS_PER_DOUBLE_LOG2 6 ++#define PR_BITS_PER_WORD_LOG2 5 ++ ++#define PR_ALIGN_OF_SHORT 2 ++#define PR_ALIGN_OF_INT 4 ++#define PR_ALIGN_OF_LONG 4 ++#define PR_ALIGN_OF_INT64 4 ++#define PR_ALIGN_OF_FLOAT 4 ++#define PR_ALIGN_OF_DOUBLE 4 ++#define PR_ALIGN_OF_POINTER 4 ++ ++#elif defined(__amd64__) ++ ++#define IS_LITTLE_ENDIAN 1 ++#undef IS_BIG_ENDIAN ++#define HAVE_ALIGNED_DOUBLES ++#define HAVE_ALIGNED_LONGLONGS ++#define IS_64 ++ ++#define PR_BYTES_PER_BYTE 1 ++#define PR_BYTES_PER_SHORT 2 ++#define PR_BYTES_PER_INT 4 ++#define PR_BYTES_PER_INT64 8 ++#define PR_BYTES_PER_LONG 8 ++#define PR_BYTES_PER_FLOAT 4 ++#define PR_BYTES_PER_DOUBLE 8 ++#define PR_BYTES_PER_WORD 8 ++#define PR_BYTES_PER_DWORD 8 ++#define PR_BYTES_PER_WORD_LOG2 3 ++#define PR_BYTES_PER_DWORD_LOG2 3 ++ ++#define PR_BITS_PER_BYTE 8 ++#define PR_BITS_PER_SHORT 16 ++#define PR_BITS_PER_INT 32 ++#define PR_BITS_PER_INT64 64 ++#define PR_BITS_PER_LONG 64 ++#define PR_BITS_PER_FLOAT 32 ++#define PR_BITS_PER_DOUBLE 64 ++#define PR_BITS_PER_WORD 64 ++ ++#define PR_BITS_PER_BYTE_LOG2 3 ++#define PR_BITS_PER_SHORT_LOG2 4 ++#define PR_BITS_PER_INT_LOG2 5 ++#define PR_BITS_PER_INT64_LOG2 6 ++#define PR_BITS_PER_LONG_LOG2 6 ++#define PR_BITS_PER_FLOAT_LOG2 5 ++#define PR_BITS_PER_DOUBLE_LOG2 6 ++#define PR_BITS_PER_WORD_LOG2 6 ++ ++#define PR_ALIGN_OF_SHORT 2 ++#define PR_ALIGN_OF_INT 4 ++#define PR_ALIGN_OF_LONG 8 ++#define PR_ALIGN_OF_INT64 8 ++#define PR_ALIGN_OF_FLOAT 4 ++#define PR_ALIGN_OF_DOUBLE 8 ++#define PR_ALIGN_OF_POINTER 8 ++#define PR_ALIGN_OF_WORD 8 ++ ++#else ++ ++#error "Unknown CPU architecture" ++ ++#endif ++ ++#ifndef NO_NSPR_10_SUPPORT ++ ++#define BYTES_PER_BYTE PR_BYTES_PER_BYTE ++#define BYTES_PER_SHORT PR_BYTES_PER_SHORT ++#define BYTES_PER_INT PR_BYTES_PER_INT ++#define BYTES_PER_INT64 PR_BYTES_PER_INT64 ++#define BYTES_PER_LONG PR_BYTES_PER_LONG ++#define BYTES_PER_FLOAT PR_BYTES_PER_FLOAT ++#define BYTES_PER_DOUBLE PR_BYTES_PER_DOUBLE ++#define BYTES_PER_WORD PR_BYTES_PER_WORD ++#define BYTES_PER_DWORD PR_BYTES_PER_DWORD ++ ++#define BITS_PER_BYTE PR_BITS_PER_BYTE ++#define BITS_PER_SHORT PR_BITS_PER_SHORT ++#define BITS_PER_INT PR_BITS_PER_INT ++#define BITS_PER_INT64 PR_BITS_PER_INT64 ++#define BITS_PER_LONG PR_BITS_PER_LONG ++#define BITS_PER_FLOAT PR_BITS_PER_FLOAT ++#define BITS_PER_DOUBLE PR_BITS_PER_DOUBLE ++#define BITS_PER_WORD PR_BITS_PER_WORD ++ ++#define BITS_PER_BYTE_LOG2 PR_BITS_PER_BYTE_LOG2 ++#define BITS_PER_SHORT_LOG2 PR_BITS_PER_SHORT_LOG2 ++#define BITS_PER_INT_LOG2 PR_BITS_PER_INT_LOG2 ++#define BITS_PER_INT64_LOG2 PR_BITS_PER_INT64_LOG2 ++#define BITS_PER_LONG_LOG2 PR_BITS_PER_LONG_LOG2 ++#define BITS_PER_FLOAT_LOG2 PR_BITS_PER_FLOAT_LOG2 ++#define BITS_PER_DOUBLE_LOG2 PR_BITS_PER_DOUBLE_LOG2 ++#define BITS_PER_WORD_LOG2 PR_BITS_PER_WORD_LOG2 ++ ++#define ALIGN_OF_SHORT PR_ALIGN_OF_SHORT ++#define ALIGN_OF_INT PR_ALIGN_OF_INT ++#define ALIGN_OF_LONG PR_ALIGN_OF_LONG ++#define ALIGN_OF_INT64 PR_ALIGN_OF_INT64 ++#define ALIGN_OF_FLOAT PR_ALIGN_OF_FLOAT ++#define ALIGN_OF_DOUBLE PR_ALIGN_OF_DOUBLE ++#define ALIGN_OF_POINTER PR_ALIGN_OF_POINTER ++#define ALIGN_OF_WORD PR_ALIGN_OF_WORD ++ ++#define BYTES_PER_WORD_LOG2 PR_BYTES_PER_WORD_LOG2 ++#define BYTES_PER_DWORD_LOG2 PR_BYTES_PER_DWORD_LOG2 ++#define WORDS_PER_DWORD_LOG2 PR_WORDS_PER_DWORD_LOG2 ++ ++#endif /* NO_NSPR_10_SUPPORT */ ++ ++#endif /* nspr_cpucfg___ */ diff --git a/mail/thunderbird/patches/patch-mozilla_nsprpub_pr_include_md___dragonfly.cfg.orig b/mail/thunderbird/patches/patch-mozilla_nsprpub_pr_include_md___dragonfly.cfg.orig new file mode 100644 index 00000000000..e69de29bb2d --- /dev/null +++ b/mail/thunderbird/patches/patch-mozilla_nsprpub_pr_include_md___dragonfly.cfg.orig diff --git a/mail/thunderbird/patches/patch-mozilla_nsprpub_pr_include_md___pth.h b/mail/thunderbird/patches/patch-mozilla_nsprpub_pr_include_md___pth.h new file mode 100644 index 00000000000..d872d281126 --- /dev/null +++ b/mail/thunderbird/patches/patch-mozilla_nsprpub_pr_include_md___pth.h @@ -0,0 +1,30 @@ +$NetBSD: patch-mozilla_nsprpub_pr_include_md___pth.h,v 1.1 2012/03/10 11:42:39 ryoon Exp $ + +--- mozilla/nsprpub/pr/include/md/_pth.h.orig 2012-02-16 10:25:22.000000000 +0000 ++++ mozilla/nsprpub/pr/include/md/_pth.h +@@ -146,7 +146,7 @@ + #define _PT_PTHREAD_COPY_THR_HANDLE(st, dt) (dt) = (st) + #elif defined(IRIX) || defined(OSF1) || defined(AIX) || defined(SOLARIS) \ + || defined(LINUX) || defined(__GNU__) || defined(__GLIBC__) \ +- || defined(HPUX) || defined(FREEBSD) \ ++ || defined(HPUX) || defined(FREEBSD) || defined(__DragonFly__) \ + || defined(NETBSD) || defined(OPENBSD) || defined(BSDI) \ + || defined(NTO) || defined(DARWIN) \ + || defined(UNIXWARE) || defined(RISCOS) || defined(SYMBIAN) +@@ -237,7 +237,7 @@ + #endif /* defined(_PR_DCETHREADS) */ + + #elif defined(LINUX) || defined(__GNU__) || defined(__GLIBC__) \ +- || defined(FREEBSD) || defined(SYMBIAN) ++ || defined(FREEBSD) || defined(SYMBIAN) || defined(__DragonFly__) + #define PT_PRIO_MIN sched_get_priority_min(SCHED_OTHER) + #define PT_PRIO_MAX sched_get_priority_max(SCHED_OTHER) + #elif defined(NTO) +@@ -296,6 +296,7 @@ extern int (*_PT_aix_yield_fcn)(); + #elif defined(HPUX) || defined(SOLARIS) \ + || defined(LINUX) || defined(__GNU__) || defined(__GLIBC__) \ + || defined(FREEBSD) || defined(NETBSD) || defined(OPENBSD) \ ++ || defined(__DragonFly__) \ + || defined(BSDI) || defined(NTO) || defined(DARWIN) \ + || defined(UNIXWARE) || defined(RISCOS) || defined(SYMBIAN) + #define _PT_PTHREAD_YIELD() sched_yield() diff --git a/mail/thunderbird/patches/patch-mozilla_nsprpub_pr_include_md___pth.h.orig b/mail/thunderbird/patches/patch-mozilla_nsprpub_pr_include_md___pth.h.orig new file mode 100644 index 00000000000..e69de29bb2d --- /dev/null +++ b/mail/thunderbird/patches/patch-mozilla_nsprpub_pr_include_md___pth.h.orig diff --git a/mail/thunderbird/patches/patch-mozilla_nsprpub_pr_include_md_prosdep.h b/mail/thunderbird/patches/patch-mozilla_nsprpub_pr_include_md_prosdep.h new file mode 100644 index 00000000000..d8dbe0f81c7 --- /dev/null +++ b/mail/thunderbird/patches/patch-mozilla_nsprpub_pr_include_md_prosdep.h @@ -0,0 +1,13 @@ +$NetBSD: patch-mozilla_nsprpub_pr_include_md_prosdep.h,v 1.1 2012/03/10 11:42:39 ryoon Exp $ + +--- mozilla/nsprpub/pr/include/md/prosdep.h.orig 2012-02-16 10:25:22.000000000 +0000 ++++ mozilla/nsprpub/pr/include/md/prosdep.h +@@ -66,7 +66,7 @@ PR_BEGIN_EXTERN_C + #if defined(AIX) + #include "md/_aix.h" + +-#elif defined(FREEBSD) ++#elif defined(FREEBSD) || defined(__DragonFly__) + #include "md/_freebsd.h" + + #elif defined(NETBSD) diff --git a/mail/thunderbird/patches/patch-mozilla_nsprpub_pr_include_md_prosdep.h.orig b/mail/thunderbird/patches/patch-mozilla_nsprpub_pr_include_md_prosdep.h.orig new file mode 100644 index 00000000000..e69de29bb2d --- /dev/null +++ b/mail/thunderbird/patches/patch-mozilla_nsprpub_pr_include_md_prosdep.h.orig diff --git a/mail/thunderbird/patches/patch-mozilla_nsprpub_pr_src_md_unix_uxrng.c b/mail/thunderbird/patches/patch-mozilla_nsprpub_pr_src_md_unix_uxrng.c new file mode 100644 index 00000000000..036053da01f --- /dev/null +++ b/mail/thunderbird/patches/patch-mozilla_nsprpub_pr_src_md_unix_uxrng.c @@ -0,0 +1,13 @@ +$NetBSD: patch-mozilla_nsprpub_pr_src_md_unix_uxrng.c,v 1.1 2012/03/10 11:42:39 ryoon Exp $ + +--- mozilla/nsprpub/pr/src/md/unix/uxrng.c.orig 2012-02-16 10:25:22.000000000 +0000 ++++ mozilla/nsprpub/pr/src/md/unix/uxrng.c +@@ -126,7 +126,7 @@ GetHighResClock(void *buf, size_t maxbyt + + #elif (defined(LINUX) || defined(FREEBSD) || defined(__FreeBSD_kernel__) \ + || defined(NETBSD) || defined(__NetBSD_kernel__) || defined(OPENBSD) \ +- || defined(SYMBIAN)) ++ || defined(SYMBIAN)) || defined(__DragonFly__) + #include <sys/types.h> + #include <sys/stat.h> + #include <fcntl.h> diff --git a/mail/thunderbird/patches/patch-mozilla_nsprpub_pr_src_md_unix_uxrng.c.orig b/mail/thunderbird/patches/patch-mozilla_nsprpub_pr_src_md_unix_uxrng.c.orig new file mode 100644 index 00000000000..e69de29bb2d --- /dev/null +++ b/mail/thunderbird/patches/patch-mozilla_nsprpub_pr_src_md_unix_uxrng.c.orig diff --git a/mail/thunderbird/patches/patch-mozilla_nsprpub_pr_src_pthreads_ptio.c b/mail/thunderbird/patches/patch-mozilla_nsprpub_pr_src_pthreads_ptio.c new file mode 100644 index 00000000000..b09ba30cea7 --- /dev/null +++ b/mail/thunderbird/patches/patch-mozilla_nsprpub_pr_src_pthreads_ptio.c @@ -0,0 +1,23 @@ +$NetBSD: patch-mozilla_nsprpub_pr_src_pthreads_ptio.c,v 1.1 2012/03/10 11:42:39 ryoon Exp $ + +--- mozilla/nsprpub/pr/src/pthreads/ptio.c.orig 2012-02-16 10:25:22.000000000 +0000 ++++ mozilla/nsprpub/pr/src/pthreads/ptio.c +@@ -212,7 +212,8 @@ static PRBool _pr_ipv6_v6only_on_by_defa + || defined(LINUX) || defined(__GNU__) || defined(__GLIBC__) \ + || defined(FREEBSD) || defined(NETBSD) || defined(OPENBSD) \ + || defined(BSDI) || defined(NTO) || defined(DARWIN) \ +- || defined(UNIXWARE) || defined(RISCOS) || defined(SYMBIAN) ++ || defined(UNIXWARE) || defined(RISCOS) || defined(SYMBIAN) \ ++ || defined(__DragonFly__) + #define _PRSelectFdSetArg_t fd_set * + #else + #error "Cannot determine architecture" +@@ -3286,7 +3287,7 @@ static PRIOMethods _pr_socketpollfd_meth + || defined(AIX) || defined(FREEBSD) || defined(NETBSD) \ + || defined(OPENBSD) || defined(BSDI) || defined(NTO) \ + || defined(DARWIN) || defined(UNIXWARE) || defined(RISCOS) \ +- || defined(SYMBIAN) ++ || defined(SYMBIAN) || defined(__DragonFly__) + #define _PR_FCNTL_FLAGS O_NONBLOCK + #else + #error "Can't determine architecture" diff --git a/mail/thunderbird/patches/patch-mozilla_nsprpub_pr_src_pthreads_ptio.c.orig b/mail/thunderbird/patches/patch-mozilla_nsprpub_pr_src_pthreads_ptio.c.orig new file mode 100644 index 00000000000..e69de29bb2d --- /dev/null +++ b/mail/thunderbird/patches/patch-mozilla_nsprpub_pr_src_pthreads_ptio.c.orig diff --git a/mail/thunderbird/patches/patch-mozilla_nsprpub_pr_src_pthreads_ptsynch.c b/mail/thunderbird/patches/patch-mozilla_nsprpub_pr_src_pthreads_ptsynch.c new file mode 100644 index 00000000000..b440f559ebc --- /dev/null +++ b/mail/thunderbird/patches/patch-mozilla_nsprpub_pr_src_pthreads_ptsynch.c @@ -0,0 +1,13 @@ +$NetBSD: patch-mozilla_nsprpub_pr_src_pthreads_ptsynch.c,v 1.1 2012/03/10 11:42:39 ryoon Exp $ + +--- mozilla/nsprpub/pr/src/pthreads/ptsynch.c.orig 2012-02-16 10:25:22.000000000 +0000 ++++ mozilla/nsprpub/pr/src/pthreads/ptsynch.c +@@ -842,7 +842,7 @@ PR_IMPLEMENT(PRStatus) PR_DeleteSemaphor + */ + #if (defined(__GNU_LIBRARY__) && !defined(_SEM_SEMUN_UNDEFINED)) \ + || defined(FREEBSD) || defined(OPENBSD) || defined(BSDI) \ +- || defined(DARWIN) || defined(SYMBIAN) ++ || defined(DARWIN) || defined(SYMBIAN) || defined(__DragonFly__) + /* union semun is defined by including <sys/sem.h> */ + #else + /* according to X/OPEN we have to define it ourselves */ diff --git a/mail/thunderbird/patches/patch-mozilla_nsprpub_pr_src_pthreads_ptsynch.c.orig b/mail/thunderbird/patches/patch-mozilla_nsprpub_pr_src_pthreads_ptsynch.c.orig new file mode 100644 index 00000000000..e69de29bb2d --- /dev/null +++ b/mail/thunderbird/patches/patch-mozilla_nsprpub_pr_src_pthreads_ptsynch.c.orig diff --git a/mail/thunderbird/patches/patch-mozilla_xpcom_Makefile.in b/mail/thunderbird/patches/patch-mozilla_xpcom_Makefile.in new file mode 100644 index 00000000000..e6b394ffb1e --- /dev/null +++ b/mail/thunderbird/patches/patch-mozilla_xpcom_Makefile.in @@ -0,0 +1,15 @@ +$NetBSD: patch-mozilla_xpcom_Makefile.in,v 1.1 2012/03/10 11:42:39 ryoon Exp $ + +--- mozilla/xpcom/Makefile.in.orig 2012-02-16 10:25:32.000000000 +0000 ++++ mozilla/xpcom/Makefile.in +@@ -68,6 +68,10 @@ DIRS += windbgdlg + endif + endif + ++ifeq ($(OS_ARCH),NetBSD) ++EXTRA_DSO_LDOPTS += -Wl,-rpath,${PREFIX}/lib/xulrunner-sdk/sdk/lib ++endif ++ + ifdef ENABLE_TESTS + TOOL_DIRS += \ + tests \ diff --git a/mail/thunderbird/patches/patch-mozilla_xpcom_Makefile.in.orig b/mail/thunderbird/patches/patch-mozilla_xpcom_Makefile.in.orig new file mode 100644 index 00000000000..e69de29bb2d --- /dev/null +++ b/mail/thunderbird/patches/patch-mozilla_xpcom_Makefile.in.orig diff --git a/mail/thunderbird/patches/patch-mozilla_xpcom_idl-parser_header.py b/mail/thunderbird/patches/patch-mozilla_xpcom_idl-parser_header.py index 35296e7b445..1198e9d6071 100644 --- a/mail/thunderbird/patches/patch-mozilla_xpcom_idl-parser_header.py +++ b/mail/thunderbird/patches/patch-mozilla_xpcom_idl-parser_header.py @@ -1,6 +1,6 @@ -$NetBSD: patch-mozilla_xpcom_idl-parser_header.py,v 1.1 2011/12/23 01:16:28 joerg Exp $ +$NetBSD: patch-mozilla_xpcom_idl-parser_header.py,v 1.2 2012/03/10 11:42:39 ryoon Exp $ ---- mozilla/xpcom/idl-parser/header.py.orig 2011-12-22 00:35:28.000000000 +0000 +--- mozilla/xpcom/idl-parser/header.py.orig 2012-02-16 10:25:33.000000000 +0000 +++ mozilla/xpcom/idl-parser/header.py @@ -521,6 +521,12 @@ if __name__ == '__main__': outfd.close() diff --git a/mail/thunderbird/patches/patch-mozilla_xpcom_idl-parser_header.py.orig b/mail/thunderbird/patches/patch-mozilla_xpcom_idl-parser_header.py.orig new file mode 100644 index 00000000000..24cee00d863 --- /dev/null +++ b/mail/thunderbird/patches/patch-mozilla_xpcom_idl-parser_header.py.orig @@ -0,0 +1,17 @@ +$NetBSD: patch-mozilla_xpcom_idl-parser_header.py.orig,v 1.1 2012/03/10 11:42:39 ryoon Exp $ + +--- mozilla/xpcom/idl-parser/header.py.orig 2011-12-22 00:35:28.000000000 +0000 ++++ mozilla/xpcom/idl-parser/header.py +@@ -521,6 +521,12 @@ if __name__ == '__main__': + outfd.close() + + if options.depfile is not None: ++ dirname = os.path.dirname(options.depfile) ++ if dirname: ++ try: ++ os.makedirs(dirname) ++ except: ++ pass + depfd = open(options.depfile, 'w') + deps = [dep.replace('\\', '/') for dep in idl.deps] + diff --git a/mail/thunderbird/patches/patch-mozilla_xulrunner_app_Makefile.in b/mail/thunderbird/patches/patch-mozilla_xulrunner_app_Makefile.in new file mode 100644 index 00000000000..dfa0ffa701a --- /dev/null +++ b/mail/thunderbird/patches/patch-mozilla_xulrunner_app_Makefile.in @@ -0,0 +1,15 @@ +$NetBSD: patch-mozilla_xulrunner_app_Makefile.in,v 1.1 2012/03/10 11:42:39 ryoon Exp $ + +--- mozilla/xulrunner/app/Makefile.in.orig 2012-02-16 10:25:33.000000000 +0000 ++++ mozilla/xulrunner/app/Makefile.in +@@ -130,6 +130,10 @@ endif + RCFLAGS += -DXULRUNNER_ICO=\"$(DIST)/branding/xulrunner.ico\" -DDOCUMENT_ICO=\"$(DIST)/branding/document.ico\" + endif + ++ifeq ($(OS_ARCH),NetBSD) ++OS_LIBS += $(call EXPAND_LIBNAME,kvm) ++endif ++ + include $(topsrcdir)/config/rules.mk + + DEFINES += -DXULRUNNER_ICO=\"$(DIST)/branding/xulrunner.ico\" -DDOCUMENT_ICO=\"$(DIST)/branding/document.ico\" diff --git a/mail/thunderbird/patches/patch-mozilla_xulrunner_app_Makefile.in.orig b/mail/thunderbird/patches/patch-mozilla_xulrunner_app_Makefile.in.orig new file mode 100644 index 00000000000..e69de29bb2d --- /dev/null +++ b/mail/thunderbird/patches/patch-mozilla_xulrunner_app_Makefile.in.orig diff --git a/mail/thunderbird/patches/patch-mp b/mail/thunderbird/patches/patch-mp index e269a286250..fe18070a4ae 100644 --- a/mail/thunderbird/patches/patch-mp +++ b/mail/thunderbird/patches/patch-mp @@ -1,6 +1,6 @@ -$NetBSD: patch-mp,v 1.4 2011/08/19 14:39:10 tnn Exp $ +$NetBSD: patch-mp,v 1.5 2012/03/10 11:42:39 ryoon Exp $ ---- mozilla/media/libsydneyaudio/src/Makefile.in.orig 2010-07-21 00:52:30.000000000 +0000 +--- mozilla/media/libsydneyaudio/src/Makefile.in.orig 2012-02-16 10:25:19.000000000 +0000 +++ mozilla/media/libsydneyaudio/src/Makefile.in @@ -97,6 +97,12 @@ ifeq ($(OS_ARCH),WINNT) OS_LIBS += winmm.lib diff --git a/mail/thunderbird/patches/patch-pa b/mail/thunderbird/patches/patch-pa index 06b2917e022..42f0a9d9e69 100644 --- a/mail/thunderbird/patches/patch-pa +++ b/mail/thunderbird/patches/patch-pa @@ -1,6 +1,6 @@ -$NetBSD: patch-pa,v 1.3 2011/08/19 14:39:10 tnn Exp $ +$NetBSD: patch-pa,v 1.4 2012/03/10 11:42:39 ryoon Exp $ ---- mozilla/xulrunner/installer/mozilla-js.pc.in.orig 2010-11-04 19:20:39.000000000 +0000 +--- mozilla/xulrunner/installer/mozilla-js.pc.in.orig 2012-02-16 10:25:33.000000000 +0000 +++ mozilla/xulrunner/installer/mozilla-js.pc.in @@ -6,5 +6,5 @@ Name: JavaScript Description: The Mozilla JavaScript Library diff --git a/mail/thunderbird/patches/patch-pb b/mail/thunderbird/patches/patch-pb index 26469cbf0d7..5955c3951ca 100644 --- a/mail/thunderbird/patches/patch-pb +++ b/mail/thunderbird/patches/patch-pb @@ -1,6 +1,6 @@ -$NetBSD: patch-pb,v 1.3 2011/08/19 14:39:10 tnn Exp $ +$NetBSD: patch-pb,v 1.4 2012/03/10 11:42:39 ryoon Exp $ ---- mozilla/xulrunner/installer/libxul.pc.in.orig 2010-11-04 19:20:39.000000000 +0000 +--- mozilla/xulrunner/installer/libxul.pc.in.orig 2012-02-16 10:25:33.000000000 +0000 +++ mozilla/xulrunner/installer/libxul.pc.in @@ -7,5 +7,5 @@ Name: libxul Description: The Mozilla Runtime and Embedding Engine diff --git a/mail/thunderbird/patches/patch-pc b/mail/thunderbird/patches/patch-pc index 802715a38ef..1dbcdfdba5b 100644 --- a/mail/thunderbird/patches/patch-pc +++ b/mail/thunderbird/patches/patch-pc @@ -1,6 +1,6 @@ -$NetBSD: patch-pc,v 1.3 2011/08/19 14:39:10 tnn Exp $ +$NetBSD: patch-pc,v 1.4 2012/03/10 11:42:39 ryoon Exp $ ---- mozilla/xulrunner/installer/libxul-embedding.pc.in.orig 2010-04-21 09:07:48.000000000 +0000 +--- mozilla/xulrunner/installer/libxul-embedding.pc.in.orig 2012-02-16 10:25:33.000000000 +0000 +++ mozilla/xulrunner/installer/libxul-embedding.pc.in @@ -6,5 +6,6 @@ idldir=%idldir% Name: libxul-embedding diff --git a/mail/thunderbird/patches/patch-pd b/mail/thunderbird/patches/patch-pd index 9d843e0c63a..fd090533c63 100644 --- a/mail/thunderbird/patches/patch-pd +++ b/mail/thunderbird/patches/patch-pd @@ -1,6 +1,6 @@ -$NetBSD: patch-pd,v 1.3 2011/08/19 14:39:10 tnn Exp $ +$NetBSD: patch-pd,v 1.4 2012/03/10 11:42:39 ryoon Exp $ ---- mozilla/xulrunner/installer/mozilla-nss.pc.in.orig 2009-10-29 23:11:24.000000000 +0100 +--- mozilla/xulrunner/installer/mozilla-nss.pc.in.orig 2012-02-16 10:25:33.000000000 +0000 +++ mozilla/xulrunner/installer/mozilla-nss.pc.in @@ -6,5 +6,5 @@ Name: NSS Description: Mozilla Network Security Services diff --git a/mail/thunderbird/patches/patch-pg b/mail/thunderbird/patches/patch-pg index 7499fb20921..96ffc0028f9 100644 --- a/mail/thunderbird/patches/patch-pg +++ b/mail/thunderbird/patches/patch-pg @@ -1,6 +1,6 @@ -$NetBSD: patch-pg,v 1.3 2011/08/19 14:39:10 tnn Exp $ +$NetBSD: patch-pg,v 1.4 2012/03/10 11:42:39 ryoon Exp $ ---- mozilla/xulrunner/installer/mozilla-nspr.pc.in.orig 2009-10-29 23:11:24.000000000 +0100 +--- mozilla/xulrunner/installer/mozilla-nspr.pc.in.orig 2012-02-16 10:25:33.000000000 +0000 +++ mozilla/xulrunner/installer/mozilla-nspr.pc.in @@ -5,7 +5,5 @@ includedir=%includedir% Name: NSPR diff --git a/mail/thunderbird/patches/patch-rc b/mail/thunderbird/patches/patch-rc index c636773fa4c..dafed9d9411 100644 --- a/mail/thunderbird/patches/patch-rc +++ b/mail/thunderbird/patches/patch-rc @@ -1,6 +1,6 @@ -$NetBSD: patch-rc,v 1.3 2011/08/19 14:39:10 tnn Exp $ +$NetBSD: patch-rc,v 1.4 2012/03/10 11:42:39 ryoon Exp $ ---- mozilla/browser/branding/unofficial/locales/en-US/brand.dtd.orig 2011-01-22 00:24:21.000000000 +0000 +--- mozilla/browser/branding/unofficial/locales/en-US/brand.dtd.orig 2012-02-16 10:24:45.000000000 +0000 +++ mozilla/browser/branding/unofficial/locales/en-US/brand.dtd @@ -1,4 +1,4 @@ -<!ENTITY brandShortName "Mozilla Developer Preview"> diff --git a/mail/thunderbird/patches/patch-security_nss_cmd_shlibsign_sign.sh b/mail/thunderbird/patches/patch-security_nss_cmd_shlibsign_sign.sh index b46da2726f9..65a52fa6c72 100644 --- a/mail/thunderbird/patches/patch-security_nss_cmd_shlibsign_sign.sh +++ b/mail/thunderbird/patches/patch-security_nss_cmd_shlibsign_sign.sh @@ -1,10 +1,10 @@ -$NetBSD: patch-security_nss_cmd_shlibsign_sign.sh,v 1.1 2011/08/19 14:39:10 tnn Exp $ +$NetBSD: patch-security_nss_cmd_shlibsign_sign.sh,v 1.2 2012/03/10 11:42:39 ryoon Exp $ This tries to dlopen libsoftokn3.so which is linked against sqlite3, so we need a directory containing libsqlite3.so in the search path, beside the directory containing libsoftokn3.so itself. ---- mozilla/security/nss/cmd/shlibsign/sign.sh.orig 2011-06-15 21:57:52.000000000 +0000 +--- mozilla/security/nss/cmd/shlibsign/sign.sh.orig 2012-02-16 10:25:24.000000000 +0000 +++ mozilla/security/nss/cmd/shlibsign/sign.sh @@ -26,7 +26,7 @@ WIN*) export LIBPATH diff --git a/mail/thunderbird/patches/patch-toolkit_toolkit-tiers.mk b/mail/thunderbird/patches/patch-toolkit_toolkit-tiers.mk index 12014d3d89a..6abbb10424c 100644 --- a/mail/thunderbird/patches/patch-toolkit_toolkit-tiers.mk +++ b/mail/thunderbird/patches/patch-toolkit_toolkit-tiers.mk @@ -1,8 +1,8 @@ -$NetBSD: patch-toolkit_toolkit-tiers.mk,v 1.1 2011/08/19 14:39:10 tnn Exp $ +$NetBSD: patch-toolkit_toolkit-tiers.mk,v 1.2 2012/03/10 11:42:39 ryoon Exp $ ---- mozilla/toolkit/toolkit-tiers.mk.orig 2011-06-15 21:57:56.000000000 +0000 +--- mozilla/toolkit/toolkit-tiers.mk.orig 2012-02-16 10:25:31.000000000 +0000 +++ mozilla/toolkit/toolkit-tiers.mk -@@ -90,7 +90,7 @@ ifndef MOZ_NATIVE_BZ2 +@@ -82,7 +82,7 @@ ifndef MOZ_NATIVE_BZ2 tier_platform_dirs += modules/libbz2 endif tier_platform_dirs += modules/libmar diff --git a/mail/thunderbird/patches/patch-xa b/mail/thunderbird/patches/patch-xa index d4c6b5c5d79..687d73413b2 100644 --- a/mail/thunderbird/patches/patch-xa +++ b/mail/thunderbird/patches/patch-xa @@ -1,8 +1,8 @@ -$NetBSD: patch-xa,v 1.2 2010/07/12 16:49:22 tnn Exp $ +$NetBSD: patch-xa,v 1.3 2012/03/10 11:42:39 ryoon Exp $ NetBSD/sparc64 xptcall support code. From pkgsrc/www/firefox3/files/ ---- mozilla/xpcom/reflect/xptcall/src/md/unix/xptcinvoke_asm_sparc64_netbsd.s.orig 2009-07-09 10:12:51.000000000 +0200 +--- mozilla/xpcom/reflect/xptcall/src/md/unix/xptcinvoke_asm_sparc64_netbsd.s.orig 2012-03-09 12:27:39.000000000 +0000 +++ mozilla/xpcom/reflect/xptcall/src/md/unix/xptcinvoke_asm_sparc64_netbsd.s @@ -0,0 +1,112 @@ +/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- diff --git a/mail/thunderbird/patches/patch-xb b/mail/thunderbird/patches/patch-xb index 0c04d49c1f0..eadc729318b 100644 --- a/mail/thunderbird/patches/patch-xb +++ b/mail/thunderbird/patches/patch-xb @@ -1,8 +1,8 @@ -$NetBSD: patch-xb,v 1.2 2010/07/12 16:49:22 tnn Exp $ +$NetBSD: patch-xb,v 1.3 2012/03/10 11:42:39 ryoon Exp $ NetBSD/sparc64 xptcall support code. From pkgsrc/www/firefox3/files/ ---- mozilla/xpcom/reflect/xptcall/src/md/unix/xptcinvoke_sparc64_netbsd.cpp.orig 2009-07-09 10:12:51.000000000 +0200 +--- mozilla/xpcom/reflect/xptcall/src/md/unix/xptcinvoke_sparc64_netbsd.cpp.orig 2012-03-09 12:27:39.000000000 +0000 +++ mozilla/xpcom/reflect/xptcall/src/md/unix/xptcinvoke_sparc64_netbsd.cpp @@ -0,0 +1,84 @@ +/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- diff --git a/mail/thunderbird/patches/patch-xc b/mail/thunderbird/patches/patch-xc index 00d5e376cc5..0566a77ef09 100644 --- a/mail/thunderbird/patches/patch-xc +++ b/mail/thunderbird/patches/patch-xc @@ -1,8 +1,8 @@ -$NetBSD: patch-xc,v 1.2 2010/07/12 16:49:22 tnn Exp $ +$NetBSD: patch-xc,v 1.3 2012/03/10 11:42:39 ryoon Exp $ NetBSD/sparc64 xptcall support code. From pkgsrc/www/firefox3/files/ ---- mozilla/xpcom/reflect/xptcall/src/md/unix/xptcstubs_asm_sparc64_netbsd.s.orig 2009-07-09 10:12:51.000000000 +0200 +--- mozilla/xpcom/reflect/xptcall/src/md/unix/xptcstubs_asm_sparc64_netbsd.s.orig 2012-03-09 12:27:39.000000000 +0000 +++ mozilla/xpcom/reflect/xptcall/src/md/unix/xptcstubs_asm_sparc64_netbsd.s @@ -0,0 +1,66 @@ +/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- diff --git a/mail/thunderbird/patches/patch-xd b/mail/thunderbird/patches/patch-xd index 5fd63b5a5e9..874225ad3e6 100644 --- a/mail/thunderbird/patches/patch-xd +++ b/mail/thunderbird/patches/patch-xd @@ -1,8 +1,8 @@ -$NetBSD: patch-xd,v 1.2 2010/07/12 16:49:22 tnn Exp $ +$NetBSD: patch-xd,v 1.3 2012/03/10 11:42:39 ryoon Exp $ NetBSD/sparc64 xptcall support code. From pkgsrc/www/firefox3/files/ ---- mozilla/xpcom/reflect/xptcall/src/md/unix/xptcstubs_sparc64_netbsd.cpp.orig 2009-07-09 10:12:51.000000000 +0200 +--- mozilla/xpcom/reflect/xptcall/src/md/unix/xptcstubs_sparc64_netbsd.cpp.orig 2012-03-09 12:27:39.000000000 +0000 +++ mozilla/xpcom/reflect/xptcall/src/md/unix/xptcstubs_sparc64_netbsd.cpp @@ -0,0 +1,119 @@ +/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- diff --git a/mail/thunderbird/patches/patch-xe b/mail/thunderbird/patches/patch-xe index 1d2fa25abaa..0754cbac714 100644 --- a/mail/thunderbird/patches/patch-xe +++ b/mail/thunderbird/patches/patch-xe @@ -1,8 +1,8 @@ -$NetBSD: patch-xe,v 1.2 2010/07/12 16:49:22 tnn Exp $ +$NetBSD: patch-xe,v 1.3 2012/03/10 11:42:39 ryoon Exp $ NetBSD/m68k xptcall support code. From pkgsrc/www/firefox/patch-ad. ---- mozilla/xpcom/reflect/xptcall/src/md/unix/xptcinvoke_netbsd_m68k.cpp.orig 2009-06-29 18:15:33.000000000 +0200 +--- mozilla/xpcom/reflect/xptcall/src/md/unix/xptcinvoke_netbsd_m68k.cpp.orig 2012-02-16 10:25:33.000000000 +0000 +++ mozilla/xpcom/reflect/xptcall/src/md/unix/xptcinvoke_netbsd_m68k.cpp @@ -132,6 +132,15 @@ extern "C" { } diff --git a/mail/thunderbird/patches/patch-xf b/mail/thunderbird/patches/patch-xf index 0a9fc9cfde1..23c8067e405 100644 --- a/mail/thunderbird/patches/patch-xf +++ b/mail/thunderbird/patches/patch-xf @@ -1,8 +1,8 @@ -$NetBSD: patch-xf,v 1.2 2010/07/12 16:49:22 tnn Exp $ +$NetBSD: patch-xf,v 1.3 2012/03/10 11:42:39 ryoon Exp $ NetBSD/m68k xptcall support code. From pkgsrc/www/firefox/patch-ae. ---- mozilla/xpcom/reflect/xptcall/src/md/unix/xptcstubs_netbsd_m68k.cpp.orig 2009-06-29 18:15:33.000000000 +0200 +--- mozilla/xpcom/reflect/xptcall/src/md/unix/xptcstubs_netbsd_m68k.cpp.orig 2012-02-16 10:25:33.000000000 +0000 +++ mozilla/xpcom/reflect/xptcall/src/md/unix/xptcstubs_netbsd_m68k.cpp @@ -123,17 +123,27 @@ extern "C" { } diff --git a/mail/thunderbird/patches/patch-xg b/mail/thunderbird/patches/patch-xg index dfcdc31b255..3516d7d8d3a 100644 --- a/mail/thunderbird/patches/patch-xg +++ b/mail/thunderbird/patches/patch-xg @@ -1,8 +1,8 @@ -$NetBSD: patch-xg,v 1.2 2010/07/12 16:49:22 tnn Exp $ +$NetBSD: patch-xg,v 1.3 2012/03/10 11:42:39 ryoon Exp $ NetBSD/arm xptcall support code. From pkgsrc/www/firefox/patch-bm. ---- mozilla/xpcom/reflect/xptcall/src/md/unix/xptcstubs_arm_netbsd.cpp.orig 2009-06-29 18:15:33.000000000 +0200 +--- mozilla/xpcom/reflect/xptcall/src/md/unix/xptcstubs_arm_netbsd.cpp.orig 2012-02-16 10:25:33.000000000 +0000 +++ mozilla/xpcom/reflect/xptcall/src/md/unix/xptcstubs_arm_netbsd.cpp @@ -118,18 +118,23 @@ PrepareAndDispatch(nsXPTCStubBase* self, * so they are contiguous with values passed on the stack, and then calls diff --git a/mail/thunderbird/patches/patch-xj b/mail/thunderbird/patches/patch-xj index 2617973adea..0faab4dba08 100644 --- a/mail/thunderbird/patches/patch-xj +++ b/mail/thunderbird/patches/patch-xj @@ -1,8 +1,8 @@ -$NetBSD: patch-xj,v 1.2 2010/07/12 16:49:22 tnn Exp $ +$NetBSD: patch-xj,v 1.3 2012/03/10 11:42:39 ryoon Exp $ NetBSD ppc xptcall support code. Originally from pkgsrc/www/mozilla. ---- mozilla/xpcom/reflect/xptcall/src/md/unix/xptcstubs_ppc_netbsd.cpp.orig 2009-06-29 18:15:33.000000000 +0200 +--- mozilla/xpcom/reflect/xptcall/src/md/unix/xptcstubs_ppc_netbsd.cpp.orig 2012-02-16 10:25:33.000000000 +0000 +++ mozilla/xpcom/reflect/xptcall/src/md/unix/xptcstubs_ppc_netbsd.cpp @@ -41,6 +41,7 @@ // Implement shared vtbl methods. diff --git a/mail/thunderbird/patches/patch-xk b/mail/thunderbird/patches/patch-xk index 0de20ba99b2..ad9308da437 100644 --- a/mail/thunderbird/patches/patch-xk +++ b/mail/thunderbird/patches/patch-xk @@ -1,8 +1,8 @@ -$NetBSD: patch-xk,v 1.2 2010/07/12 16:49:22 tnn Exp $ +$NetBSD: patch-xk,v 1.3 2012/03/10 11:42:39 ryoon Exp $ NetBSD ppc xptcall support code. Originally from pkgsrc/www/mozilla. ---- mozilla/xpcom/reflect/xptcall/src/md/unix/xptcstubs_asm_ppc_netbsd.s.orig 2009-06-29 18:15:33.000000000 +0200 +--- mozilla/xpcom/reflect/xptcall/src/md/unix/xptcstubs_asm_ppc_netbsd.s.orig 2012-02-16 10:25:33.000000000 +0000 +++ mozilla/xpcom/reflect/xptcall/src/md/unix/xptcstubs_asm_ppc_netbsd.s @@ -1,43 +1,43 @@ -# -*- Mode: Asm -*- diff --git a/mail/thunderbird/patches/patch-xl b/mail/thunderbird/patches/patch-xl index 15e213d38d9..053c094b128 100644 --- a/mail/thunderbird/patches/patch-xl +++ b/mail/thunderbird/patches/patch-xl @@ -1,8 +1,8 @@ -$NetBSD: patch-xl,v 1.2 2010/07/12 16:49:22 tnn Exp $ +$NetBSD: patch-xl,v 1.3 2012/03/10 11:42:40 ryoon Exp $ NetBSD ppc xptcall support code. Originally from pkgsrc/www/mozilla. ---- mozilla/xpcom/reflect/xptcall/src/md/unix/xptcinvoke_asm_ppc_netbsd.s.orig 2009-06-29 18:15:33.000000000 +0200 +--- mozilla/xpcom/reflect/xptcall/src/md/unix/xptcinvoke_asm_ppc_netbsd.s.orig 2012-02-16 10:25:33.000000000 +0000 +++ mozilla/xpcom/reflect/xptcall/src/md/unix/xptcinvoke_asm_ppc_netbsd.s @@ -1,43 +1,43 @@ -# -*- Mode: Asm -*- diff --git a/mail/thunderbird/patches/patch-xm b/mail/thunderbird/patches/patch-xm index 221bfd3492f..66d14a0f669 100644 --- a/mail/thunderbird/patches/patch-xm +++ b/mail/thunderbird/patches/patch-xm @@ -1,8 +1,8 @@ -$NetBSD: patch-xm,v 1.2 2010/07/12 16:49:22 tnn Exp $ +$NetBSD: patch-xm,v 1.3 2012/03/10 11:42:40 ryoon Exp $ NetBSD/ppc xptcall support code. Originally from pkgsrc/www/mozilla. ---- mozilla/xpcom/reflect/xptcall/src/md/unix/xptcinvoke_ppc_netbsd.cpp.orig 2009-06-29 18:15:33.000000000 +0200 +--- mozilla/xpcom/reflect/xptcall/src/md/unix/xptcinvoke_ppc_netbsd.cpp.orig 2012-02-16 10:25:33.000000000 +0000 +++ mozilla/xpcom/reflect/xptcall/src/md/unix/xptcinvoke_ppc_netbsd.cpp @@ -40,9 +40,9 @@ diff --git a/mail/thunderbird/patches/patch-xn b/mail/thunderbird/patches/patch-xn index b50fbfad6c8..7fb64585987 100644 --- a/mail/thunderbird/patches/patch-xn +++ b/mail/thunderbird/patches/patch-xn @@ -1,7 +1,7 @@ -$NetBSD: patch-xn,v 1.1 2010/07/12 16:49:22 tnn Exp $ +$NetBSD: patch-xn,v 1.2 2012/03/10 11:42:40 ryoon Exp $ ---- mozilla/xpcom/reflect/xptcall/src/md/unix/xptcinvoke_asm_mips.s.orig 2010-03-31 05:56:51.000000000 -0400 -+++ mozilla/xpcom/reflect/xptcall/src/md/unix/xptcinvoke_asm_mips.s 2010-03-31 06:28:51.000000000 -0400 +--- mozilla/xpcom/reflect/xptcall/src/md/unix/xptcinvoke_asm_mips.s.orig 2012-02-16 10:25:33.000000000 +0000 ++++ mozilla/xpcom/reflect/xptcall/src/md/unix/xptcinvoke_asm_mips.s @@ -42,8 +42,46 @@ /* This code is for MIPS using the O32 ABI. */ diff --git a/mail/thunderbird/patches/patch-xo b/mail/thunderbird/patches/patch-xo index 07605e8aa3b..13be2a8e8a3 100644 --- a/mail/thunderbird/patches/patch-xo +++ b/mail/thunderbird/patches/patch-xo @@ -1,7 +1,7 @@ -$NetBSD: patch-xo,v 1.1 2010/07/12 16:49:22 tnn Exp $ +$NetBSD: patch-xo,v 1.2 2012/03/10 11:42:40 ryoon Exp $ ---- mozilla/xpcom/reflect/xptcall/src/md/unix/xptcstubs_asm_mips.s.orig 2010-03-31 06:23:31.000000000 -0400 -+++ mozilla/xpcom/reflect/xptcall/src/md/unix/xptcstubs_asm_mips.s 2010-03-31 06:28:23.000000000 -0400 +--- mozilla/xpcom/reflect/xptcall/src/md/unix/xptcstubs_asm_mips.s.orig 2012-02-16 10:25:33.000000000 +0000 ++++ mozilla/xpcom/reflect/xptcall/src/md/unix/xptcstubs_asm_mips.s @@ -26,8 +26,46 @@ /* This code is for MIPS using the O32 ABI. */ diff --git a/mail/thunderbird/patches/patch-zb b/mail/thunderbird/patches/patch-zb index 2595fa1e0b8..e155448235f 100644 --- a/mail/thunderbird/patches/patch-zb +++ b/mail/thunderbird/patches/patch-zb @@ -1,8 +1,8 @@ -$NetBSD: patch-zb,v 1.3 2011/11/13 16:59:58 tnn Exp $ +$NetBSD: patch-zb,v 1.4 2012/03/10 11:42:40 ryoon Exp $ ---- mail/app/Makefile.in.orig 2011-11-05 09:06:10.000000000 +0000 +--- mail/app/Makefile.in.orig 2012-02-16 10:18:22.000000000 +0000 +++ mail/app/Makefile.in -@@ -105,6 +105,10 @@ ifeq (cocoa,$(MOZ_WIDGET_TOOLKIT)) +@@ -103,6 +103,10 @@ ifeq (cocoa,$(MOZ_WIDGET_TOOLKIT)) TK_LIBS := -framework Cocoa $(TK_LIBS) endif @@ -10,6 +10,6 @@ $NetBSD: patch-zb,v 1.3 2011/11/13 16:59:58 tnn Exp $ +LIBS += -lossaudio +endif + - APP_XPCOM_LIBS = $(XPCOM_GLUE_LDOPTS) - LIBS += \ + $(EXTRA_DSO_LIBS) \ + $(XPCOM_STANDALONE_GLUE_LDOPTS) \ diff --git a/mail/thunderbird/patches/patch-zc b/mail/thunderbird/patches/patch-zc index e9b48f5cd0d..c66279cba27 100644 --- a/mail/thunderbird/patches/patch-zc +++ b/mail/thunderbird/patches/patch-zc @@ -1,8 +1,8 @@ -$NetBSD: patch-zc,v 1.1 2009/11/29 03:06:44 tnn Exp $ +$NetBSD: patch-zc,v 1.2 2012/03/10 11:42:40 ryoon Exp $ ---- mail/app/nsMailApp.cpp.orig 2009-11-22 03:44:31.000000000 +0100 +--- mail/app/nsMailApp.cpp.orig 2012-02-16 10:18:22.000000000 +0000 +++ mail/app/nsMailApp.cpp -@@ -44,6 +44,27 @@ +@@ -48,6 +48,27 @@ #include <stdio.h> #include <stdarg.h> @@ -30,11 +30,11 @@ $NetBSD: patch-zc,v 1.1 2009/11/29 03:06:44 tnn Exp $ #include "nsCOMPtr.h" #include "nsILocalFile.h" -@@ -83,6 +104,7 @@ public: +@@ -147,6 +168,7 @@ static int do_main(const char *exePath, int main(int argc, char* argv[]) { + netbsd_fixrlimit(); - ScopedLogging log; + char exePath[MAXPATHLEN]; - nsCOMPtr<nsILocalFile> appini; + nsresult rv = mozilla::BinaryPath::Get(argv[0], exePath); |