Index: branches/2018Q2/www/firefox/Makefile =================================================================== --- branches/2018Q2/www/firefox/Makefile (revision 467551) +++ branches/2018Q2/www/firefox/Makefile (revision 467552) @@ -1,70 +1,70 @@ # Created by: Alan Eldridge # $FreeBSD$ PORTNAME= firefox DISTVERSION= 59.0.2 -PORTREVISION= 4 +PORTREVISION= 6 PORTEPOCH= 1 CATEGORIES= www ipv6 MASTER_SITES= https://hg.mozilla.org/releases/mozilla-release/archive/ DISTNAME= ${MASTER_SITES:M*hg*:S,/archive/,,:T}-239e434d6d2b8e1e2b697c3416d1e96d48fe98e5 DISTFILES= ${DISTNAME:C/.*-//}${EXTRACT_SUFX} DIST_SUBDIR= firefox MAINTAINER= gecko@FreeBSD.org COMMENT= Web browser based on the browser portion of Mozilla BUILD_DEPENDS= nspr>=4.18:devel/nspr \ nss>=3.35:security/nss \ icu>=59.1,1:devel/icu \ libevent>=2.1.8:devel/libevent \ harfbuzz>=1.7.4:print/harfbuzz \ graphite2>=1.3.10:graphics/graphite2 \ png>=1.6.34:graphics/png \ libvorbis>=1.3.5,3:audio/libvorbis \ libvpx>=1.5.0:multimedia/libvpx \ sqlite3>=3.21.0:databases/sqlite3 \ ${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR} \ v4l_compat>0:multimedia/v4l_compat \ autoconf-2.13:devel/autoconf213 \ yasm:devel/yasm \ zip:archivers/zip # soundtouch>=1.9.0:audio/soundtouch \ LIB_DEPENDS= libv4l2.so:multimedia/libv4l USE_GECKO= gecko CONFLICTS_INSTALL= firefox-esr MOZ_PKGCONFIG_FILES= # empty USE_MOZILLA= -cairo -soundtouch USE_GL= gl USES= tar:bz2 FIREFOX_ICON= ${MOZILLA}.png FIREFOX_ICON_SRC= ${PREFIX}/lib/${MOZILLA}/browser/chrome/icons/default/default48.png FIREFOX_DESKTOP= ${MOZSRC}/taskcluster/docker/${MOZILLA}-snap/${MOZILLA}.desktop MOZ_OPTIONS= --enable-application=browser \ --enable-official-branding OPTIONS_EXCLUDE= BUNDLED_CAIRO .include "${.CURDIR}/../../www/firefox/Makefile.options" post-patch: @${REINPLACE_CMD} -e 's/%u/%U/' -e '/X-MultipleArgs/d' \ -e '/^Icon/s/=.*/=${FIREFOX_ICON:R}/' \ ${FIREFOX_DESKTOP} @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \ ${WRKSRC}/browser/app/nsBrowserApp.cpp pre-configure: (cd ${WRKSRC} && ${LOCALBASE}/bin/autoconf-2.13) (cd ${WRKSRC}/js/src/ && ${LOCALBASE}/bin/autoconf-2.13) post-install: ${INSTALL_DATA} ${FIREFOX_DESKTOP} ${STAGEDIR}${PREFIX}/share/applications/ ${MKDIR} ${STAGEDIR}${PREFIX}/share/pixmaps ${LN} -sf ${FIREFOX_ICON_SRC} ${STAGEDIR}${PREFIX}/share/pixmaps/${FIREFOX_ICON} .include Index: branches/2018Q2/www/firefox/files/patch-bug1452041 =================================================================== --- branches/2018Q2/www/firefox/files/patch-bug1452041 (nonexistent) +++ branches/2018Q2/www/firefox/files/patch-bug1452041 (revision 467552) @@ -0,0 +1,28 @@ +commit 90944c5323c3 +Author: Martin Stransky +Date: Mon Apr 9 13:36:03 2018 +0200 + + Bug 1452041 - nsClipboard::HasDataMatchingFlavors(): return immediately when there's no clipboard content, r=jhorak a=jcristau + + MozReview-Commit-ID: CTz0tRr3p57 + + --HG-- + extra : rebase_source : 35453506a58e698d8f0b6e9681fb87da8511eb9c + extra : source : 4b841d1c7ec0513eb080fb033f54bde12ccb7ddc +--- + widget/gtk/nsClipboard.cpp | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git widget/gtk/nsClipboard.cpp widget/gtk/nsClipboard.cpp +index 36e8d6ad5cee..61d3ef53ca98 100644 +--- widget/gtk/nsClipboard.cpp ++++ widget/gtk/nsClipboard.cpp +@@ -390,6 +390,8 @@ nsClipboard::HasDataMatchingFlavors(const char** aFlavorList, uint32_t aLength, + + int targetNums; + GdkAtom* targets = mContext->GetTargets(aWhichClipboard, &targetNums); ++ if (!targets) ++ return NS_OK; + + // Walk through the provided types and try to match it to a + // provided type. Property changes on: branches/2018Q2/www/firefox/files/patch-bug1452041 ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: branches/2018Q2 =================================================================== --- branches/2018Q2 (revision 467551) +++ branches/2018Q2 (revision 467552) Property changes on: branches/2018Q2 ___________________________________________________________________ Modified: svn:mergeinfo ## -0,0 +0,1 ## Merged /head:r467551