Index: MOVED =================================================================== --- MOVED (revision 320981) +++ MOVED (working copy) @@ -4389,3 +4389,4 @@ mail/claws-mail-gtkhtml2_viewer|mail/claws-mail-fancy|2013-06-11|Has expired: No longer maintained, please use mail/claws-mail-fancy instead mail/claws-mail-cachesaver||2013-06-11|Has expired: No longer maintained by Claws Mail team deskutils/contacts||2013-06-13|Has expired: upstream project discontinued for years, upstream sources are gone +www/libxul19|www/libxul|2013-06-15|Has bee vulnerable for a long time, unsupported upstream Index: Mk/bsd.gecko.mk =================================================================== --- Mk/bsd.gecko.mk (revision 320981) +++ Mk/bsd.gecko.mk (working copy) @@ -14,7 +14,7 @@ # WITH_GECKO= libxul # # The valid backends are: -# libxul libxul19 +# libxul # # See below for more details. # ======================= /USERS ================================ @@ -36,9 +36,9 @@ # Users should use the following syntax: # -# WITH_GECKO= libxul libxul19 -# Use libxul whenever a port supports it, falling back on libxul19. # WITH_GECKO= libxul +# Use libxul whenever a port supports it +# WITH_GECKO= libxul # Sets your preferred backend. With this example, libxul will always # be chosen, unless the port doesn't support a libxul backend. In that # case, you get whatever the porter chose as the default. Better to use @@ -47,19 +47,17 @@ # # Ports should use the following: # -# USE_GECKO= libxul libxul19 +# USE_GECKO= libxul # The list of gecko backends that the port supports. Unless the user # overrides it with WITH_GECKO, the first gecko listed in USE_GECKO -# will be the default. In the above example, www/libxul will be used -# as a gecko backend unless WITH_GECKO=libxul19 is defined by the -# user. +# will be the default. # # USE_GECKO= libxul19<->libxul # This will sed -e 's/libxul/libxul19/' on Makefile.in's and configure # if ${GECKO}=="libxul19" # # Example: -# USE_GECKO= libxul libxul19 +# USE_GECKO= libxul # # post-patch: # @${REINPLACE_CMD} -e 's|mozilla-|${GECKO}-|' \ @@ -69,7 +67,7 @@ # has been chosen. # # Example: -# USE_GECKO= libxul libxul19 +# USE_GECKO= libxul # # post-patch: # .if ${GECKO}=="libxul19" @@ -77,10 +75,9 @@ # ${MOZSRC}/configure # .endif -_GECKO_ALL= libxul libxul19 +_GECKO_ALL= libxul -libxul_PLIST= libxul>=10 -libxul19_PLIST= libxul<2 +libxul_PLIST= libxul>=17 .for gecko in ${_GECKO_ALL} ${gecko}_PORTSDIR?= www Index: audio/tuxguitar/Makefile =================================================================== --- audio/tuxguitar/Makefile (revision 320981) +++ audio/tuxguitar/Makefile (working copy) @@ -29,7 +29,7 @@ USES= pkgconfig USE_JAVA= yes USE_ANT= yes -USE_GECKO= libxul19 +USE_GECKO= libxul USE_GMAKE= yes USE_LDCONFIG= yes JAVA_VERSION= 1.6+ Index: deskutils/chmsee/Makefile =================================================================== --- deskutils/chmsee/Makefile (revision 320981) +++ deskutils/chmsee/Makefile (working copy) @@ -10,13 +10,18 @@ MAINTAINER= sylvio@FreeBSD.org COMMENT= A viewer for Microsoft Help "CHM" files +BROKEN= Does not work with newer libxul + +DEPRECATED= Does not work with newer libxul +EXPIRATION_DATE= 2013-09-01 + LIB_DEPENDS= chm.0:${PORTSDIR}/misc/chmlib \ gcrypt:${PORTSDIR}/security/libgcrypt LICENSE= GPLv2 USE_GNOME= gnomehier libglade2 -USE_GECKO= libxul19 +USE_GECKO= libxul USES= cmake gettext CMAKE_ARGS= -DCMAKE_INSTALL_RPATH_USE_LINK_PATH:BOOL=TRUE INSTALLS_ICONS= yes Index: deskutils/google-gadgets/Makefile =================================================================== --- deskutils/google-gadgets/Makefile (revision 320981) +++ deskutils/google-gadgets/Makefile (working copy) @@ -65,7 +65,7 @@ .endif .if ${PORT_OPTIONS:MMOZILLA} -USE_GECKO= libxul19 +USE_GECKO= libxul .endif .if ${PORT_OPTIONS:MGTKWEBKIT} && ! ${PORT_OPTIONS:MGTK} Index: editors/morla/Makefile =================================================================== --- editors/morla/Makefile (revision 320981) +++ editors/morla/Makefile (working copy) @@ -45,7 +45,7 @@ .include .if ${PORT_OPTIONS:MXULRUNNER} -USE_GECKO= libxul19 +USE_GECKO= libxul CONFIGURE_ARGS+= --with-javascript=xulrunner .else CONFIGURE_ARGS+= --with-javascript=none Index: java/icedtea-web/Makefile =================================================================== --- java/icedtea-web/Makefile (revision 320981) +++ java/icedtea-web/Makefile (working copy) @@ -57,7 +57,7 @@ .endif .if ${PORT_OPTIONS:MPLUGIN} -USE_GECKO= libxul libxul19 +USE_GECKO= libxul USE_GNOME= glib20 USE_WEBPLUGINS= native WEBPLUGINS_DIR= ${PREFIX}/lib Index: misc/xiphos/Makefile =================================================================== --- misc/xiphos/Makefile (revision 320981) +++ misc/xiphos/Makefile (working copy) @@ -25,9 +25,8 @@ USE_GNOME= gnomehack gnomeprefix gtkhtml3 intlhack libgsf OPTIONS_SINGLE= BACKEND -OPTIONS_SINGLE_BACKEND= GTKHTML LIBXUL WEBKIT +OPTIONS_SINGLE_BACKEND= GTKHTML WEBKIT GTKHTML_DESC= Use gtkhtml for rendering -LIBXUL_DESC= Use xulrunner for rendering WEBKIT_DESC= Use webkit for rendering (preferred) OPTIONS_DEFAULT= WEBKIT @@ -39,11 +38,6 @@ LIB_DEPENDS= webkitgtk:${PORTSDIR}/www/webkit-gtk2 .endif -.if ${PORT_OPTIONS:MLIBXUL} -WAF_CONFIGURE_ARGS= --backend=xulrunner -USE_GECKO= libxul19 -.endif - .if ${PORT_OPTIONS:MGTKHTML} WAF_CONFIGURE_ARGS= --backend=gtkhtml .endif Index: multimedia/gxine/Makefile =================================================================== --- multimedia/gxine/Makefile (revision 320981) +++ multimedia/gxine/Makefile (working copy) @@ -21,7 +21,7 @@ USE_XZ= yes USES= pathfix USE_GNOME= gtk20 -USE_GECKO= libxul19 +USE_GECKO= libxul USE_GMAKE= yes USE_AUTOTOOLS= libtool CONFIGURE_ENV= MKDIR_P="${MKDIR}" Index: net/libproxy-mozjs/Makefile =================================================================== --- net/libproxy-mozjs/Makefile (revision 320981) +++ net/libproxy-mozjs/Makefile (working copy) @@ -12,12 +12,18 @@ MAINTAINER= gnome@FreeBSD.org COMMENT= Mozilla JavaScript plug-in for libproxy +BROKEN= Does not work with newer libxul + +DEPRECATED= Does not work with newer libxul +EXPIRATION_DATE= 2013-09-01 + + LIB_DEPENDS= proxy.1:${PORTSDIR}/net/libproxy MASTERDIR= ${.CURDIR}/../libproxy DESCR= ${.CURDIR}/pkg-descr PLIST= ${.CURDIR}/pkg-plist -USE_GECKO= libxul19 +USE_GECKO= libxul LIBPROXY_SLAVE= mozjs Index: science/gchemutils/Makefile =================================================================== --- science/gchemutils/Makefile (revision 320981) +++ science/gchemutils/Makefile (working copy) @@ -55,7 +55,8 @@ .include .if ${PORT_OPTIONS:MXUL} -USE_GECKO= libxul19 +BROKEN= Does not work with newer libxul +USE_GECKO= libxul CONFIGURE_ARGS+=--enable-mozilla-plugin PLIST_SUB+= XUL="" .else Index: www/Makefile =================================================================== --- www/Makefile (revision 320981) +++ www/Makefile (working copy) @@ -398,7 +398,6 @@ SUBDIR += libmicrohttpd SUBDIR += libwww SUBDIR += libxul - SUBDIR += libxul19 SUBDIR += lifetype SUBDIR += lightsquid SUBDIR += lighttpd Index: www/gecko-mediaplayer/Makefile =================================================================== --- www/gecko-mediaplayer/Makefile (revision 320981) +++ www/gecko-mediaplayer/Makefile (working copy) @@ -25,7 +25,7 @@ GNU_CONFIGURE= yes USES= pkgconfig USE_GNOME= glib20 -USE_GECKO= libxul libxul19 +USE_GECKO= libxul USE_WEBPLUGINS= native WEBPLUGINS_FILES= ${PORTNAME}.so Index: www/gecko-sharp20/Makefile =================================================================== --- www/gecko-sharp20/Makefile (revision 320981) +++ www/gecko-sharp20/Makefile (working copy) @@ -16,7 +16,7 @@ MAINTAINER= mono@FreeBSD.org COMMENT= Mono bindings to embed Mozilla -USE_GECKO= libxul19 +USE_GECKO= libxul USE_GNOME= gtksharp20 LATEST_LINK= gecko-sharp20 GNU_CONFIGURE= yes Index: www/helixplugin/Makefile =================================================================== --- www/helixplugin/Makefile (revision 320981) +++ www/helixplugin/Makefile (working copy) @@ -14,11 +14,17 @@ MAINTAINER= mi@aldan.algebra.com COMMENT= Browser plugin for Real or Helix Players +BROKEN= Does not work with newer libxul + +DEPRECATED= Does not work with newer libxul +EXPIRATION_DATE= 2013-09-01 + + USE_BZIP2 = yes USE_DOS2UNIX = yes MAKEFILE = ${FILESDIR}/BSDmakefile -USE_GECKO = libxul19 -MAKE_ENV += TOP="${WRKSRC}" GECKO=${GECKO:S/19//} +USE_GECKO = libxul +MAKE_ENV += TOP="${WRKSRC}" GECKO=${GECKO} MAKE_JOBS_UNSAFE = yes USE_WEBPLUGINS= native Index: www/libxul19/Makefile =================================================================== --- www/libxul19/Makefile (revision 320981) +++ www/libxul19/Makefile (working copy) @@ -1,90 +0,0 @@ -# New ports collection makefile for: xulrunner -# Date created: 2006-02-20 -# Whom: Michael Johnson -# -# $FreeBSD$ -# - -PORTNAME= libxul -DISTVERSION= 1.9.2.28 -PORTREVISION= 1 -CATEGORIES?= www devel -MASTER_SITES= ${MASTER_SITE_MOZILLA} -MASTER_SITE_SUBDIR= firefox/releases/3.6.28/source -DISTNAME= firefox-3.6.28.source - -MAINTAINER?= gecko@FreeBSD.org -COMMENT?= Mozilla runtime package that can be used to bootstrap XUL+XPCOM apps - -BUILD_DEPENDS= nspr>=4.8.6:${PORTSDIR}/devel/nspr \ - nss>=3.13.6_1:${PORTSDIR}/security/nss - -WRKSRC= ${WRKDIR}/mozilla-1.9.2 -CONFLICTS= mozilla-[0-9]* libxul-[0-9][0-9].* -GECKO_PLIST_PRE_DIRS= lib/${MOZILLA}/bin lib/${MOZILLA}/idl \ - lib/${MOZILLA}/include lib/${MOZILLA}/lib - -LATEST_LINK= libxul19 -USE_AUTOTOOLS= autoconf213:env -WANT_GNOME= yes -WANT_PERL= yes -ALL_TARGET= default -GNU_CONFIGURE= yes -USE_BZIP2= yes -USE_GMAKE= yes -MAKE_JOBS_SAFE= yes -MAKE_ENV= SKIP_GRE_REGISTRATION=1 mozappdir=${PREFIX}/lib/${MOZILLA} -LDFLAGS+= -Wl,-rpath,${PREFIX}/lib/${MOZ_RPATH} -USE_LDCONFIG= ${PREFIX}/lib/${MOZILLA} - -MOZ_OPTIONS?= --enable-application=xulrunner \ - --disable-ipc -MOZ_EXTENSIONS= default,cookie,permissions -USE_GECKO= gecko -MOZILLA_EXEC_NAME=xulrunner -USE_MOZILLA= -event -ffi -vpx -MOZ_CHROME= jar -MOZILLA_PLIST_DIRS= bin include lib share/idl -PLIST_DIRSTRY= share/idl -MOZ_PKGCONFIG_FILES= libxul-embedding libxul mozilla-gtkmozembed-embedding \ - mozilla-gtkmozembed mozilla-js mozilla-plugin - -OPTIONS_DEFINE= JAVA -JAVA_DESC?= JAVA xpcom - -.include "${.CURDIR}/../../www/firefox/Makefile.options" - -OPTIONS_DEFINE:=${OPTIONS_DEFINE:NLIBPROXY:NGIO} -OPTIONS_SINGLE:=${OPTIONS_SINGLE:NTOOLKIT} - -.include - -.if ${USE_MOZILLA:M-nss} -MOZ_PKGCONFIG_FILES+= mozilla-nss -.endif - -.if ${PORT_OPTIONS:MJAVA} -USE_JAVA= yes -JAVA_VERSION+= 1.5+ -JAVA_OS+= native -MOZ_EXPORT+= JAVA_HOME="${JAVA_HOME}" -MOZ_OPTIONS+= --enable-javaxpcom -.else -MOZ_OPTIONS+= --disable-javaxpcom -.endif - -post-patch: - ${REINPLACE_CMD} -e 's|/usr/local/include|${LOCALBASE}/include|' \ - ${WRKSRC}/js/src/config/mkdepend/Makefile.in - -pre-configure: - (cd ${WRKSRC} && ${AUTOCONF}) - (cd ${WRKSRC}/js/src/ && ${AUTOCONF}) - -post-build: - @${REINPLACE_CMD} -e "s|\(Libs:.*\)\($$\)|\1 -Wl,-rpath,${PREFIX}/lib/${MOZ_RPATH}\2| ; \ - s|%sdkdir%|%sdkdir%/sdk|g ; \ - s|%%MOZ_LIBDIR%%|${PREFIX}/lib/${MOZILLA}|g" \ - ${WRKSRC}/xulrunner/installer/*.pc.in || ${TRUE} - -.include Index: www/libxul19/distinfo =================================================================== --- www/libxul19/distinfo (revision 320981) +++ www/libxul19/distinfo (working copy) @@ -1,2 +0,0 @@ -SHA256 (firefox-3.6.28.source.tar.bz2) = a6c4bc52095194428cf3b17341b68ac473b7654984000c45d1be3eae55d78260 -SIZE (firefox-3.6.28.source.tar.bz2) = 51698958 Index: www/libxul19/files/patch-alsapulse =================================================================== --- www/libxul19/files/patch-alsapulse (revision 320981) +++ www/libxul19/files/patch-alsapulse (working copy) @@ -1,122 +0,0 @@ ---- config/autoconf.mk.in~ -+++ config/autoconf.mk.in -@@ -555,6 +555,14 @@ MOZ_LIBNOTIFY_CFLAGS = @MOZ_LIBNOTIFY_CF - MOZ_LIBNOTIFY_LIBS = @MOZ_LIBNOTIFY_LIBS@ - MOZ_ENABLE_LIBNOTIFY = @MOZ_ENABLE_LIBNOTIFY@ - -+MOZ_ALSA = @MOZ_ALSA@ -+MOZ_ALSA_LIBS = @MOZ_ALSA_LIBS@ -+MOZ_ALSA_CFLAGS = @MOZ_ALSA_CFLAGS@ -+ -+MOZ_PULSEAUDIO = @MOZ_PULSEAUDIO@ -+MOZ_PULSEAUDIO_LIBS = @MOZ_PULSEAUDIO_LIBS@ -+MOZ_PULSEAUDIO_CFLAGS = @MOZ_PULSEAUDIO_CFLAGS@ -+ - GLIB_CFLAGS = @GLIB_CFLAGS@ - GLIB_LIBS = @GLIB_LIBS@ - GLIB_GMODULE_LIBS = @GLIB_GMODULE_LIBS@ ---- configure.in~ -+++ configure.in -@@ -5660,15 +5660,49 @@ dnl ==================================== - - dnl If using sydneyaudio with Linux, ensure that the alsa library is available - if test "$COMPILE_ENVIRONMENT"; then --if test -n "$MOZ_SYDNEYAUDIO"; then -+MOZ_ARG_ENABLE_BOOL(alsa, -+[ --enable-alsa Enable Alsa support], -+MOZ_ALSA=1, -+MOZ_ALSA= MOZ_ALSA_FORCE=$enableval) -+ -+if test -n "$MOZ_SYDNEYAUDIO" -a "$MOZ_ALSA_FORCE" != "no"; then - case "$target_os" in - linux*) -- AC_CHECK_LIB(asound, snd_pcm_open,,AC_MSG_ERROR([Ogg support on Linux requires the alsa library])) -+ MOZ_ALSA=1 - ;; - esac - fi -+ -+if test -n "$MOZ_ALSA"; then -+ PKG_CHECK_MODULES(MOZ_ALSA, alsa, , -+ [echo "$MOZ_ALSA_PKG_ERRORS" -+ AC_MSG_ERROR([Need alsa for Ogg, Wave or WebM decoding on Linux. Disable with --disable-ogg --disable-wave --disable-webm. (On Ubuntu, you might try installing the package libasound2-dev.)])]) -+fi - fi - -+AC_SUBST(MOZ_ALSA_CFLAGS) -+AC_SUBST(MOZ_ALSA_LIBS) -+AC_SUBST(MOZ_ALSA) -+ -+dnl ======================================================== -+dnl = Enable PulseAudio -+dnl ======================================================== -+ -+MOZ_ARG_ENABLE_BOOL(pulseaudio, -+[ --enable-pulseaudio Enable PulseAudio support], -+MOZ_PULSEAUDIO=1, -+MOZ_PULSEAUDIO=) -+ -+if test -n "$MOZ_PULSEAUDIO"; then -+ PKG_CHECK_MODULES(MOZ_PULSEAUDIO, libpulse, , -+ [echo "$MOZ_PULSEAUDIO_PKG_ERRORS" -+ AC_MSG_ERROR([pulseaudio audio backend requires libpulse package])]) -+fi -+ -+AC_SUBST(MOZ_PULSEAUDIO_CFLAGS) -+AC_SUBST(MOZ_PULSEAUDIO_LIBS) -+AC_SUBST(MOZ_PULSEAUDIO) -+ - dnl ======================================================== - dnl Splashscreen - dnl ======================================================== ---- media/libsydneyaudio/src/Makefile.in~ -+++ media/libsydneyaudio/src/Makefile.in -@@ -45,12 +45,6 @@ MODULE = sydneyaudio - LIBRARY_NAME = sydneyaudio - FORCE_STATIC_LIB= 1 - --ifeq ($(OS_ARCH),Linux) --CSRCS = \ -- sydney_audio_alsa.c \ -- $(NULL) --endif -- - ifneq (,$(filter WINNT WINCE,$(OS_ARCH))) - CSRCS = \ - sydney_audio_waveapi.c \ -@@ -83,6 +83,18 @@ CSRCS = \ - $(NULL) - endif - -+ifdef MOZ_ALSA -+CSRCS = \ -+ sydney_audio_alsa.c \ -+ $(NULL) -+endif -+ -+ifdef MOZ_PULSEAUDIO -+CSRCS = \ -+ sydney_audio_pulseaudio.c \ -+ $(NULL) -+endif -+ - ifeq ($(OS_ARCH),WINNT) - OS_LIBS += winmm.lib - endif ---- toolkit/library/libxul-config.mk~ -+++ toolkit/library/libxul-config.mk -@@ -90,6 +90,14 @@ endif - LOCAL_INCLUDES += -I$(topsrcdir)/widget/src/os2 - endif - -+ifdef MOZ_ALSA -+EXTRA_DSO_LDOPTS += $(MOZ_ALSA_LIBS) -+endif -+ -+ifdef MOZ_PULSEAUDIO -+EXTRA_DSO_LDOPTS += $(MOZ_PULSEAUDIO_LIBS) -+endif -+ - # dependent libraries - ifdef MOZ_IPC - STATIC_LIBS += \ Index: www/libxul19/files/patch-bug351181 =================================================================== --- www/libxul19/files/patch-bug351181 (revision 320981) +++ www/libxul19/files/patch-bug351181 (working copy) @@ -1,31 +0,0 @@ ---- js/src/jsnum.cpp.orig 2010-01-05 22:35:17.000000000 -0500 -+++ js/src/jsnum.cpp 2010-01-11 05:10:19.000000000 -0500 -@@ -43,6 +43,9 @@ - /* - * JS number type and wrapper class. - */ -+#if defined(__FreeBSD__) -+#include -+#endif - #ifdef XP_OS2 - #define _PC_53 PC_53 - #define _MCW_EM MCW_EM -@@ -691,8 +694,18 @@ - - #else - -+#if defined(__FreeBSD__) && __FreeBSD_version >= 601000 -+#if __BSD_VISIBLE == 0 -+#error __BSD_VISIBLE is zero, so fedisableexcept is not defined -+#endif -+#include -+#define FIX_FPU() ((void)fedisableexcept(FE_ALL_EXCEPT)) -+#else -+ - #define FIX_FPU() ((void)0) - -+#endif /* defined(__FreeBSD__) && __FreeBSD_version >= 503000 */ -+ - #endif - - JSBool Index: www/libxul19/files/patch-bug573210 =================================================================== --- www/libxul19/files/patch-bug573210 (revision 320981) +++ www/libxul19/files/patch-bug573210 (working copy) @@ -1,223 +0,0 @@ -changeset: 46457:2c778979f15a -user: Eli Friedman -date: Wed Jun 30 23:11:43 2010 +0200 -summary: Bug 573210 - Consistently qualify accesses to dependent base classes in xpcom C++ code. r=dbaron - -diff -r 93fabb73299b -r 2c778979f15a xpcom/base/nsAutoRef.h ---- xpcom/base/nsAutoRef.h Wed Jun 30 23:11:41 2010 +0200 -+++ xpcom/base/nsAutoRef.h Wed Jun 30 23:11:43 2010 +0200 -@@ -301,7 +301,7 @@ - } - ThisClass& operator=(RawRef aRefToCopy) - { -- own(aRefToCopy); -+ this->own(aRefToCopy); - SafeAddRef(); - return *this; - } -@@ -323,7 +323,7 @@ - void SafeAddRef() - { - if (this->HaveResource()) -- AddRef(this->get()); -+ this->AddRef(this->get()); - } - }; - -@@ -690,7 +690,7 @@ - void SafeRelease() - { - if (this->HaveResource()) -- Release(this->get()); -+ this->Release(this->get()); - } - }; - -diff -r 93fabb73299b -r 2c778979f15a xpcom/glue/nsBaseHashtable.h ---- xpcom/glue/nsBaseHashtable.h Wed Jun 30 23:11:41 2010 +0200 -+++ xpcom/glue/nsBaseHashtable.h Wed Jun 30 23:11:43 2010 +0200 -@@ -123,7 +123,7 @@ - */ - PRBool Get(KeyType aKey, UserDataType* pData NS_OUTPARAM) const - { -- EntryType* ent = GetEntry(aKey); -+ EntryType* ent = this->GetEntry(aKey); - - if (!ent) - return PR_FALSE; -@@ -160,7 +160,7 @@ - */ - PRBool Put(KeyType aKey, UserDataType aData) - { -- EntryType* ent = PutEntry(aKey); -+ EntryType* ent = this->PutEntry(aKey); - - if (!ent) - return PR_FALSE; -@@ -174,7 +174,7 @@ - * remove the data for the associated key - * @param aKey the key to remove from the hashtable - */ -- void Remove(KeyType aKey) { RemoveEntry(aKey); } -+ void Remove(KeyType aKey) { this->RemoveEntry(aKey); } - - /** - * function type provided by the application for enumeration. -diff -r 93fabb73299b -r 2c778979f15a xpcom/glue/nsClassHashtable.h ---- xpcom/glue/nsClassHashtable.h Wed Jun 30 23:11:41 2010 +0200 -+++ xpcom/glue/nsClassHashtable.h Wed Jun 30 23:11:43 2010 +0200 -@@ -57,6 +57,7 @@ - public: - typedef typename KeyClass::KeyType KeyType; - typedef T* UserDataType; -+ typedef nsBaseHashtable< KeyClass, nsAutoPtr, T* > base_type; - - /** - * @copydoc nsBaseHashtable::Get -@@ -80,6 +81,7 @@ - public: - typedef typename KeyClass::KeyType KeyType; - typedef T* UserDataType; -+ typedef nsBaseHashtableMT< KeyClass, nsAutoPtr, T* > base_type; - - /** - * @copydoc nsBaseHashtable::Get -@@ -97,8 +99,7 @@ - PRBool - nsClassHashtable::Get(KeyType aKey, T** retVal) const - { -- typename nsBaseHashtable,T*>::EntryType* ent = -- GetEntry(aKey); -+ typename base_type::EntryType* ent = this->GetEntry(aKey); - - if (ent) - { -@@ -125,8 +126,7 @@ - { - PR_Lock(this->mLock); - -- typename nsBaseHashtableMT,T*>::EntryType* ent = -- GetEntry(aKey); -+ typename base_type::EntryType* ent = this->GetEntry(aKey); - - if (ent) - { -diff -r 93fabb73299b -r 2c778979f15a xpcom/glue/nsInterfaceHashtable.h ---- xpcom/glue/nsInterfaceHashtable.h Wed Jun 30 23:11:41 2010 +0200 -+++ xpcom/glue/nsInterfaceHashtable.h Wed Jun 30 23:11:43 2010 +0200 -@@ -57,6 +57,8 @@ - public: - typedef typename KeyClass::KeyType KeyType; - typedef Interface* UserDataType; -+ typedef nsBaseHashtable< KeyClass, nsCOMPtr , Interface* > -+ base_type; - - /** - * @copydoc nsBaseHashtable::Get -@@ -87,6 +89,8 @@ - public: - typedef typename KeyClass::KeyType KeyType; - typedef Interface* UserDataType; -+ typedef nsBaseHashtableMT< KeyClass, nsCOMPtr , Interface* > -+ base_type; - - /** - * @copydoc nsBaseHashtable::Get -@@ -110,8 +114,7 @@ - nsInterfaceHashtable::Get - (KeyType aKey, UserDataType* pInterface) const - { -- typename nsBaseHashtable, Interface*>::EntryType* ent = -- GetEntry(aKey); -+ typename base_type::EntryType* ent = this->GetEntry(aKey); - - if (ent) - { -@@ -138,8 +141,7 @@ - nsInterfaceHashtable::GetWeak - (KeyType aKey, PRBool* aFound) const - { -- typename nsBaseHashtable, Interface*>::EntryType* ent = -- GetEntry(aKey); -+ typename base_type::EntryType* ent = this->GetEntry(aKey); - - if (ent) - { -@@ -166,8 +168,7 @@ - { - PR_Lock(this->mLock); - -- typename nsBaseHashtableMT, Interface*>::EntryType* ent = -- GetEntry(aKey); -+ typename base_type::EntryType* ent = this->GetEntry(aKey); - - if (ent) - { -diff -r 93fabb73299b -r 2c778979f15a xpcom/glue/nsRefPtrHashtable.h ---- xpcom/glue/nsRefPtrHashtable.h Wed Jun 30 23:11:41 2010 +0200 -+++ xpcom/glue/nsRefPtrHashtable.h Wed Jun 30 23:11:43 2010 +0200 -@@ -58,6 +58,7 @@ - public: - typedef typename KeyClass::KeyType KeyType; - typedef RefPtr* UserDataType; -+ typedef nsBaseHashtable< KeyClass, nsRefPtr , RefPtr* > base_type; - - /** - * @copydoc nsBaseHashtable::Get -@@ -88,6 +89,7 @@ - public: - typedef typename KeyClass::KeyType KeyType; - typedef RefPtr* UserDataType; -+ typedef nsBaseHashtableMT< KeyClass, nsRefPtr , RefPtr* > base_type; - - /** - * @copydoc nsBaseHashtable::Get -@@ -111,8 +113,7 @@ - nsRefPtrHashtable::Get - (KeyType aKey, UserDataType* pRefPtr) const - { -- typename nsBaseHashtable, RefPtr*>::EntryType* ent = -- GetEntry(aKey); -+ typename base_type::EntryType* ent = this->GetEntry(aKey); - - if (ent) - { -@@ -139,8 +140,7 @@ - nsRefPtrHashtable::GetWeak - (KeyType aKey, PRBool* aFound) const - { -- typename nsBaseHashtable, RefPtr*>::EntryType* ent = -- GetEntry(aKey); -+ typename base_type::EntryType* ent = this->GetEntry(aKey); - - if (ent) - { -@@ -167,8 +167,7 @@ - { - PR_Lock(this->mLock); - -- typename nsBaseHashtableMT, RefPtr*>::EntryType* ent = -- GetEntry(aKey); -+ typename base_type::EntryType* ent = this->GetEntry(aKey); - - if (ent) - { -diff -r 93fabb73299b -r 2c778979f15a xpcom/glue/nsTPtrArray.h ---- xpcom/glue/nsTPtrArray.h Wed Jun 30 23:11:41 2010 +0200 -+++ xpcom/glue/nsTPtrArray.h Wed Jun 30 23:11:43 2010 +0200 -@@ -64,13 +64,13 @@ - - // Initialize this array and pre-allocate some number of elements. - explicit nsTPtrArray(size_type capacity) { -- SetCapacity(capacity); -+ this->SetCapacity(capacity); - } - - // The array's copy-constructor performs a 'deep' copy of the given array. - // @param other The array object to copy. - nsTPtrArray(const self_type& other) { -- AppendElements(other); -+ this->AppendElements(other); - } - - // Index: www/libxul19/files/patch-bug579689 =================================================================== --- www/libxul19/files/patch-bug579689 (revision 320981) +++ www/libxul19/files/patch-bug579689 (working copy) @@ -1,66 +0,0 @@ -changeset: 47875:d9d236a8d274 -user: Eli Friedman -date: Sun Jul 18 11:19:48 2010 +0200 -summary: Bug 579689 - Fix cases of return without expression in a function returning "int". r=khuey - -diff -r d9555a5522cf -r d9d236a8d274 build/autoconf/moznbytetype.m4 ---- build/autoconf/moznbytetype.m4 Sun Jul 18 11:17:14 2010 +0200 -+++ build/autoconf/moznbytetype.m4 Sun Jul 18 11:19:48 2010 +0200 -@@ -60,7 +60,7 @@ - AC_TRY_COMPILE([], - [ - int a[sizeof ($type) == $2 ? 1 : -1]; -- return; -+ return 0; - ], - [moz_cv_n_byte_type_$1=$type; break], []) - done -@@ -91,7 +91,7 @@ - AC_TRY_COMPILE([], - [ - int a[sizeof ($2) == $size ? 1 : -1]; -- return; -+ return 0; - ], - [moz_cv_size_of_$1=$size; break], []) - done -@@ -124,7 +124,7 @@ - ], - [ - int a[offsetof(struct aligner, a) == $align ? 1 : -1]; -- return; -+ return 0; - ], - [moz_cv_align_of_$1=$align; break], []) - done -diff -r d9555a5522cf -r d9d236a8d274 js/src/build/autoconf/moznbytetype.m4 ---- js/src/build/autoconf/moznbytetype.m4 Sun Jul 18 11:17:14 2010 +0200 -+++ js/src/build/autoconf/moznbytetype.m4 Sun Jul 18 11:19:48 2010 +0200 -@@ -60,7 +60,7 @@ - AC_TRY_COMPILE([], - [ - int a[sizeof ($type) == $2 ? 1 : -1]; -- return; -+ return 0; - ], - [moz_cv_n_byte_type_$1=$type; break], []) - done -@@ -91,7 +91,7 @@ - AC_TRY_COMPILE([], - [ - int a[sizeof ($2) == $size ? 1 : -1]; -- return; -+ return 0; - ], - [moz_cv_size_of_$1=$size; break], []) - done -@@ -124,7 +124,7 @@ - ], - [ - int a[offsetof(struct aligner, a) == $align ? 1 : -1]; -- return; -+ return 0; - ], - [moz_cv_align_of_$1=$align; break], []) - done - Index: www/libxul19/files/patch-bug623126 =================================================================== --- www/libxul19/files/patch-bug623126 (revision 320981) +++ www/libxul19/files/patch-bug623126 (working copy) @@ -1,49 +0,0 @@ -changeset: 63904:ca41c5663999 -user: Rafael ?vila de Esp?ndola -date: Thu Mar 24 19:26:55 2011 -0400 -summary: Bug 623126 - Add constructor for nsDebugImpl, nsTraceRefcntImpl, EmptyEnumeratorImpl, and nsSimpleUnicharStreamFactory to placate CLang; r=bsmedberg - -diff -r 92b43aa07b7d -r ca41c5663999 xpcom/base/nsDebugImpl.h ---- xpcom/base/nsDebugImpl.h Thu Mar 24 16:45:07 2011 -0400 -+++ xpcom/base/nsDebugImpl.h Thu Mar 24 19:26:55 2011 -0400 -@@ -40,6 +40,7 @@ - class nsDebugImpl : public nsIDebug2 - { - public: -+ nsDebugImpl() {} - NS_DECL_ISUPPORTS - NS_DECL_NSIDEBUG - NS_DECL_NSIDEBUG2 -diff -r 92b43aa07b7d -r ca41c5663999 xpcom/base/nsTraceRefcntImpl.h ---- xpcom/base/nsTraceRefcntImpl.h Thu Mar 24 16:45:07 2011 -0400 -+++ xpcom/base/nsTraceRefcntImpl.h Thu Mar 24 19:26:55 2011 -0400 -@@ -44,6 +44,7 @@ - class nsTraceRefcntImpl : public nsITraceRefcnt - { - public: -+ nsTraceRefcntImpl() {} - NS_DECL_ISUPPORTS - NS_DECL_NSITRACEREFCNT - -diff -r 92b43aa07b7d -r ca41c5663999 xpcom/glue/nsEnumeratorUtils.cpp ---- xpcom/glue/nsEnumeratorUtils.cpp Thu Mar 24 16:45:07 2011 -0400 -+++ xpcom/glue/nsEnumeratorUtils.cpp Thu Mar 24 19:26:55 2011 -0400 -@@ -52,6 +52,7 @@ - public nsIStringEnumerator - { - public: -+ EmptyEnumeratorImpl() {} - // nsISupports interface - NS_DECL_ISUPPORTS_INHERITED // not really inherited, but no mRefCnt - -diff -r 92b43aa07b7d -r ca41c5663999 xpcom/io/nsUnicharInputStream.h ---- xpcom/io/nsUnicharInputStream.h Thu Mar 24 16:45:07 2011 -0400 -+++ xpcom/io/nsUnicharInputStream.h Thu Mar 24 19:26:55 2011 -0400 -@@ -51,6 +51,7 @@ - private nsISimpleUnicharStreamFactory - { - public: -+ nsSimpleUnicharStreamFactory() {} - NS_DECL_ISUPPORTS_INHERITED - NS_DECL_NSIFACTORY - NS_DECL_NSISIMPLEUNICHARSTREAMFACTORY Index: www/libxul19/files/patch-bug653551 =================================================================== --- www/libxul19/files/patch-bug653551 (revision 320981) +++ www/libxul19/files/patch-bug653551 (working copy) @@ -1,24 +0,0 @@ -commit 47ea30f -Author: Landry Breuil -Date: Thu Feb 2 15:31:56 2012 +0900 - - Bug 653551 - Jaegermonkey Sparc back-end broken on sparc64. r=leon.sha ---- - js/src/configure.in | 2 ++ - 1 file changed, 2 insertions(+) - -diff --git js/src/configure.in js/src/configure.in -index 84390cf..d663c46 100644 ---- js/src/configure.in -+++ js/src/configure.in -@@ -2471,8 +2471,10 @@ arm*-*) - NANOJIT_ARCH=ARM - ;; - sparc*-*) -+ if test ! "$HAVE_64BIT_OS" ; then - ENABLE_JIT=1 - NANOJIT_ARCH=Sparc -+ fi - ;; - esac - Index: www/libxul19/files/patch-bug685258 =================================================================== --- www/libxul19/files/patch-bug685258 (revision 320981) +++ www/libxul19/files/patch-bug685258 (working copy) @@ -1,17 +0,0 @@ -# HG changeset patch -# User Oleg Romashin -# Parent a2291c212856ad27622416e83c8311b6a33b52f1 -Bug 685258 - Pulse audio backend does not check provided playback and crashes r=derf - -diff --git a/content/media/nsAudioStream.cpp b/content/media/nsAudioStream.cpp ---- content/media/nsAudioStream.cpp -+++ content/media/nsAudioStream.cpp -@@ -83,7 +83,7 @@ void nsAudioStream::Init(PRInt32 aNumCha - mChannels = aNumChannels; - mFormat = aFormat; - if (sa_stream_create_pcm(reinterpret_cast(&mAudioHandle), -- NULL, -+ "Mozilla", - SA_MODE_WRONLY, - SA_PCM_FORMAT_S16_NE, - aRate, Index: www/libxul19/files/patch-bug761077 =================================================================== --- www/libxul19/files/patch-bug761077 (revision 320981) +++ www/libxul19/files/patch-bug761077 (working copy) @@ -1,110 +0,0 @@ -diff --git xpcom/reflect/xptcall/public/genstubs.pl xpcom/reflect/xptcall/public/genstubs.pl -index b8a87a5..918c4cf 100644 ---- xpcom/reflect/xptcall/public/genstubs.pl -+++ xpcom/reflect/xptcall/public/genstubs.pl -@@ -44,7 +44,7 @@ print OUTFILE "* 0 is QueryInterface\n"; - print OUTFILE "* 1 is AddRef\n"; - print OUTFILE "* 2 is Release\n"; - print OUTFILE "*/\n"; --print OUTFILE "#if !defined(__ia64) || (!defined(__hpux) && !defined(__linux__))\n"; -+print OUTFILE "#if !defined(__ia64) || (!defined(__hpux) && !defined(__linux__) && !defined(__FreeBSD__))\n"; - for($i = 0; $i < $entry_count; $i++) { - print OUTFILE "NS_IMETHOD Stub",$i+3,"();\n"; - } -diff --git xpcom/reflect/xptcall/public/xptcstubsdecl.inc xpcom/reflect/xptcall/public/xptcstubsdecl.inc -index eb66761..807db26 100644 ---- xpcom/reflect/xptcall/public/xptcstubsdecl.inc -+++ xpcom/reflect/xptcall/public/xptcstubsdecl.inc -@@ -8,7 +8,7 @@ - * 1 is AddRef - * 2 is Release - */ --#if !defined(__ia64) || (!defined(__hpux) && !defined(__linux__)) -+#if !defined(__ia64) || (!defined(__hpux) && !defined(__linux__) && !defined(__FreeBSD__)) - NS_IMETHOD Stub3(); - NS_IMETHOD Stub4(); - NS_IMETHOD Stub5(); -diff --git xpcom/reflect/xptcall/src/md/unix/Makefile.in xpcom/reflect/xptcall/src/md/unix/Makefile.in -index ae6ed66..2783957 100644 ---- xpcom/reflect/xptcall/src/md/unix/Makefile.in -+++ xpcom/reflect/xptcall/src/md/unix/Makefile.in -@@ -85,7 +85,7 @@ - # New code for Linux, et. al., with gcc - # Migrate other platforms here after testing - # --ifneq (,$(filter Linux GNU_%,$(OS_ARCH))) -+ifneq (,$(filter Linux FreeBSD GNU_%,$(OS_ARCH))) - # Linux/x86-64 - ifeq (x86_64,$(OS_TEST)) - CPPSRCS := xptcinvoke_x86_64_unix.cpp xptcstubs_x86_64_linux.cpp -@@ -70,7 +70,7 @@ endif - endif - endif - # IA64 Linux --ifneq (,$(filter Linux,$(OS_ARCH))) -+ifneq (,$(filter Linux FreeBSD,$(OS_ARCH))) - ifneq (,$(findstring ia64,$(OS_TEST))) - CPPSRCS := xptcinvoke_ipf64.cpp xptcstubs_ipf64.cpp - ASFILES := xptcstubs_asm_ipf64.s xptcinvoke_asm_ipf64.s -@@ -109,12 +109,6 @@ ifeq ($(OS_ARCH)$(OS_TEST),OpenBSDx86_64 - CPPSRCS := xptcinvoke_amd64_openbsd.cpp xptcstubs_amd64_openbsd.cpp - endif - # --# FreeBSD/amd64 --# --ifeq ($(OS_ARCH)$(OS_TEST),FreeBSDx86_64) --CPPSRCS := xptcinvoke_amd64_linux.cpp xptcstubs_amd64_linux.cpp --endif --# - # BeOS/Intel (uses the same unixish_x86 code) - # - ifeq ($(OS_ARCH)$(OS_TEST),BeOSBePC) -@@ -341,7 +356,7 @@ - # - # Linux/PPC - # --ifeq ($(OS_ARCH)$(OS_TEST),Linuxpowerpc) -+ifneq (,$(filter Linuxpowerpc FreeBSDpowerpc,$(OS_ARCH)$(OS_TEST))) - CPPSRCS := xptcinvoke_ppc_linux.cpp xptcstubs_ppc_linux.cpp - ASFILES := xptcinvoke_asm_ppc_linux.s xptcstubs_asm_ppc_linux.s - AS := $(CC) -c -x assembler-with-cpp -@@ -350,7 +365,7 @@ - # - # Linux/PPC64 - # --ifeq ($(OS_ARCH)$(OS_TEST),Linuxpowerpc64) -+ifneq (,$(filter Linuxpowerpc64 FreeBSDpowerpc64,$(OS_ARCH)$(OS_TEST))) - CPPSRCS := xptcinvoke_ppc64_linux.cpp xptcstubs_ppc64_linux.cpp - ASFILES := xptcinvoke_asm_ppc64_linux.s xptcstubs_asm_ppc64_linux.s - AS := $(CC) -c -x assembler-with-cpp -@@ -350,7 +350,7 @@ endif - # - # OpenBSD/SPARC64 - # --ifeq ($(OS_ARCH)$(OS_TEST),OpenBSDsparc64) -+ifneq (,$(filter OpenBSDsparc64 FreeBSDsparc64,$(OS_ARCH)$(OS_TEST))) - CPPSRCS := xptcinvoke_sparc64_openbsd.cpp xptcstubs_sparc64_openbsd.cpp - ASFILES := xptcinvoke_asm_sparc64_openbsd.s xptcstubs_asm_sparc64_openbsd.s - endif -diff --git xpcom/reflect/xptcall/src/xptcprivate.h xpcom/reflect/xptcall/src/xptcprivate.h -index d903ced..e4ec832 100644 ---- xpcom/reflect/xptcall/src/xptcprivate.h -+++ xpcom/reflect/xptcall/src/xptcprivate.h -@@ -14,7 +14,7 @@ - - class xptiInterfaceEntry; - --#if !defined(__ia64) || (!defined(__hpux) && !defined(__linux__)) -+#if !defined(__ia64) || (!defined(__hpux) && !defined(__linux__) && !defined(__FreeBSD__)) - #define STUB_ENTRY(n) NS_IMETHOD Stub##n() = 0; - #else - #define STUB_ENTRY(n) NS_IMETHOD Stub##n(PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64) = 0; -@@ -31,7 +31,7 @@ public: - #undef STUB_ENTRY - #undef SENTINEL_ENTRY - --#if !defined(__ia64) || (!defined(__hpux) && !defined(__linux__)) -+#if !defined(__ia64) || (!defined(__hpux) && !defined(__linux__) && !defined(__FreeBSD__)) - #define STUB_ENTRY(n) NS_IMETHOD Stub##n(); - #else - #define STUB_ENTRY(n) NS_IMETHOD Stub##n(PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64); Index: www/libxul19/files/patch-bug778078 =================================================================== --- www/libxul19/files/patch-bug778078 (revision 320981) +++ www/libxul19/files/patch-bug778078 (working copy) @@ -1,11 +0,0 @@ ---- toolkit/xre/nsAppRunner.cpp~ -+++ toolkit/xre/nsAppRunner.cpp -@@ -3046,7 +3046,7 @@ XRE_main(int argc, char* argv[], const n - QApplication app(gArgc, gArgv); - #endif - #if defined(MOZ_WIDGET_GTK2) --#ifdef MOZ_MEMORY -+#if defined(MOZ_MEMORY) || defined(__FreeBSD__) || defined(__NetBSD__) - // Disable the slice allocator, since jemalloc already uses similar layout - // algorithms, and using a sub-allocator tends to increase fragmentation. - // This must be done before g_thread_init() is called. Index: www/libxul19/files/patch-bug781457 =================================================================== --- www/libxul19/files/patch-bug781457 (revision 320981) +++ www/libxul19/files/patch-bug781457 (working copy) @@ -1,10 +0,0 @@ ---- xpcom/base/nsStackWalk.cpp.orig 2012-05-29 00:57:31.000000000 +0200 -+++ xpcom/base/nsStackWalk.cpp 2012-06-03 12:33:40.000000000 +0200 -@@ -1123,6 +1123,7 @@ NS_StackWalk(NS_WalkStackCallback aCallb - - #elif defined(HAVE__UNWIND_BACKTRACE) - -+#define _GNU_SOURCE - // libgcc_s.so symbols _Unwind_Backtrace@@GCC_3.3 and _Unwind_GetIP@@GCC_3.0 - #include - Index: www/libxul19/files/patch-config_autoconf.mk.in =================================================================== --- www/libxul19/files/patch-config_autoconf.mk.in (revision 320981) +++ www/libxul19/files/patch-config_autoconf.mk.in (working copy) @@ -1,21 +0,0 @@ ---- config/autoconf.mk.in.orig 2007-08-28 12:02:43.000000000 -0400 -+++ config/autoconf.mk.in 2007-09-26 14:21:51.000000000 -0400 -@@ -58,14 +58,14 @@ - prefix = @prefix@ - exec_prefix = @exec_prefix@ - bindir = @bindir@ --includedir = @includedir@/$(MOZ_APP_NAME)-$(MOZ_APP_VERSION) -+includedir = @includedir@/%%MOZILLA%% - libdir = @libdir@ - datadir = @datadir@ - mandir = @mandir@ --idldir = $(datadir)/idl/$(MOZ_APP_NAME)-$(MOZ_APP_VERSION) -+idldir = $(datadir)/idl/%%MOZILLA%% - --installdir = $(libdir)/$(MOZ_APP_NAME)-$(MOZ_APP_VERSION) --sdkdir = $(libdir)/$(MOZ_APP_NAME)-devel-$(MOZ_APP_VERSION) -+installdir = $(libdir)/%%MOZILLA%% -+sdkdir = $(libdir)/%%MOZILLA%% - - DIST = $(DEPTH)/dist - LIBXUL_SDK = @LIBXUL_SDK@ Index: www/libxul19/files/patch-content-xslt-public-txDouble.h =================================================================== --- www/libxul19/files/patch-content-xslt-public-txDouble.h (revision 320981) +++ www/libxul19/files/patch-content-xslt-public-txDouble.h (working copy) @@ -1,11 +0,0 @@ ---- content/xslt/public/txDouble.h.orig 2009-08-16 21:46:27.000000000 +0200 -+++ content/xslt/public/txDouble.h 2009-08-16 21:49:53.000000000 +0200 -@@ -43,7 +43,7 @@ - //A trick to handle IEEE floating point exceptions on FreeBSD - E.D. - #ifdef __FreeBSD__ - #include --#ifdef __alpha__ -+#if !defined(__amd64__) && !defined(__i386__) - static fp_except_t allmask = FP_X_INV|FP_X_OFL|FP_X_UFL|FP_X_DZ|FP_X_IMP; - #else - static fp_except_t allmask = FP_X_INV|FP_X_OFL|FP_X_UFL|FP_X_DZ|FP_X_IMP|FP_X_DNML; Index: www/libxul19/files/patch-dom-src-threads-nsDOMWorker.h =================================================================== --- www/libxul19/files/patch-dom-src-threads-nsDOMWorker.h (revision 320981) +++ www/libxul19/files/patch-dom-src-threads-nsDOMWorker.h (working copy) @@ -1,11 +0,0 @@ ---- dom/src/threads/nsDOMWorker.h.orig 2012-03-06 15:45:25.000000000 +0100 -+++ dom/src/threads/nsDOMWorker.h 2012-10-28 01:42:16.000000000 +0200 -@@ -74,7 +74,7 @@ class nsDOMWorkerScope : public nsDOMWor - { - friend class nsDOMWorker; - -- typedef nsresult (NS_STDCALL nsDOMWorkerScope::*SetListenerFunc) -+ typedef nsresult (NS_DEFCALL nsDOMWorkerScope::*SetListenerFunc) - (nsIDOMEventListener*); - - public: Index: www/libxul19/files/patch-dom-src-threads-nsDOMWorkerXHRProxy.h =================================================================== --- www/libxul19/files/patch-dom-src-threads-nsDOMWorkerXHRProxy.h (revision 320981) +++ www/libxul19/files/patch-dom-src-threads-nsDOMWorkerXHRProxy.h (working copy) @@ -1,11 +0,0 @@ ---- dom/src/threads/nsDOMWorkerXHRProxy.h.orig 2012-10-28 01:49:37.000000000 +0200 -+++ dom/src/threads/nsDOMWorkerXHRProxy.h 2012-10-28 01:49:45.000000000 +0200 -@@ -74,7 +74,7 @@ class nsDOMWorkerXHRProxy : public nsIRu - friend class nsDOMWorkerXHR; - friend class nsDOMWorkerXHRUpload; - -- typedef nsresult (NS_STDCALL nsIDOMEventTarget::*EventListenerFunction) -+ typedef nsresult (NS_DEFCALL nsIDOMEventTarget::*EventListenerFunction) - (const nsAString&, nsIDOMEventListener*, PRBool); - - public: Index: www/libxul19/files/patch-embedding-browser-gtk-src-EmbedPrivate.cpp =================================================================== --- www/libxul19/files/patch-embedding-browser-gtk-src-EmbedPrivate.cpp (revision 320981) +++ www/libxul19/files/patch-embedding-browser-gtk-src-EmbedPrivate.cpp (working copy) @@ -1,10 +0,0 @@ ---- embedding/browser/gtk/src/EmbedPrivate.cpp.orig 2012-03-06 15:45:28.000000000 +0100 -+++ embedding/browser/gtk/src/EmbedPrivate.cpp 2012-10-28 12:09:45.000000000 +0100 -@@ -104,6 +104,7 @@ nsIDirectoryServiceProvider *EmbedPrivat - class GTKEmbedDirectoryProvider : public nsIDirectoryServiceProvider2 - { - public: -+ GTKEmbedDirectoryProvider() {} - NS_DECL_ISUPPORTS_INHERITED - NS_DECL_NSIDIRECTORYSERVICEPROVIDER - NS_DECL_NSIDIRECTORYSERVICEPROVIDER2 Index: www/libxul19/files/patch-embedding_base_nsEmbedAPI.cpp =================================================================== --- www/libxul19/files/patch-embedding_base_nsEmbedAPI.cpp (revision 320981) +++ www/libxul19/files/patch-embedding_base_nsEmbedAPI.cpp (working copy) @@ -1,16 +0,0 @@ ---- embedding/base/nsEmbedAPI.cpp.orig 2007-10-09 20:00:30.000000000 -0400 -+++ embedding/base/nsEmbedAPI.cpp 2007-10-09 20:01:45.000000000 -0400 -@@ -53,7 +53,12 @@ static PRBool sRegistryIniti - static PRUint32 sInitCounter = 0; - - #define HACK_AROUND_THREADING_ISSUES --//#define HACK_AROUND_NONREENTRANT_INITXPCOM -+#ifdef __FreeBSD__ -+#include -+#if __FreeBSD_version < 700042 -+#define HACK_AROUND_NONREENTRANT_INITXPCOM -+#endif -+#endif - - #ifdef HACK_AROUND_NONREENTRANT_INITXPCOM - // XXX hack class to clean up XPCOM when this module is unloaded Index: www/libxul19/files/patch-extensions-spellcheck-hunspell-src-mozHunspell.cpp =================================================================== --- www/libxul19/files/patch-extensions-spellcheck-hunspell-src-mozHunspell.cpp (revision 320981) +++ www/libxul19/files/patch-extensions-spellcheck-hunspell-src-mozHunspell.cpp (working copy) @@ -1,15 +0,0 @@ ---- extensions/spellcheck/hunspell/src/mozHunspell.cpp~ -+++ extensions/spellcheck/hunspell/src/mozHunspell.cpp -@@ -344,6 +344,12 @@ mozHunspell::LoadDictionaryList() - } - } - -+ // load system hunspell dictionaries -+ nsIFile* hunDir; -+ NS_NewNativeLocalFile(NS_LITERAL_CSTRING("%%LOCALBASE%%/share/hunspell"), -+ true, (nsILocalFile**)&hunDir); -+ LoadDictionariesFromDir(hunDir); -+ - nsCOMPtr dictDirs; - rv = dirSvc->Get(DICTIONARY_SEARCH_DIRECTORY_LIST, - NS_GET_IID(nsISimpleEnumerator), getter_AddRefs(dictDirs)); Index: www/libxul19/files/patch-gfx-ots-src-os2.cc =================================================================== --- www/libxul19/files/patch-gfx-ots-src-os2.cc (revision 320981) +++ www/libxul19/files/patch-gfx-ots-src-os2.cc (working copy) @@ -1,11 +0,0 @@ ---- gfx/ots/src/os2.cc.orig 2012-02-01 23:05:19.933087647 +0200 -+++ gfx/ots/src/os2.cc 2012-02-01 23:09:48.507582408 +0200 -@@ -2,6 +2,8 @@ - // Use of this source code is governed by a BSD-style license that can be - // found in the LICENSE file. - -+#include -+ - #include "os2.h" - - #include "head.h" Index: www/libxul19/files/patch-intl-unicharutil-util-nsUnicharUtils.h =================================================================== --- www/libxul19/files/patch-intl-unicharutil-util-nsUnicharUtils.h (revision 320981) +++ www/libxul19/files/patch-intl-unicharutil-util-nsUnicharUtils.h (working copy) @@ -1,11 +0,0 @@ ---- intl/unicharutil/util/nsUnicharUtils.h.orig 2012-10-28 10:53:41.000000000 +0100 -+++ intl/unicharutil/util/nsUnicharUtils.h 2012-10-28 10:54:01.000000000 +0100 -@@ -72,6 +72,8 @@ inline PRBool IsLowerCase(PRUnichar c) { - class nsCaseInsensitiveStringComparator : public nsStringComparator - { - public: -+ nsCaseInsensitiveStringComparator() {} -+ - virtual int operator() (const PRUnichar*, - const PRUnichar*, - PRUint32 aLength) const; Index: www/libxul19/files/patch-js-ctypes-libffi-configure =================================================================== --- www/libxul19/files/patch-js-ctypes-libffi-configure (revision 320981) +++ www/libxul19/files/patch-js-ctypes-libffi-configure (working copy) @@ -1,12 +0,0 @@ ---- js/ctypes/libffi/configure.orig 2010-07-22 23:54:58.000000000 +0200 -+++ js/ctypes/libffi/configure 2010-08-05 07:34:44.000000000 +0200 -@@ -21033,6 +21033,9 @@ - powerpc-*-aix* | rs6000-*-aix*) - TARGET=POWERPC_AIX; TARGETDIR=powerpc - ;; -+ powerpc64-*-freebsd*) -+ TARGET=POWERPC; TARGETDIR=powerpc -+ ;; - powerpc-*-freebsd*) - TARGET=POWERPC_FREEBSD; TARGETDIR=powerpc - ;; Index: www/libxul19/files/patch-js-src-jslock.cpp =================================================================== --- www/libxul19/files/patch-js-src-jslock.cpp (revision 320981) +++ www/libxul19/files/patch-js-src-jslock.cpp (working copy) @@ -1,18 +0,0 @@ ---- js/src/jslock.cpp.orig 2009-10-07 20:15:38.000000000 +0200 -+++ js/src/jslock.cpp 2009-10-07 21:36:14.000000000 +0200 -@@ -160,8 +160,13 @@ - unsigned int res; - - __asm__ __volatile__ ( -- "stbar\n" -- "cas [%1],%2,%3\n" -+ "membar #StoreLoad | #LoadLoad\n" -+# if defined (__sparc64__) -+ "casx [%1],%2,%3\n" -+# else -+ "cas [%1],%2,%3\n" /* 32-bit version */ -+# endif -+ "membar #StoreLoad | #LoadLoad\n" - "cmp %2,%3\n" - "be,a 1f\n" - "mov 1,%0\n" Index: www/libxul19/files/patch-media-liboggz-include-oggz-oggz_off_t_generated.h =================================================================== --- www/libxul19/files/patch-media-liboggz-include-oggz-oggz_off_t_generated.h (revision 320981) +++ www/libxul19/files/patch-media-liboggz-include-oggz-oggz_off_t_generated.h (working copy) @@ -1,11 +0,0 @@ ---- media/liboggz/include/oggz/oggz_off_t_generated.h.orig 2010-09-06 11:33:54.000000000 +0200 -+++ media/liboggz/include/oggz/oggz_off_t_generated.h 2010-09-06 11:34:16.000000000 +0200 -@@ -59,7 +59,7 @@ - - #include - --#if defined(__APPLE__) || defined(SOLARIS) || defined(OS2) || defined (_AIX) -+#if defined(__APPLE__) || defined(SOLARIS) || defined(OS2) || defined (_AIX) || defined (__FreeBSD__) - typedef off_t oggz_off_t; - #else - typedef loff_t oggz_off_t; Index: www/libxul19/files/patch-media-libsydneyaudio-src-Makefile.in =================================================================== --- www/libxul19/files/patch-media-libsydneyaudio-src-Makefile.in (revision 320981) +++ www/libxul19/files/patch-media-libsydneyaudio-src-Makefile.in (working copy) @@ -1,15 +0,0 @@ ---- media/libsydneyaudio/src/Makefile.in.orig 2009-08-17 14:21:06.000000000 +0200 -+++ media/libsydneyaudio/src/Makefile.in 2009-08-17 14:21:53.000000000 +0200 -@@ -45,6 +45,12 @@ - LIBRARY_NAME = sydneyaudio - FORCE_STATIC_LIB= 1 - -+ifeq ($(OS_ARCH),FreeBSD) -+CSRCS = \ -+ sydney_audio_oss.c \ -+ $(NULL) -+endif -+ - ifneq (,$(filter WINNT WINCE,$(OS_ARCH))) - CSRCS = \ - sydney_audio_waveapi.c \ Index: www/libxul19/files/patch-media-libsydneyaudio-src-sydney_audio_oss.c =================================================================== --- www/libxul19/files/patch-media-libsydneyaudio-src-sydney_audio_oss.c (revision 320981) +++ www/libxul19/files/patch-media-libsydneyaudio-src-sydney_audio_oss.c (working copy) @@ -1,13 +0,0 @@ ---- media/libsydneyaudio/src/sydney_audio_oss.c~ -+++ media/libsydneyaudio/src/sydney_audio_oss.c -@@ -446,6 +446,10 @@ static void audio_callback(void* data) - printf("!"); /* not enough audio data */ - #endif - bytes = bytes-bytes_to_copy; -+ struct timespec ts = {0, 1000000}; -+ pthread_mutex_unlock(&s->mutex); -+ nanosleep(&ts, NULL); -+ pthread_mutex_lock(&s->mutex); - break; - } - free(s->bl_head); Index: www/libxul19/files/patch-modules-libpr0n-encoders-png-nsPNGDecoder.cpp =================================================================== --- www/libxul19/files/patch-modules-libpr0n-encoders-png-nsPNGDecoder.cpp (revision 320981) +++ www/libxul19/files/patch-modules-libpr0n-encoders-png-nsPNGDecoder.cpp (working copy) @@ -1,74 +0,0 @@ ---- modules/libpr0n/decoders/png/nsPNGDecoder.cpp.orig 2009-05-02 18:39:49.000000000 +0200 -+++ modules/libpr0n/decoders/png/nsPNGDecoder.cpp 2012-05-09 13:14:57.000000000 +0200 -@@ -116,7 +116,7 @@ void nsPNGDecoder::CreateFrame(png_uint_ - nsresult rv = mImage->AppendFrame(x_offset, y_offset, width, height, format, - &mImageData, &imageDataLength); - if (NS_FAILED(rv)) -- longjmp(mPNG->jmpbuf, 5); // NS_ERROR_OUT_OF_MEMORY -+ longjmp(png_jmpbuf(mPNG), 5); // NS_ERROR_OUT_OF_MEMORY - - mFrameRect.x = x_offset; - mFrameRect.y = y_offset; -@@ -376,7 +376,7 @@ static NS_METHOD ReadDataOut(nsIInputStr - } - - // we need to do the setjmp here otherwise bad things will happen -- if (setjmp(decoder->mPNG->jmpbuf)) { -+ if (setjmp(png_jmpbuf(decoder->mPNG))) { - png_destroy_read_struct(&decoder->mPNG, &decoder->mInfo, NULL); - - decoder->mError = PR_TRUE; -@@ -443,7 +443,8 @@ PNGGetColorProfile(png_structp png_ptr, - // First try to see if iCCP chunk is present - if (png_get_valid(png_ptr, info_ptr, PNG_INFO_iCCP)) { - png_uint_32 profileLen; -- char *profileData, *profileName; -+ unsigned char *profileData; -+ char *profileName; - int compression; - - png_get_iCCP(png_ptr, info_ptr, &profileName, &compression, -@@ -551,7 +552,7 @@ info_callback(png_structp png_ptr, png_i - /* limit image dimensions (bug #251381) */ - #define MOZ_PNG_MAX_DIMENSION 1000000L - if (width > MOZ_PNG_MAX_DIMENSION || height > MOZ_PNG_MAX_DIMENSION) -- longjmp(decoder->mPNG->jmpbuf, 1); -+ longjmp(png_jmpbuf(decoder->mPNG), 1); - #undef MOZ_PNG_MAX_DIMENSION - - if (color_type == PNG_COLOR_TYPE_PALETTE) -@@ -667,7 +668,7 @@ info_callback(png_structp png_ptr, png_i - // the image hasn't been inited yet - decoder->mImage->Init(width, height, decoder->mObserver); - } else if (containerWidth != PRInt32(width) || containerHeight != PRInt32(height)) { -- longjmp(decoder->mPNG->jmpbuf, 5); // NS_ERROR_UNEXPECTED -+ longjmp(png_jmpbuf(decoder->mPNG), 5); // NS_ERROR_UNEXPECTED - } - - if (decoder->mObserver) -@@ -693,14 +694,14 @@ info_callback(png_structp png_ptr, png_i - decoder->mCMSLine = - (PRUint8 *)nsMemory::Alloc(bpp[channels] * width); - if (!decoder->mCMSLine) -- longjmp(decoder->mPNG->jmpbuf, 5); // NS_ERROR_OUT_OF_MEMORY -+ longjmp(png_jmpbuf(decoder->mPNG), 5); // NS_ERROR_OUT_OF_MEMORY - } - - if (interlace_type == PNG_INTERLACE_ADAM7) { - if (height < PR_INT32_MAX / (width * channels)) - decoder->interlacebuf = (PRUint8 *)nsMemory::Alloc(channels * width * height); - if (!decoder->interlacebuf) { -- longjmp(decoder->mPNG->jmpbuf, 5); // NS_ERROR_OUT_OF_MEMORY -+ longjmp(png_jmpbuf(decoder->mPNG), 5); // NS_ERROR_OUT_OF_MEMORY - } - } - -@@ -920,7 +921,7 @@ void - error_callback(png_structp png_ptr, png_const_charp error_msg) - { - PR_LOG(gPNGLog, PR_LOG_ERROR, ("libpng error: %s\n", error_msg)); -- longjmp(png_ptr->jmpbuf, 1); -+ longjmp(png_jmpbuf(png_ptr), 1); - } - - Index: www/libxul19/files/patch-modules-libpr0n-encoders-png-nsPNGEncoder.cpp =================================================================== --- www/libxul19/files/patch-modules-libpr0n-encoders-png-nsPNGEncoder.cpp (revision 320981) +++ www/libxul19/files/patch-modules-libpr0n-encoders-png-nsPNGEncoder.cpp (working copy) @@ -1,11 +0,0 @@ ---- modules/libpr0n/encoders/png/nsPNGEncoder.cpp 2010-03-28 13:48:53.000000000 +0200 -+++ modules/libpr0n/encoders/png/nsPNGEncoder.cpp.orig 2010-03-28 13:46:50.000000000 +0200 -@@ -135,7 +135,7 @@ NS_IMETHODIMP nsPNGEncoder::StartImageEn - - // initialize - mPNG = png_create_write_struct(PNG_LIBPNG_VER_STRING, -- png_voidp_NULL, -+ NULL, - ErrorCallback, - ErrorCallback); - if (! mPNG) Index: www/libxul19/files/patch-modules-libpref-src-prefapi.cpp =================================================================== --- www/libxul19/files/patch-modules-libpref-src-prefapi.cpp (revision 320981) +++ www/libxul19/files/patch-modules-libpref-src-prefapi.cpp (working copy) @@ -1,102 +0,0 @@ - -This bug is due to the fact, applications are restarted before extension -defaults are loaded. - -To reproduce, choose any preference and set the values like: -system default: - pref("prefkey",systemvalue); -extension default: - pref("prefkey", extensiondefault); -user pref: - user_pref("prefkey", systemvalue); - -Next, trigger application behaviour similar to upgrade by removing compreg.dat -from profile and start the application. - -Result: -User sees extensiondefault after upgrade, because the user_pref has been -eliminated ... which is definitly not what the user expects because he explicitly -had *systemvalue* set before the upgrade. - -Evaluation: -The bug happens because restart is performed *before* extension defaults have been -loaded and the prefapi.cpp always eliminate user preference if the user preference -is equal to the actual default (which happens to be extensiondefault normally - so -no reset, but is systemvalue during restart). - -Fix: -1. savePrefs should not try to be smart ... this patch removes the heuristic that guesses -whether a setting can be eliminated or not; it should be sufficient to only eliminate -prefs in hashPrefs. - -2. This patch prevents hashPrefs from eliminating the user pref in case we are in -*startup* ... unfortunately no such state info exists, which lets us guess that -we are in startup for the previously not dealt case: !set_default && -!pref_ValueChanged(pref->defaultPref, value, type) && !PREF_HAS_USER_VALUE(pref). - -If is the case we explicitly remember that this setting is a user-pref ... -even though it might be temporarily equal to the default pref. - ---- - modules/libpref/src/prefapi.cpp | 20 ++++++++++++++------ - 1 file changed, 14 insertions(+), 6 deletions(-) - -Index: modules/libpref/src/prefapi.cpp -=================================================================== ---- modules/libpref/src/prefapi.cpp -+++ modules/libpref/src/prefapi.cpp -@@ -324,23 +324,20 @@ - if (!pref) - return PL_DHASH_NEXT; - - nsCAutoString prefValue; - - // where we're getting our pref from - PrefValue* sourcePref; - -- if (PREF_HAS_USER_VALUE(pref) && -- pref_ValueChanged(pref->defaultPref, -- pref->userPref, -- (PrefType) PREF_TYPE(pref))) -- sourcePref = &pref->userPref; -- else if (PREF_IS_LOCKED(pref)) -+ if (PREF_IS_LOCKED(pref)) - sourcePref = &pref->defaultPref; -+ else if (PREF_HAS_USER_VALUE(pref)) -+ sourcePref = &pref->userPref; - else - // do not save default prefs that haven't changed - return PL_DHASH_NEXT; - - // strings are in quotes! - if (pref->flags & PREF_STRING) { - prefValue = '\"'; - str_escape(sourcePref->stringVal, prefValue); -@@ -742,16 +739,27 @@ - Otherwise, set the user value only if it has changed */ - if ( !pref_ValueChanged(pref->defaultPref, value, type) ) - { - if (PREF_HAS_USER_VALUE(pref)) - { - pref->flags &= ~PREF_USERSET; - if (!PREF_IS_LOCKED(pref)) - valueChanged = PR_TRUE; -+ } else { -+ // this is tricky: we have !set_default ... -+ // thus we are setting a user pref; however the user -+ // pref set is same as *current default*; this normally -+ // means to un-set ... however since we have -+ // !PREF_HAS_USER_VALUE(pref) this can only be during -+ // startup -+ pref_SetValue(&pref->userPref, value, type); -+ pref->flags |= PREF_USERSET; -+ if (!PREF_IS_LOCKED(pref)) -+ valueChanged = PR_TRUE; - } - } - else if ( !PREF_HAS_USER_VALUE(pref) || - pref_ValueChanged(pref->userPref, value, type) ) - { - pref_SetValue(&pref->userPref, value, type); - pref->flags |= PREF_USERSET; - if (!PREF_IS_LOCKED(pref)) Index: www/libxul19/files/patch-security_manager_ssl_src_nsNSSComponent.cpp =================================================================== --- www/libxul19/files/patch-security_manager_ssl_src_nsNSSComponent.cpp (revision 320981) +++ www/libxul19/files/patch-security_manager_ssl_src_nsNSSComponent.cpp (working copy) @@ -1,10 +0,0 @@ ---- security/manager/ssl/src/nsNSSComponent.cpp.orig Mon May 29 23:10:54 2006 -+++ security/manager/ssl/src/nsNSSComponent.cpp Mon May 29 23:12:22 2006 -@@ -110,6 +110,7 @@ - #include "nss.h" - #include "pk11func.h" - #include "ssl.h" -+#define NSS_ENABLE_ECC 1 - #include "sslproto.h" - #include "secmod.h" - #include "sechash.h" Index: www/libxul19/files/patch-toolkit_library_Makefile.in =================================================================== --- www/libxul19/files/patch-toolkit_library_Makefile.in (revision 320981) +++ www/libxul19/files/patch-toolkit_library_Makefile.in (working copy) @@ -1,11 +0,0 @@ ---- toolkit/library/Makefile.in.orig 2010-01-11 12:13:08.000000000 -0500 -+++ toolkit/library/Makefile.in 2010-01-11 12:15:05.000000000 -0500 -@@ -181,7 +181,7 @@ - export:: $(RDF_UTIL_SRC_CPPSRCS) $(INTL_UNICHARUTIL_UTIL_CPPSRCS) - $(INSTALL) $^ . - --EXTRA_DSO_LDOPTS += $(LIBS_DIR) $(EXTRA_DSO_LIBS) -+EXTRA_DSO_LDOPTS += -Wl,--warn-unresolved-symbols -Wl,--as-needed $(LIBS_DIR) $(EXTRA_DSO_LIBS) - - ifdef MOZ_ENABLE_LIBXUL - include $(srcdir)/libxul-rules.mk Index: www/libxul19/files/patch-xpcom_base_nsStackWalk.cpp =================================================================== --- www/libxul19/files/patch-xpcom_base_nsStackWalk.cpp (revision 320981) +++ www/libxul19/files/patch-xpcom_base_nsStackWalk.cpp (working copy) @@ -1,11 +0,0 @@ ---- xpcom/base/nsStackWalk.cpp.orig 2010-01-11 02:11:49.000000000 -0500 -+++ xpcom/base/nsStackWalk.cpp 2010-01-11 02:13:26.000000000 -0500 -@@ -1132,7 +1132,7 @@ - #define __USE_GNU - #endif - --#if defined(HAVE_LIBDL) || defined(XP_MACOSX) -+#if defined(HAVE_LIBDL) || defined(XP_MACOSX) || defined(__FreeBSD__) - #include - #endif - Index: www/libxul19/files/patch-xulrunner_installer_libxul-embedding.pc.in =================================================================== --- www/libxul19/files/patch-xulrunner_installer_libxul-embedding.pc.in (revision 320981) +++ www/libxul19/files/patch-xulrunner_installer_libxul-embedding.pc.in (working copy) @@ -1,9 +0,0 @@ ---- xulrunner/installer/libxul-embedding.pc.in~ -+++ xulrunner/installer/libxul-embedding.pc.in -@@ -6,5 +6,5 @@ idldir=%idldir% - Name: libxul-embedding - Description: Static library for version-independent embedding of the Mozilla runtime - Version: %MOZILLA_VERSION% --Libs: -L${sdkdir}/lib -lxpcomglue -ldl -+Libs: -L${sdkdir}/lib -L%%MOZ_LIBDIR%% -lxpcomglue - Cflags: -DXPCOM_GLUE -I${includedir} %WCHAR_CFLAGS% Index: www/libxul19/files/patch-xulrunner_installer_libxul.pc.in =================================================================== --- www/libxul19/files/patch-xulrunner_installer_libxul.pc.in (revision 320981) +++ www/libxul19/files/patch-xulrunner_installer_libxul.pc.in (working copy) @@ -1,9 +0,0 @@ ---- xulrunner/installer/libxul.pc.in.orig 2010-01-21 04:31:27.000000000 +0100 -+++ xulrunner/installer/libxul.pc.in 2010-06-21 19:39:57.000000000 +0200 -@@ -7,5 +7,5 @@ - Description: The Mozilla Runtime and Embedding Engine - Version: %MOZILLA_VERSION% - Requires: %NSPR_NAME% >= %NSPR_VERSION% --Libs: -L${sdkdir}/lib -lxpcomglue_s -lxul -lxpcom -+Libs: -L${sdkdir}/lib -L%%MOZ_LIBDIR%% -lxpcomglue_s -lxul -lxpcom - Cflags: -I${includedir} %WCHAR_CFLAGS% Index: www/libxul19/pkg-descr =================================================================== --- www/libxul19/pkg-descr (revision 320981) +++ www/libxul19/pkg-descr (working copy) @@ -1,7 +0,0 @@ -Mozilla runtime package that can be used to bootstrap XUL+XPCOM applications -that are as rich as Firefox and Thunderbird. It will provide mechanisms for -installing, upgrading, and uninstalling these applications. XULRunner will -also provide libxul, a solution which allows the embedding of Mozilla -technologies in other projects and products. - -WWW: http://developer.mozilla.org/en/docs/XULRunner Index: www/moonshine/Makefile =================================================================== --- www/moonshine/Makefile (revision 320981) +++ www/moonshine/Makefile (working copy) @@ -1,9 +1,5 @@ -# New ports collection makefile for: moonshine -# Date created: May 14 2009 -# Whom: Florent Thoumie -# +# Created by: Florent Thoumie # $FreeBSD$ -# PORTNAME= moonshine PORTVERSION= 0.7 @@ -15,11 +11,14 @@ MAINTAINER= mono@FreeBSD.org COMMENT= Windows Media playback through Moonlight and Firefox +DEPRECATED= Does not work with newer libxul +EXPIRATION_DATE= 2013-09-01 + BUILD_DEPENDS= bash:${PORTSDIR}/shells/bash GITCOMMIT= 35085a4 USE_GMAKE= yes -USE_GECKO= libxul19 +USE_GECKO= libxul USE_AUTOTOOLS= libtool libtoolize aclocal autoconf autoheader automake LIBTOOLIZE_ARGS= --force --copy --automake AUTOMAKE_ARGS= --gnu --add-missing --force --copy -Wno-portability Index: www/openvrml/Makefile =================================================================== --- www/openvrml/Makefile (revision 320981) +++ www/openvrml/Makefile (working copy) @@ -36,7 +36,7 @@ LDFLAGS+= -L${LOCALBASE}/lib -L${JAVA_HOME}/jre/lib/${ARCH}/client -pthread USE_GMAKE= yes USE_LDCONFIG= yes -USE_GECKO= libxul19 +USE_GECKO= libxul USE_WEBPLUGINS= native WEBPLUGINS_FILES=openvrml.so Index: www/xpi-conkeror/Makefile =================================================================== --- www/xpi-conkeror/Makefile (revision 320981) +++ www/xpi-conkeror/Makefile (working copy) @@ -18,7 +18,7 @@ COMMENT= A completely keyboard driven browser based on firefox WRKSRC= ${WRKDIR}/conkeror -USE_GECKO= libxul19 +USE_GECKO= libxul BUILD_ID=echo -n `whoami`@`hostname`_`date +%s` Index: www/xpi-gwt-dev-plugin/Makefile =================================================================== --- www/xpi-gwt-dev-plugin/Makefile (revision 320981) +++ www/xpi-gwt-dev-plugin/Makefile (working copy) @@ -15,8 +15,13 @@ MAINTAINER= ports@FreeBSD.org COMMENT= Google Web Toolkit Developer Plugin for Firefox -BUILD_DEPENDS= ${LOCALBASE}/lib/libxul/xpidl:${PORTSDIR}/www/libxul19 +BROKEN= Does not build +DEPRECATED= Requires an ancient version of Firefox to build +EXPIRATION_DATE= 2013-07-15 + +BUILD_DEPENDS= ${LOCALBASE}/lib/libxul/xpidl:${PORTSDIR}/www/libxul + ONLY_FOR_ARCHS= amd64 i386 USE_BZIP2= yes Index: x11-toolkits/swt/Makefile =================================================================== --- x11-toolkits/swt/Makefile (revision 320981) +++ x11-toolkits/swt/Makefile (working copy) @@ -43,7 +43,7 @@ NO_WRKSUBDIR= yes OPTIONS_DEFINE= CAIRO GNOMEVFS BROWSER -OPTIONS_DEFAULT= CAIRO GNOMEVFS BROWSER +OPTIONS_DEFAULT= CAIRO GNOMEVFS GNOMEVFS_DESC= Gnome VFS Support BROWSER_DESC= Gecko Browser Support @@ -62,7 +62,8 @@ .endif .if ${PORT_OPTIONS:MBROWSER} -USE_GECKO= libxul19 +USE_GECKO= libxul +BROKEN= Does not build with newer libxul PLIST_FILES+= lib/libswt-xulrunner-gtk-%%BUILD%%.so MAKE_MOZILLA= make_xulrunner .endif Index: x11-toolkits/swt-devel/Makefile =================================================================== --- x11-toolkits/swt-devel/Makefile (revision 320981) +++ x11-toolkits/swt-devel/Makefile (working copy) @@ -60,7 +60,8 @@ .endif .if ${PORT_OPTIONS:MMOZILLA} -USE_GECKO= libxul19 +USE_GECKO= libxul +BROKEN= Does now work with newer libxul PLIST_FILES+= lib/libswt-xulrunner-gtk-%%BUILD%%.so MAKE_MOZILLA= make_xulrunner .endif