Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Jun 2012 06:07:31 GMT
From:      svn-freebsd-gecko@chruetertee.ch
To:        freebsd-gecko@freebsd.org
Subject:   [SVN-Commit] r809 - in branches/experimental: mail/thunderbird mail/thunderbird/files www/firefox www/firefox-nightly www/firefox-nightly/files www/firefox/files www/seamonkey www/seamonkey/files
Message-ID:  <201206260607.q5Q67Vuq025606@trillian.chruetertee.ch>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Tue Jun 26 06:07:31 2012
New Revision: 809

Log:
unbreak build with base gcc on >= 9.x

PR:	ports/169389

Added:
   branches/experimental/mail/thunderbird/files/patch-mozilla-gfx-harfbuzz-src-hb-ot-layout.cc
   branches/experimental/www/firefox-nightly/files/patch-gfx-harfbuzz-src-hb-ot-layout.cc
   branches/experimental/www/firefox/files/patch-gfx-harfbuzz-src-hb-ot-layout.cc
   branches/experimental/www/seamonkey/files/patch-mozilla-gfx-harfbuzz-src-hb-ot-layout.cc
Modified:
   branches/experimental/mail/thunderbird/Makefile
   branches/experimental/www/firefox-nightly/Makefile
   branches/experimental/www/firefox/Makefile
   branches/experimental/www/seamonkey/Makefile

Modified: branches/experimental/mail/thunderbird/Makefile
==============================================================================
--- branches/experimental/mail/thunderbird/Makefile	Tue Jun 26 06:06:11 2012	(r808)
+++ branches/experimental/mail/thunderbird/Makefile	Tue Jun 26 06:07:31 2012	(r809)
@@ -63,10 +63,6 @@
 
 .include <bsd.port.pre.mk>
 
-.if empty(CXX:M*clang++*) && ${OSVERSION} > 900000
-CFLAGS+=	-O0
-.endif
-
 WRKSRC=		${WRKDIR}/comm-release
 MOZSRC:=	${WRKSRC}/mozilla
 

Added: branches/experimental/mail/thunderbird/files/patch-mozilla-gfx-harfbuzz-src-hb-ot-layout.cc
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ branches/experimental/mail/thunderbird/files/patch-mozilla-gfx-harfbuzz-src-hb-ot-layout.cc	Tue Jun 26 06:07:31 2012	(r809)
@@ -0,0 +1,11 @@
+--- mozilla/gfx/harfbuzz/src/hb-ot-layout.cc.orig	2012-06-24 22:14:46.463741874 -0400
++++ mozilla/gfx/harfbuzz/src/hb-ot-layout.cc	2012-06-24 22:15:06.784770042 -0400
+@@ -540,4 +540,8 @@
+   GPOS::position_finish (buffer);
+ }
+ 
++template int SortedArrayOf<Record<LangSys> >::search<unsigned int>(unsigned int const &) const;
++template int SortedArrayOf<Record<Script> >::search<unsigned int>(unsigned int const &) const;
++template int SortedArrayOf<IntType<unsigned short> >::search<unsigned int>(unsigned int const &) const;
++template int SortedArrayOf<RangeRecord>::search<unsigned int>(unsigned int const &) const;
+ 

Modified: branches/experimental/www/firefox-nightly/Makefile
==============================================================================
--- branches/experimental/www/firefox-nightly/Makefile	Tue Jun 26 06:06:11 2012	(r808)
+++ branches/experimental/www/firefox-nightly/Makefile	Tue Jun 26 06:07:31 2012	(r809)
@@ -65,10 +65,6 @@
 
 .include <bsd.port.pre.mk>
 
-.if empty(CXX:M*clang++*) && ${OSVERSION} > 900000
-CFLAGS+=	-O0
-.endif
-
 WRKSRC:=	${WRKSRC}-central-${HGREV:C/.*://}
 
 .if ${OSVERSION} > 1000011

Added: branches/experimental/www/firefox-nightly/files/patch-gfx-harfbuzz-src-hb-ot-layout.cc
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ branches/experimental/www/firefox-nightly/files/patch-gfx-harfbuzz-src-hb-ot-layout.cc	Tue Jun 26 06:07:31 2012	(r809)
@@ -0,0 +1,10 @@
+--- gfx/harfbuzz/src/hb-ot-layout.cc.orig	2012-06-24 22:14:46.463741874 -0400
++++ gfx/harfbuzz/src/hb-ot-layout.cc	2012-06-24 22:15:06.784770042 -0400
+@@ -540,4 +540,8 @@
+   GPOS::position_finish (buffer);
+ }
+ 
++template int SortedArrayOf<Record<LangSys> >::search<unsigned int>(unsigned int const &) const;
++template int SortedArrayOf<Record<Script> >::search<unsigned int>(unsigned int const &) const;
++template int SortedArrayOf<IntType<unsigned short> >::search<unsigned int>(unsigned int const &) const;
++template int SortedArrayOf<RangeRecord>::search<unsigned int>(unsigned int const &) const;

Modified: branches/experimental/www/firefox/Makefile
==============================================================================
--- branches/experimental/www/firefox/Makefile	Tue Jun 26 06:06:11 2012	(r808)
+++ branches/experimental/www/firefox/Makefile	Tue Jun 26 06:07:31 2012	(r809)
@@ -59,10 +59,6 @@
 
 .include <bsd.port.pre.mk>
 
-.if empty(CXX:M*clang++*) && ${OSVERSION} > 900000
-CFLAGS+=	-O0
-.endif
-
 WRKSRC:=	${WRKDIR}/mozilla-release
 
 .if ${ARCH} == powerpc64

Added: branches/experimental/www/firefox/files/patch-gfx-harfbuzz-src-hb-ot-layout.cc
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ branches/experimental/www/firefox/files/patch-gfx-harfbuzz-src-hb-ot-layout.cc	Tue Jun 26 06:07:31 2012	(r809)
@@ -0,0 +1,10 @@
+--- gfx/harfbuzz/src/hb-ot-layout.cc.orig	2012-06-24 22:14:46.463741874 -0400
++++ gfx/harfbuzz/src/hb-ot-layout.cc	2012-06-24 22:15:06.784770042 -0400
+@@ -540,4 +540,8 @@
+   GPOS::position_finish (buffer);
+ }
+ 
++template int SortedArrayOf<Record<LangSys> >::search<unsigned int>(unsigned int const &) const;
++template int SortedArrayOf<Record<Script> >::search<unsigned int>(unsigned int const &) const;
++template int SortedArrayOf<IntType<unsigned short> >::search<unsigned int>(unsigned int const &) const;
++template int SortedArrayOf<RangeRecord>::search<unsigned int>(unsigned int const &) const;

Modified: branches/experimental/www/seamonkey/Makefile
==============================================================================
--- branches/experimental/www/seamonkey/Makefile	Tue Jun 26 06:06:11 2012	(r808)
+++ branches/experimental/www/seamonkey/Makefile	Tue Jun 26 06:07:31 2012	(r809)
@@ -63,10 +63,6 @@
 
 .include <bsd.port.pre.mk>
 
-.if empty(CXX:M*clang++*) && ${OSVERSION} > 900000
-CFLAGS+=	-O0
-.endif
-
 MOZSRC:=	${WRKDIR}/comm-release/mozilla
 WRKSRC=		${WRKDIR}/comm-release
 

Added: branches/experimental/www/seamonkey/files/patch-mozilla-gfx-harfbuzz-src-hb-ot-layout.cc
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ branches/experimental/www/seamonkey/files/patch-mozilla-gfx-harfbuzz-src-hb-ot-layout.cc	Tue Jun 26 06:07:31 2012	(r809)
@@ -0,0 +1,11 @@
+--- mozilla/gfx/harfbuzz/src/hb-ot-layout.cc.orig	2012-06-24 22:14:46.463741874 -0400
++++ mozilla/gfx/harfbuzz/src/hb-ot-layout.cc	2012-06-24 22:15:06.784770042 -0400
+@@ -540,4 +540,8 @@
+   GPOS::position_finish (buffer);
+ }
+ 
++template int SortedArrayOf<Record<LangSys> >::search<unsigned int>(unsigned int const &) const;
++template int SortedArrayOf<Record<Script> >::search<unsigned int>(unsigned int const &) const;
++template int SortedArrayOf<IntType<unsigned short> >::search<unsigned int>(unsigned int const &) const;
++template int SortedArrayOf<RangeRecord>::search<unsigned int>(unsigned int const &) const;
+ 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201206260607.q5Q67Vuq025606>