Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Aug 2015 22:13:34 +0000 (UTC)
From:      Don Lewis <truckman@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r393558 - in head/editors/openoffice-4: . files
Message-ID:  <201508042213.t74MDYpf041301@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: truckman
Date: Tue Aug  4 22:13:33 2015
New Revision: 393558
URL: https://svnweb.freebsd.org/changeset/ports/393558

Log:
  Various build updates from openoffice-devel (primarily r382334 and
  r391960):
  
    * patch-i118574 no longer seems necessary for a clean build
  
    * Regnerate patch-i114430 with make makepatch
  
    * Build using boost from ports instead of the bundled boost
  
    * Build using silgraphite from ports instead of the bundled version
  
    * Add missing LIB_DEPENDS that are brought in by other dependencies,
      but are directly linked as requested by pkgconfig/*.pc
  
    * Build using sane and xrender headers from ports instead of bundled
      headers
  
    * Update LICENSE* to account for bundled software
  
    * Reformat pkg-message and mention that the scanner interface can be
      enabled by installing sane-backends
  
    * Pet portlint
  
  Update patch-bridges*, patch-freebsd.mk, patch-jpeg, patch-nss, patch-sal,
  patch-set_soenv.in, patch-unxfbsd.mk, and patch-webdav to the versions
  accepted upstream, regenerated with make makepatch.
  
  Regenerate patch-CVE-2015-1774 with make makepatch.
  
  Approved by:	mat (mentor, implicit)

Added:
  head/editors/openoffice-4/files/patch-bridges_source_cpp__uno_gcc3__freebsd__intel_cpp2uno.cxx   (contents, props changed)
  head/editors/openoffice-4/files/patch-bridges_source_cpp__uno_gcc3__freebsd__x86-64_cpp2uno.cxx   (contents, props changed)
Deleted:
  head/editors/openoffice-4/files/patch-i118574
Modified:
  head/editors/openoffice-4/Makefile
  head/editors/openoffice-4/distinfo
  head/editors/openoffice-4/files/patch-CVE-2015-1774
  head/editors/openoffice-4/files/patch-bridges_source_cpp__uno_gcc3__freebsd__intel_except.cxx
  head/editors/openoffice-4/files/patch-bridges_source_cpp__uno_gcc3__freebsd__intel_share.hxx
  head/editors/openoffice-4/files/patch-bridges_source_cpp__uno_gcc3__freebsd__intel_uno2cpp.cxx
  head/editors/openoffice-4/files/patch-bridges_source_cpp__uno_gcc3__freebsd__x86-64_except.cxx
  head/editors/openoffice-4/files/patch-bridges_source_cpp__uno_gcc3__freebsd__x86-64_share.hxx
  head/editors/openoffice-4/files/patch-bridges_source_cpp__uno_gcc3__freebsd__x86-64_uno2cpp.cxx
  head/editors/openoffice-4/files/patch-freebsd.mk
  head/editors/openoffice-4/files/patch-i114430
  head/editors/openoffice-4/files/patch-jpeg
  head/editors/openoffice-4/files/patch-nss
  head/editors/openoffice-4/files/patch-sal
  head/editors/openoffice-4/files/patch-set_soenv.in
  head/editors/openoffice-4/files/patch-unxfbsd.mk
  head/editors/openoffice-4/files/patch-webdav
  head/editors/openoffice-4/files/pkg-message.in

Modified: head/editors/openoffice-4/Makefile
==============================================================================
--- head/editors/openoffice-4/Makefile	Tue Aug  4 21:35:05 2015	(r393557)
+++ head/editors/openoffice-4/Makefile	Tue Aug  4 22:13:33 2015	(r393558)
@@ -3,7 +3,7 @@
 
 PORTNAME=	apache-openoffice
 PORTVERSION=	${AOOVERSION}
-PORTREVISION=	10
+PORTREVISION=	11
 CATEGORIES=	editors java
 MASTER_SITES=	APACHE/openoffice/${PORTVERSION}/source \
 		http://tools.openoffice.org/unowinreg_prebuild/680/:unoreg \
@@ -15,6 +15,7 @@ PKGNAMEPREFIX=		${LANG_PKGNAME}-
 PKGNAMESUFFIX=		-${LANG_SUFFIX}
 .endif
 DISTFILES=	${OOOSRC} unowinreg.dll:unoreg ${EXTSRC}:extsrc
+DIST_SUBDIR=	openoffice
 EXTRACT_ONLY=	${OOOSRC}
 
 MAINTAINER=	office@FreeBSD.org
@@ -22,7 +23,28 @@ MAINTAINER=	office@FreeBSD.org
 #Frequent Patch submitters should optionally sign Apache iCLA
 COMMENT=	Integrated wordprocessor/dbase/spreadsheet/drawing/chart/browser
 
-LICENSE=	APACHE20
+LICENSE=		APACHE20 ADOBE BSD3CLAUSE BSD4CLAUSE BSL ICU MIT MPL \
+			PSFL TWAIN W3C
+LICENSE_COMB=		multi
+LICENSE_NAME_ADOBE=	Adobe Systems Incorporated license
+LICENSE_NAME_ICU=	ICU License
+LICENSE_NAME_TWAIN=	TWAIN Working Group license
+LICENSE_NAME_W3C=	W3C license
+LICENSE_FILE_APACHE20=	${WRKSRC}/LICENSE_ALv2
+LICENSE_FILE_ADOBE=	${WRKSRC}/LICENSE_ADOBE
+LICENSE_FILE_BSD3CLAUSE=	${WRKSRC}/LICENSE_BSD3CLAUSE
+LICENSE_FILE_BSD4CLAUSE=	${WRKSRC}/LICENSE_BSD4CLAUSE
+LICENSE_FILE_BSL=	${WRKSRC}/LICENSE_BSL
+LICENSE_FILE_ICU=	${WRKSRC}/LICENSE_ICU
+LICENSE_FILE_MIT=	${WRKSRC}/LICENSE_MIT
+LICENSE_FILE_MPL=	${WRKSRC}/LICENSE_MPL
+LICENSE_FILE_PSFL=	${WRKSRC}/LICENSE_PSFL
+LICENSE_FILE_TWAIN=	${WRKSRC}/LICENSE_TWAIN
+LICENSE_FILE_W3C=	${WRKSRC}/LICENSE_W3C
+LICENSE_PERMS_ADOBE=	dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
+LICENSE_PERMS_ICU=	dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
+LICENSE_PERMS_TWAIN=	dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
+LICENSE_PERMS_W3C=	dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
 
 BUILD_DEPENDS=								\
 		p5-Archive-Zip>=0:${PORTSDIR}/archivers/p5-Archive-Zip	\
@@ -31,11 +53,13 @@ BUILD_DEPENDS=								\
 		${LOCALBASE}/bin/unzip:${PORTSDIR}/archivers/unzip	\
 		zip:${PORTSDIR}/archivers/zip				\
 		ant:${PORTSDIR}/devel/apache-ant			\
+		${LOCALBASE}/include/boost/shared_ptr.hpp:${PORTSDIR}/devel/boost-libs \
 		dmake:${PORTSDIR}/devel/dmake				\
 		epm:${PORTSDIR}/devel/epm				\
 		${LOCALBASE}/bin/gperf:${PORTSDIR}/devel/gperf		\
 		imake:${PORTSDIR}/devel/imake				\
 		gpatch:${PORTSDIR}/devel/patch				\
+		${LOCALBASE}/include/sane/sane.h:${PORTSDIR}/graphics/sane-backends \
 		${LOCALBASE}/bin/vigra-config:${PORTSDIR}/graphics/vigra \
 		${JAVALIBDIR}/commons-httpclient.jar:${PORTSDIR}/java/jakarta-commons-httpclient \
 		${JAVALIBDIR}/commons-lang.jar:${PORTSDIR}/java/jakarta-commons-lang \
@@ -46,10 +70,12 @@ BUILD_DEPENDS=								\
 		p5-libwww>=0:${PORTSDIR}/www/p5-libwww
 LIB_DEPENDS=								\
 		libapr-1.so:${PORTSDIR}/devel/apr1			\
+		libnspr4.so:${PORTSDIR}/devel/nspr			\
 		libcurl.so:${PORTSDIR}/ftp/curl				\
 		libcairo.so:${PORTSDIR}/graphics/cairo			\
 		libpng.so:${PORTSDIR}/graphics/png			\
 		libpoppler-glib.so:${PORTSDIR}/graphics/poppler-glib	\
+		libgraphite.so:${PORTSDIR}/graphics/silgraphite		\
 		libCoinMP.so:${PORTSDIR}/math/coinmp			\
 		libfreetype.so:${PORTSDIR}/print/freetype2		\
 		libnss3.so:${PORTSDIR}/security/nss			\
@@ -59,8 +85,8 @@ LIB_DEPENDS=								\
 		libtextcat.so:${PORTSDIR}/textproc/libtextcat		\
 		libmythes-1.2.so:${PORTSDIR}/textproc/mythes		\
 		librdf.so:${PORTSDIR}/textproc/redland			\
-		libserf-1.so:${PORTSDIR}/www/serf
-#		libgraphite.so:${PORTSDIR}/graphics/silgraphite
+		libserf-1.so:${PORTSDIR}/www/serf			\
+		libfontconfig.so:${PORTSDIR}/x11-fonts/fontconfig
 RUN_DEPENDS=								\
 		${LOCALBASE}/share/icons/hicolor/index.theme:${PORTSDIR}/misc/hicolor-icon-theme \
 		${JAVALIBDIR}/commons-httpclient.jar:${PORTSDIR}/java/jakarta-commons-httpclient \
@@ -73,7 +99,7 @@ AOOVERSION3=	1
 # From solenv/inc/minor.mk SOURCEREVISION LAST_MINOR BUILD
 AOOTAG=		AOO411m6\(Build:9775\)
 SVNREVISION=	1617669
-EXTSRC=		ApacheOpenOffice.ext_sources.${AOOVERSION1}.x.x.20140918.tar.gz
+EXTSRC=		ApacheOpenOffice.ext_sources.${AOOVERSION1}.x.x.20150707.tar.gz
 
 AOOVERSION=	${AOOVERSION1}.${AOOVERSION2}.${AOOVERSION3}
 AOOXXX=		${AOOVERSION1}${AOOVERSION2}${AOOVERSION3}
@@ -84,7 +110,6 @@ OOODIR=			openoffice${AOOVERSION1}
 AOOUDIR=		.openoffice.org\/${AOOVERSION1}
 INSTALLATION_BASEDIR?=	openoffice-${AOOSUFFIX}
 EXECBASE?=		openoffice-${AOOSUFFIX}
-DIST_SUBDIR=		openoffice
 
 NO_LATEST_LINK=	yes
 
@@ -100,7 +125,8 @@ USE_PERL5=	build
 USE_XORG=	x11 ice xaw xau xext xrender xrandr \
 		xi xt xcursor xdamage xcomposite xfixes
 USES=		autoreconf:autoconf bison compiler cpe desktop-file-utils \
-		gmake jpeg perl5 pkgconfig python tar:bzip2
+		gettext-runtime gmake iconv jpeg perl5 pkgconfig python \
+		tar:bzip2
 WITHOUT_CPU_CFLAGS=	true
 CPE_PRODUCT=	${PORTNAME:S|apache-||}
 CPE_VENDOR=	apache
@@ -141,7 +167,7 @@ CXX=			clang++35
 CPPFLAGS+=		-I${LOCALBASE}/include
 .else
 USE_GCC=		yes
-SUBST=			"s/-fexceptions/& -fno-enforce-eh-specs/;s/-DHAVE_STL_INCLUDE_PATH//"
+SUBST=			"s/-fexceptions/& -fno-enforce-eh-specs/;s/-DHAVE_STL_INCLUDE_PATH/-DBOOST_TR1_DISABLE_INCLUDE_NEXT -DBOOST_TR1_GCC_INCLUDE_PATH=c++/"
 .endif
 
 .if ${ARCH} == amd64
@@ -189,6 +215,7 @@ CONFIGURE_ARGS+=							\
 			--with-system-apr-util				\
 			--with-system-beanshell				\
 			--with-beanshell-jar=${JAVALIBDIR}/bsh.jar	\
+			--with-system-boost				\
 			--enable-category-b				\
 			--with-system-cairo --enable-cairo		\
 			--with-system-coinmp				\
@@ -201,6 +228,7 @@ CONFIGURE_ARGS+=							\
 			--without-fonts					\
 			--with-gnu-patch=${LOCALBASE}/bin/gpatch	\
 			--with-gperf=${LOCALBASE}/bin/gperf		\
+			--with-system-graphite				\
 			--enable-gtk					\
 			--with-system-hunspell				\
 			--with-external-dict-dir=${LOCALBASE}/share/hunspell \
@@ -225,6 +253,7 @@ CONFIGURE_ARGS+=							\
 			--with-system-poppler				\
 			--with-system-python				\
 			--with-system-redland				\
+			--with-system-sane				\
 			--with-system-serf				\
 			--with-system-stdlibs				\
 			--enable-symbols=small				\
@@ -233,10 +262,8 @@ CONFIGURE_ARGS+=							\
 			--enable-verbose				\
 			--with-system-vigra				\
 			--enable-wiki-publisher				\
+			--with-system-xrender				\
 			--with-system-zlib
-# system-graphite causes breakage when compiled with clang and linked
-# with libc++ because aoo is compiled with gcc and linked with libstdc++.
-#			--with-system-graphite
 
 #OOOEXTENSIONS+=		minimizer/presentation-minimizer.oxt
 #OOOEXTENSIONS+=		presenter/presenter-screen.oxt
@@ -269,6 +296,34 @@ post-extract:
 	${TAR} -C ${WRKSUBDIR} -xzf ${DISTDIR}/${DIST_SUBDIR}/${EXTSRC}
 	${CP} ${DISTDIR}/${DIST_SUBDIR}/unowinreg.dll ${WRKSRC}/external/unowinreg/
 	${RM} -rf ${WRKSRC}/l10n
+	${SED}  -e '\|^For main/vcl/unx/generic/fontmanager/parseAFM|,/^__/p' \
+		-e '\|^For PostScript(R) AFM|,/^__/p'			\
+		-e d  ${WRKSRC}/LICENSE > ${LICENSE_FILE_ADOBE}
+	${SED}  -e '\|^For main/unixODBC|,/^__/p'			\
+		-e '\|^For main/connectivity|,/^__/p'			\
+		-e '\|^For main/libtextcat/data|,/^__/p'		\
+		-e '\|^For integration of HSQLDB|,/^__/p'		\
+		-e '\|^For C preprocessor|,/^__/p'			\
+		-e d  ${WRKSRC}/LICENSE > ${LICENSE_FILE_BSD3CLAUSE}
+	${SED}  -e '\|^For ICC |,/^__/p'				\
+		-e d  ${WRKSRC}/LICENSE > ${LICENSE_FILE_BSD4CLAUSE}
+	${SED}  -e '\|^For integration of the C++ Boost |,/^__/p'	\
+		-e d  ${WRKSRC}/LICENSE > ${LICENSE_FILE_BSL}
+	${SED}  -e '\|^For main/i18npool/source/breakiterator|,/^__/p'	\
+		-e d  ${WRKSRC}/LICENSE > ${LICENSE_FILE_ICU}
+	${SED}  -e '\|^For Multi-Dimensional Data|,/^__/p'	\
+		-e '\|^For XSLT MathML Library|,/^__/p'			\
+		-e d  ${WRKSRC}/LICENSE > ${LICENSE_FILE_MIT}
+	${SED}  -e '\|^For XMLSec Library|,/^__/p'	\
+		-e d  ${WRKSRC}/LICENSE_category_b >> ${LICENSE_FILE_MIT}
+	${SED}  -e '\|^For Graphite|,$$d'	\
+		      ${WRKSRC}/LICENSE_category_b > ${LICENSE_FILE_MPL}
+	${SED}  -e '\|^For main/filter/source/config/tools/merge/pyAltFCFGMerge|,/^__/p'	\
+		-e d  ${WRKSRC}/LICENSE > ${LICENSE_FILE_PSFL}
+	${SED}  -e '\|^For main/twain|,/^__/p'	\
+		-e d  ${WRKSRC}/LICENSE > ${LICENSE_FILE_TWAIN}
+	${SED}  -e '\|^For main/MathMLDTD|,/^__/p'	\
+		-e d  ${WRKSRC}/LICENSE > ${LICENSE_FILE_W3C}
 
 post-patch:
 .if defined (USE_GCC)

Modified: head/editors/openoffice-4/distinfo
==============================================================================
--- head/editors/openoffice-4/distinfo	Tue Aug  4 21:35:05 2015	(r393557)
+++ head/editors/openoffice-4/distinfo	Tue Aug  4 22:13:33 2015	(r393558)
@@ -1,6 +1,6 @@
 SHA256 (openoffice/apache-openoffice-4.1.1-r1617669-src.tar.bz2) = bb89a6d2324ddfe4c475e5484fde0dea316078f6b8ff4d8a4ebc801d17f3ff9f
 SIZE (openoffice/apache-openoffice-4.1.1-r1617669-src.tar.bz2) = 219054455
-SHA256 (openoffice/ApacheOpenOffice.ext_sources.4.x.x.20140918.tar.gz) = c7085dbf597a31ef332585ab57041b7ec8baf29c5f6029a60be7b7c63cfcb166
-SIZE (openoffice/ApacheOpenOffice.ext_sources.4.x.x.20140918.tar.gz) = 97839277
+SHA256 (openoffice/ApacheOpenOffice.ext_sources.4.x.x.20150707.tar.gz) = 966a8333c83a18ddd84401389006d6e0b52b8175924b808b54b88211669985fa
+SIZE (openoffice/ApacheOpenOffice.ext_sources.4.x.x.20150707.tar.gz) = 28957004
 SHA256 (openoffice/unowinreg.dll) = f563e522922133db9340b0306711c2d8767cc3481dd9e7d9b0d059906d12653c
 SIZE (openoffice/unowinreg.dll) = 6144

Modified: head/editors/openoffice-4/files/patch-CVE-2015-1774
==============================================================================
--- head/editors/openoffice-4/files/patch-CVE-2015-1774	Tue Aug  4 21:35:05 2015	(r393557)
+++ head/editors/openoffice-4/files/patch-CVE-2015-1774	Tue Aug  4 22:13:33 2015	(r393558)
@@ -1,19 +1,5 @@
-Index: scp2/source/writer/module_writer.scp
-===================================================================
---- scp2/source/writer/module_writer.scp	(revision 1677189)
-+++ scp2/source/writer/module_writer.scp	(revision 1677190)
-@@ -40,7 +40,6 @@
-     Styles = (HIDDEN_ROOT);
-     Files = (gid_File_Bin_Cde_Sagenda,gid_File_Bin_Cde_Sfax,gid_File_Bin_Cde_Slabel,
-     gid_File_Bin_Cde_Sletter,gid_File_Bin_Cde_Smemo,gid_File_Bin_Cde_Svcard,
--    gid_File_Lib_Hwpreader,
-     gid_File_Lib_Swd,
-     gid_File_Lib_Swui,
-     gid_File_Lib_Msword,
-Index: scp2/source/writer/file_writer.scp
-===================================================================
---- scp2/source/writer/file_writer.scp	(revision 1677189)
-+++ scp2/source/writer/file_writer.scp	(revision 1677190)
+--- scp2/source/writer/file_writer.scp.orig	2014-02-25 08:22:30 UTC
++++ scp2/source/writer/file_writer.scp
 @@ -25,8 +25,6 @@
  
  STD_LIB_FILE( gid_File_Lib_Swd , swd)
@@ -23,11 +9,19 @@ Index: scp2/source/writer/file_writer.sc
  File gid_File_Exe_Swriter
      BIN_FILE_BODY;
      Dir = gid_Brand_Dir_Program;
-Index: postprocess/packcomponents/makefile.mk
-===================================================================
---- postprocess/packcomponents/makefile.mk	(revision 1677189)
-+++ postprocess/packcomponents/makefile.mk	(revision 1677190)
-@@ -121,7 +121,6 @@
+--- scp2/source/writer/module_writer.scp.orig	2014-02-25 08:22:30 UTC
++++ scp2/source/writer/module_writer.scp
+@@ -40,7 +40,6 @@ Module gid_Module_Prg_Wrt_Bin
+     Styles = (HIDDEN_ROOT);
+     Files = (gid_File_Bin_Cde_Sagenda,gid_File_Bin_Cde_Sfax,gid_File_Bin_Cde_Slabel,
+     gid_File_Bin_Cde_Sletter,gid_File_Bin_Cde_Smemo,gid_File_Bin_Cde_Svcard,
+-    gid_File_Lib_Hwpreader,
+     gid_File_Lib_Swd,
+     gid_File_Lib_Swui,
+     gid_File_Lib_Msword,
+--- postprocess/packcomponents/makefile.mk.orig	2014-06-18 11:45:22 UTC
++++ postprocess/packcomponents/makefile.mk
+@@ -121,7 +121,6 @@ my_components = \
      fps_office \
      frm \
      guesslang \
@@ -35,10 +29,8 @@ Index: postprocess/packcomponents/makefi
      i18npool \
      i18nsearch \
      lng \
-Index: postprocess/prj/build.lst
-===================================================================
---- postprocess/prj/build.lst	(revision 1677189)
-+++ postprocess/prj/build.lst	(revision 1677190)
+--- postprocess/prj/build.lst.orig	2014-02-25 08:23:13 UTC
++++ postprocess/prj/build.lst
 @@ -1,4 +1,4 @@
 -po      postprocess     ::      svgio accessibility automation basctl bean chart2 configmgr CRASHREP:crashrep COINMP:coinmp cui dbaccess desktop dtrans embeddedobj embedserv EPM:epm eventattacher extensions extras fileaccess filter forms fpicker helpcontent2 hwpfilter io JAVAINSTALLER2:javainstaller2 lingucomponent MATHMLDTD:MathMLDTD ODK:odk officecfg package padmin psprint_config remotebridges sc scaddins sccomp scp2 scripting sd setup_native slideshow starmath sw sysui testtools ucb UnoControls unoxml ure wizards xmerge xmlsecurity MORE_FONTS:more_fonts OOo:pyuno OOo:readlicense_oo SO:top unodevtools JFREEREPORT:jfreereport REPORTBUILDER:reportbuilder reportdesign sdext SWEXT:swext smoketestdoc uui writerfilter winaccessibility oox MYSQLC:mysqlc LIBXSLT:libxslt NULL
 +po      postprocess     ::      svgio accessibility automation basctl bean chart2 configmgr CRASHREP:crashrep COINMP:coinmp cui dbaccess desktop dtrans embeddedobj embedserv EPM:epm eventattacher extensions extras fileaccess filter forms fpicker helpcontent2 io JAVAINSTALLER2:javainstaller2 lingucomponent MATHMLDTD:MathMLDTD ODK:odk officecfg package padmin psprint_config remotebridges sc scaddins sccomp scp2 scripting sd setup_native slideshow starmath sw sysui testtools ucb UnoControls unoxml ure wizards xmerge xmlsecurity MORE_FONTS:more_fonts OOo:pyuno OOo:readlicense_oo SO:top unodevtools JFREEREPORT:jfreereport REPORTBUILDER:reportbuilder reportdesign sdext SWEXT:swext smoketestdoc uui writerfilter winaccessibility oox MYSQLC:mysqlc LIBXSLT:libxslt NULL

Added: head/editors/openoffice-4/files/patch-bridges_source_cpp__uno_gcc3__freebsd__intel_cpp2uno.cxx
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/editors/openoffice-4/files/patch-bridges_source_cpp__uno_gcc3__freebsd__intel_cpp2uno.cxx	Tue Aug  4 22:13:33 2015	(r393558)
@@ -0,0 +1,32 @@
+--- bridges/source/cpp_uno/gcc3_freebsd_intel/cpp2uno.cxx.orig	2014-02-25 08:29:00 UTC
++++ bridges/source/cpp_uno/gcc3_freebsd_intel/cpp2uno.cxx
+@@ -24,6 +24,11 @@
+ // MARKER(update_precomp.py): autogen include statement, do not remove
+ #include "precompiled_bridges.hxx"
+ 
++#include <typeinfo>
++#include <exception>
++#include <cstddef>
++#include <cxxabi.h>
++
+ #include <com/sun/star/uno/genfunc.hxx>
+ #include "com/sun/star/uno/RuntimeException.hpp"
+ #include <uno/data.h>
+@@ -159,7 +164,7 @@ void cpp2uno_call(
+ 	(*pThis->getUnoI()->pDispatcher)(
+         pThis->getUnoI(), pMemberTypeDescr, pUnoReturn, pUnoArgs, &pUnoExc );
+ 	
+-	// in case an exception occured...
++	// in case an exception occurred...
+ 	if (pUnoExc)
+ 	{
+ 		// destruct temporary in/inout params
+@@ -178,7 +183,7 @@ void cpp2uno_call(
+             &aUnoExc, pThis->getBridge()->getUno2Cpp() );
+             // has to destruct the any
+ 	}
+-	else // else no exception occured...
++	else // else no exception occurred...
+ 	{
+ 		// temporary params
+ 		for ( ; nTempIndizes--; )

Modified: head/editors/openoffice-4/files/patch-bridges_source_cpp__uno_gcc3__freebsd__intel_except.cxx
==============================================================================
--- head/editors/openoffice-4/files/patch-bridges_source_cpp__uno_gcc3__freebsd__intel_except.cxx	Tue Aug  4 21:35:05 2015	(r393557)
+++ head/editors/openoffice-4/files/patch-bridges_source_cpp__uno_gcc3__freebsd__intel_except.cxx	Tue Aug  4 22:13:33 2015	(r393558)
@@ -4,16 +4,39 @@
  // MARKER(update_precomp.py): autogen include statement, do not remove
  #include "precompiled_bridges.hxx"
  
-+#if ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 6)) || defined(__clang__)
++#include <cstddef>
 +#include <exception>
-+#endif
++#include <typeinfo>
 +
  #include <stdio.h>
 +#include <string.h>
  #include <dlfcn.h>
  #include <cxxabi.h>
  #include <hash_map>
-@@ -233,7 +238,7 @@ void raiseException( uno_Any * pUnoExc, 
+@@ -177,7 +182,12 @@ type_info * RTTI::getRTTI( typelib_Compo
+                 char const * rttiName = symName.getStr() +4;
+ #if OSL_DEBUG_LEVEL > 1
+                 fprintf( stderr,"generated rtti for %s\n", rttiName );
++#ifndef __GLIBCXX__ /* #i124421# */
++                const OString aCUnoName = OUStringToOString( unoName, RTL_TEXTENCODING_UTF8);
++                OSL_TRACE( "TypeInfo for \"%s\" not found and cannot be generated.\n", aCUnoName.getStr());
++#endif /* __GLIBCXX__ */
+ #endif
++#ifdef __GLIBCXX__ /* #i124421# */
+                 if (pTypeDescr->pBaseTypeDescription)
+                 {
+                     // ensure availability of base
+@@ -191,6 +201,9 @@ type_info * RTTI::getRTTI( typelib_Compo
+                     // this class has no base class
+                     rtti = new __class_type_info( strdup( rttiName ) );
+                 }
++#else /* __GLIBCXX__ */
++                rtti = NULL;
++#endif /* __GLIBCXX__ */
+ 
+                 pair< t_rtti_map::iterator, bool > insertion(
+                     m_generatedRttis.insert( t_rtti_map::value_type( unoName, rtti ) ) );
+@@ -233,7 +246,7 @@ void raiseException( uno_Any * pUnoExc, 
          OUStringToOString(
              *reinterpret_cast< OUString const * >( &pUnoExc->pType->pTypeName ),
              RTL_TEXTENCODING_ASCII_US ) );
@@ -22,7 +45,7 @@
  #endif
      void * pCppExc;
      type_info * rtti;
-@@ -307,7 +312,7 @@ void fillUnoException( __cxa_exception *
+@@ -307,7 +320,7 @@ void fillUnoException( __cxa_exception *
      OUString unoName( toUNOname( header->exceptionType->name() ) );
  #if OSL_DEBUG_LEVEL > 1
      OString cstr_unoName( OUStringToOString( unoName, RTL_TEXTENCODING_ASCII_US ) );

Modified: head/editors/openoffice-4/files/patch-bridges_source_cpp__uno_gcc3__freebsd__intel_share.hxx
==============================================================================
--- head/editors/openoffice-4/files/patch-bridges_source_cpp__uno_gcc3__freebsd__intel_share.hxx	Tue Aug  4 21:35:05 2015	(r393557)
+++ head/editors/openoffice-4/files/patch-bridges_source_cpp__uno_gcc3__freebsd__intel_share.hxx	Tue Aug  4 22:13:33 2015	(r393558)
@@ -1,18 +1,17 @@
---- bridges/source/cpp_uno/gcc3_freebsd_intel/share.hxx.orig	2014-09-19 17:51:12 UTC
+--- bridges/source/cpp_uno/gcc3_freebsd_intel/share.hxx.orig	2014-02-25 08:28:59 UTC
 +++ bridges/source/cpp_uno/gcc3_freebsd_intel/share.hxx
-@@ -26,6 +26,11 @@
- #include <typeinfo>
- #include <exception>
- #include <cstddef>
-+#ifndef __GLIBCXX__
-+#include <cxxabi.h>
-+
-+using namespace ::__cxxabiv1;
-+#endif /* ! __GLIBCXX__ */
+@@ -23,10 +23,6 @@
  
+ #include "uno/mapping.h"
+ 
+-#include <typeinfo>
+-#include <exception>
+-#include <cstddef>
+-
  namespace CPPU_CURRENT_NAMESPACE
  {
-@@ -34,6 +39,7 @@ void dummy_can_throw_anything( char cons
+ 
+@@ -34,6 +30,7 @@ void dummy_can_throw_anything( char cons
  
  // ----- following decl from libstdc++-v3/libsupc++/unwind-cxx.h and unwind.h
  
@@ -20,11 +19,12 @@
  struct _Unwind_Exception
  {
      unsigned exception_class __attribute__((__mode__(__DI__)));
-@@ -63,11 +69,13 @@ struct __cxa_exception
+@@ -62,18 +59,21 @@ struct __cxa_exception
+     
      _Unwind_Exception unwindHeader;
  };    
- 
 +#endif /* __GLIBCXX__ */
+ 
  extern "C" void *__cxa_allocate_exception(
      std::size_t thrown_size ) throw();
  extern "C" void __cxa_throw (
@@ -34,34 +34,21 @@
  struct __cxa_eh_globals
  {
      __cxa_exception *caughtExceptions;
-@@ -75,6 +83,7 @@ struct __cxa_eh_globals
+     unsigned int uncaughtExceptions;
  };
  extern "C" __cxa_eh_globals *__cxa_get_globals () throw();
- 
 +#endif /* __GLIBCXX__ */
+ 
  // -----
  
+@@ -81,6 +81,10 @@ extern "C" __cxa_eh_globals *__cxa_get_g
+ void raiseException(
+     uno_Any * pUnoExc, uno_Mapping * pUno2Cpp );
  //==================================================================================================
-@@ -84,3 +93,22 @@ void raiseException(
++#ifndef __GLIBCXX__
++using __cxxabiv1:: __cxa_exception;
++#endif /* __GLIBCXX__ */
++
  void fillUnoException(
      __cxa_exception * header, uno_Any *, uno_Mapping * pCpp2Uno );
  }
-+#ifndef __GLIBCXX__
-+
-+class __class_type_info : public std::type_info
-+{
-+public:
-+        explicit __class_type_info( const char* pRttiName)
-+        : std::type_info( pRttiName)
-+        {}
-+};
-+
-+class __si_class_type_info : public __class_type_info
-+{
-+        const __class_type_info* mpBaseType;
-+public:
-+        explicit __si_class_type_info( const char* pRttiName, __class_type_info* pBaseType)
-+        : __class_type_info( pRttiName), mpBaseType( pBaseType)
-+        {}
-+};
-+#endif /* ! __GLIBCXX__ */

Modified: head/editors/openoffice-4/files/patch-bridges_source_cpp__uno_gcc3__freebsd__intel_uno2cpp.cxx
==============================================================================
--- head/editors/openoffice-4/files/patch-bridges_source_cpp__uno_gcc3__freebsd__intel_uno2cpp.cxx	Tue Aug  4 21:35:05 2015	(r393557)
+++ head/editors/openoffice-4/files/patch-bridges_source_cpp__uno_gcc3__freebsd__intel_uno2cpp.cxx	Tue Aug  4 22:13:33 2015	(r393558)
@@ -1,14 +1,43 @@
---- bridges/source/cpp_uno/gcc3_freebsd_intel/uno2cpp.cxx.orig	2014-09-19 17:51:13 UTC
+--- bridges/source/cpp_uno/gcc3_freebsd_intel/uno2cpp.cxx.orig	2014-02-25 08:29:00 UTC
 +++ bridges/source/cpp_uno/gcc3_freebsd_intel/uno2cpp.cxx
-@@ -305,7 +305,11 @@ static void cpp_call(
+@@ -24,6 +24,10 @@
+ // MARKER(update_precomp.py): autogen include statement, do not remove
+ #include "precompiled_bridges.hxx"
+ 
++#include <typeinfo>
++#include <exception>
++#include <cstddef>
++#include <cxxabi.h>
+ #include <stdlib.h>
+ 
+ #include <com/sun/star/uno/genfunc.hxx>
+@@ -39,6 +43,11 @@
+ 
+ using namespace ::rtl;
+ using namespace ::com::sun::star::uno;
++#ifdef __GLIBCXX__
++using CPPU_CURRENT_NAMESPACE::__cxa_get_globals;
++#else
++using __cxxabiv1::__cxa_get_globals;
++#endif
+ 
+ namespace
+ {
+@@ -266,7 +275,7 @@ static void cpp_call(
+ 			pAdjustedThisPtr, aVtableSlot.index,
+ 			pCppReturn, pReturnTypeDescr->eTypeClass,
+ 			(sal_Int32 *)pCppStackStart, (pCppStack - pCppStackStart) / sizeof(sal_Int32) );
+-		// NO exception occured...
++		// NO exception occurred...
+ 		*ppUnoExc = 0;
+ 		
+ 		// reconvert temporary params
+@@ -305,7 +314,7 @@ static void cpp_call(
   	catch (...)
   	{
    		// fill uno exception
-+#ifndef __GLIBCXX__
+-		fillUnoException( CPPU_CURRENT_NAMESPACE::__cxa_get_globals()->caughtExceptions, *ppUnoExc, pThis->getBridge()->getCpp2Uno() );
 +		CPPU_CURRENT_NAMESPACE::fillUnoException( __cxa_get_globals()->caughtExceptions, *ppUnoExc, pThis->getBridge()->getCpp2Uno() );
-+#else /* __GLIBCXX__ */
- 		fillUnoException( CPPU_CURRENT_NAMESPACE::__cxa_get_globals()->caughtExceptions, *ppUnoExc, pThis->getBridge()->getCpp2Uno() );
-+#endif /* __GLIBCXX__ */
          
  		// temporary params
  		for ( ; nTempIndizes--; )

Added: head/editors/openoffice-4/files/patch-bridges_source_cpp__uno_gcc3__freebsd__x86-64_cpp2uno.cxx
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/editors/openoffice-4/files/patch-bridges_source_cpp__uno_gcc3__freebsd__x86-64_cpp2uno.cxx	Tue Aug  4 22:13:33 2015	(r393558)
@@ -0,0 +1,34 @@
+--- bridges/source/cpp_uno/gcc3_freebsd_x86-64/cpp2uno.cxx.orig	2014-02-25 08:28:59 UTC
++++ bridges/source/cpp_uno/gcc3_freebsd_x86-64/cpp2uno.cxx
+@@ -24,9 +24,10 @@
+ // MARKER(update_precomp.py): autogen include statement, do not remove
+ #include "precompiled_bridges.hxx"
+ 
+-#include <stdio.h>
+-#include <stdlib.h>
+-#include <hash_map>
++#include <typeinfo>
++#include <exception>
++#include <cstddef>
++#include <cxxabi.h>
+ 
+ #include <rtl/alloc.h>
+ #include <osl/mutex.hxx>
+@@ -194,7 +195,7 @@ static typelib_TypeClass cpp2uno_call(
+ 	// invoke uno dispatch call
+ 	(*pThis->getUnoI()->pDispatcher)( pThis->getUnoI(), pMemberTypeDescr, pUnoReturn, pUnoArgs, &pUnoExc );
+ 	
+-	// in case an exception occured...
++	// in case an exception occurred...
+ 	if ( pUnoExc )
+ 	{
+ 		// destruct temporary in/inout params
+@@ -213,7 +214,7 @@ static typelib_TypeClass cpp2uno_call(
+ 		// is here for dummy
+ 		return typelib_TypeClass_VOID;
+ 	}
+-	else // else no exception occured...
++	else // else no exception occurred...
+ 	{
+ 		// temporary params
+ 		for ( ; nTempIndizes--; )

Modified: head/editors/openoffice-4/files/patch-bridges_source_cpp__uno_gcc3__freebsd__x86-64_except.cxx
==============================================================================
--- head/editors/openoffice-4/files/patch-bridges_source_cpp__uno_gcc3__freebsd__x86-64_except.cxx	Tue Aug  4 21:35:05 2015	(r393557)
+++ head/editors/openoffice-4/files/patch-bridges_source_cpp__uno_gcc3__freebsd__x86-64_except.cxx	Tue Aug  4 22:13:33 2015	(r393558)
@@ -1,11 +1,57 @@
---- bridges/source/cpp_uno/gcc3_freebsd_x86-64/except.cxx.orig	2014-09-19 17:51:13 UTC
+--- bridges/source/cpp_uno/gcc3_freebsd_x86-64/except.cxx.orig	2014-02-25 08:29:00 UTC
 +++ bridges/source/cpp_uno/gcc3_freebsd_x86-64/except.cxx
-@@ -24,7 +24,7 @@
+@@ -24,9 +24,9 @@
  // MARKER(update_precomp.py): autogen include statement, do not remove
  #include "precompiled_bridges.hxx"
  
 -#if ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 6))
-+#if ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 6)) || defined(__clang__)
++#include <cstddef>
  #include <exception>
- #endif
+-#endif
++#include <typeinfo>
  
+ #include <stdio.h>
+ #include <string.h>
+@@ -182,7 +182,12 @@ type_info * RTTI::getRTTI( typelib_Compo
+                 char const * rttiName = symName.getStr() +4;
+ #if OSL_DEBUG_LEVEL > 1
+                 fprintf( stderr,"generated rtti for %s\n", rttiName );
++#ifndef __GLIBCXX__ /* #i124421# */
++                const OString aCUnoName = OUStringToOString( unoName, RTL_TEXTENCODING_UTF8);
++                OSL_TRACE( "TypeInfo for \"%s\" not found and cannot be generated.\n", aCUnoName.getStr());
++#endif /* __GLIBCXX__ */
+ #endif
++#ifdef __GLIBCXX__ /* #i124421# */
+                 if (pTypeDescr->pBaseTypeDescription)
+                 {
+                     // ensure availability of base
+@@ -196,7 +201,10 @@ type_info * RTTI::getRTTI( typelib_Compo
+                     // this class has no base class
+                     rtti = new __class_type_info( strdup( rttiName ) );
+                 }
+-                
++#else /* __GLIBCXX__ */
++                rtti = NULL;
++#endif /* __GLIBCXX__ */
++
+                 pair< t_rtti_map::iterator, bool > insertion(
+                     m_generatedRttis.insert( t_rtti_map::value_type( unoName, rtti ) ) );
+                 OSL_ENSURE( insertion.second, "### inserting new generated rtti failed?!" );
+@@ -238,7 +246,7 @@ void raiseException( uno_Any * pUnoExc, 
+         OUStringToOString(
+             *reinterpret_cast< OUString const * >( &pUnoExc->pType->pTypeName ),
+             RTL_TEXTENCODING_ASCII_US ) );
+-    fprintf( stderr, "> uno exception occured: %s\n", cstr.getStr() );
++    fprintf( stderr, "> uno exception occurred: %s\n", cstr.getStr() );
+ #endif
+     void * pCppExc;
+     type_info * rtti;
+@@ -312,7 +320,7 @@ void fillUnoException( __cxa_exception *
+     OUString unoName( toUNOname( header->exceptionType->name() ) );
+ #if OSL_DEBUG_LEVEL > 1
+     OString cstr_unoName( OUStringToOString( unoName, RTL_TEXTENCODING_ASCII_US ) );
+-    fprintf( stderr, "> c++ exception occured: %s\n", cstr_unoName.getStr() );
++    fprintf( stderr, "> c++ exception occurred: %s\n", cstr_unoName.getStr() );
+ #endif
+ 	typelib_typedescription_getByName( &pExcTypeDescr, unoName.pData );
+     if (0 == pExcTypeDescr)

Modified: head/editors/openoffice-4/files/patch-bridges_source_cpp__uno_gcc3__freebsd__x86-64_share.hxx
==============================================================================
--- head/editors/openoffice-4/files/patch-bridges_source_cpp__uno_gcc3__freebsd__x86-64_share.hxx	Tue Aug  4 21:35:05 2015	(r393557)
+++ head/editors/openoffice-4/files/patch-bridges_source_cpp__uno_gcc3__freebsd__x86-64_share.hxx	Tue Aug  4 22:13:33 2015	(r393558)
@@ -1,18 +1,17 @@
---- bridges/source/cpp_uno/gcc3_freebsd_x86-64/share.hxx.orig	2014-09-19 10:51:12.000000000 -0700
-+++ bridges/source/cpp_uno/gcc3_freebsd_x86-64/share.hxx	2015-03-13 09:58:02.000000000 -0700
-@@ -26,6 +26,11 @@
- #include <typeinfo>
- #include <exception>
- #include <cstddef>
-+#ifndef __GLIBCXX__
-+#include <cxxabi.h>
-+
-+using namespace ::__cxxabiv1;
-+#endif /* ! __GLIBCXX__ */
- 
+--- bridges/source/cpp_uno/gcc3_freebsd_x86-64/share.hxx.orig	2014-02-25 08:28:59 UTC
++++ bridges/source/cpp_uno/gcc3_freebsd_x86-64/share.hxx
+@@ -23,10 +23,6 @@
+ 
+ #include "uno/mapping.h"
+ 
+-#include <typeinfo>
+-#include <exception>
+-#include <cstddef>
+-
  namespace CPPU_CURRENT_NAMESPACE
  {
-@@ -34,6 +39,7 @@
+ 
+@@ -34,6 +30,7 @@ void dummy_can_throw_anything( char cons
  
  // ----- following decl from libstdc++-v3/libsupc++/unwind-cxx.h and unwind.h
  
@@ -20,11 +19,12 @@
  struct _Unwind_Exception
  {
      unsigned exception_class __attribute__((__mode__(__DI__)));
-@@ -63,11 +69,13 @@
+@@ -62,18 +59,21 @@ struct __cxa_exception
+     
      _Unwind_Exception unwindHeader;
  };    
- 
 +#endif /* __GLIBCXX__ */
+ 
  extern "C" void *__cxa_allocate_exception(
      std::size_t thrown_size ) throw();
  extern "C" void __cxa_throw (
@@ -34,34 +34,21 @@
  struct __cxa_eh_globals
  {
      __cxa_exception *caughtExceptions;
-@@ -75,6 +83,7 @@
+     unsigned int uncaughtExceptions;
  };
  extern "C" __cxa_eh_globals *__cxa_get_globals () throw();
- 
 +#endif /* __GLIBCXX__ */
+ 
  // -----
  
+@@ -81,6 +81,10 @@ extern "C" __cxa_eh_globals *__cxa_get_g
+ void raiseException(
+     uno_Any * pUnoExc, uno_Mapping * pUno2Cpp );
  //==================================================================================================
-@@ -84,3 +93,22 @@
++#ifndef __GLIBCXX__
++using __cxxabiv1:: __cxa_exception;
++#endif /* __GLIBCXX__ */
++
  void fillUnoException(
      __cxa_exception * header, uno_Any *, uno_Mapping * pCpp2Uno );
  }
-+#ifndef __GLIBCXX__
-+
-+class __class_type_info : public std::type_info
-+{
-+public:
-+        explicit __class_type_info( const char* pRttiName)
-+        : std::type_info( pRttiName)
-+        {}
-+};
-+
-+class __si_class_type_info : public __class_type_info
-+{
-+        const __class_type_info* mpBaseType;
-+public:
-+        explicit __si_class_type_info( const char* pRttiName, __class_type_info* pBaseType)
-+        : __class_type_info( pRttiName), mpBaseType( pBaseType)
-+        {}
-+};
-+#endif /* ! __GLIBCXX__ */

Modified: head/editors/openoffice-4/files/patch-bridges_source_cpp__uno_gcc3__freebsd__x86-64_uno2cpp.cxx
==============================================================================
--- head/editors/openoffice-4/files/patch-bridges_source_cpp__uno_gcc3__freebsd__x86-64_uno2cpp.cxx	Tue Aug  4 21:35:05 2015	(r393557)
+++ head/editors/openoffice-4/files/patch-bridges_source_cpp__uno_gcc3__freebsd__x86-64_uno2cpp.cxx	Tue Aug  4 22:13:33 2015	(r393558)
@@ -1,14 +1,45 @@
---- bridges/source/cpp_uno/gcc3_freebsd_x86-64/uno2cpp.cxx.orig	2014-09-19 10:51:13.000000000 -0700
-+++ bridges/source/cpp_uno/gcc3_freebsd_x86-64/uno2cpp.cxx	2015-03-13 09:48:24.000000000 -0700
-@@ -446,7 +446,11 @@
+--- bridges/source/cpp_uno/gcc3_freebsd_x86-64/uno2cpp.cxx.orig	2014-02-25 08:29:00 UTC
++++ bridges/source/cpp_uno/gcc3_freebsd_x86-64/uno2cpp.cxx
+@@ -24,9 +24,10 @@
+ // MARKER(update_precomp.py): autogen include statement, do not remove
+ #include "precompiled_bridges.hxx"
+ 
+-#include <exception>
+ #include <typeinfo>
+-#include <stdio.h>
++#include <exception>
++#include <cstddef>
++#include <cxxabi.h>
+ #include <stdlib.h>
+ #include <string.h>
+ 
+@@ -47,6 +48,11 @@
+ 
+ using namespace ::rtl;
+ using namespace ::com::sun::star::uno;
++#ifdef __GLIBCXX__
++using CPPU_CURRENT_NAMESPACE::__cxa_get_globals;
++#else
++using __cxxabiv1::__cxa_get_globals;
++#endif
+ 
+ //==================================================================================================
+ static void callVirtualMethod(void * pThis, sal_uInt32 nVtableIndex,
+@@ -407,7 +413,7 @@ static void cpp_call(
+                 Reference< XInterface >());
+         }
+ 
+-		// NO exception occured...
++		// NO exception occurred...
+ 		*ppUnoExc = 0;
+ 		
+ 		// reconvert temporary params
+@@ -446,7 +452,7 @@ static void cpp_call(
   	catch (...)
   	{
    		// fill uno exception
-+#ifndef __GLIBCXX__
+-		fillUnoException( CPPU_CURRENT_NAMESPACE::__cxa_get_globals()->caughtExceptions, *ppUnoExc, pThis->getBridge()->getCpp2Uno() );
 +		CPPU_CURRENT_NAMESPACE::fillUnoException( __cxa_get_globals()->caughtExceptions, *ppUnoExc, pThis->getBridge()->getCpp2Uno() );
-+#else /* __GLIBCXX__ */
- 		fillUnoException( CPPU_CURRENT_NAMESPACE::__cxa_get_globals()->caughtExceptions, *ppUnoExc, pThis->getBridge()->getCpp2Uno() );
-+#endif /* __GLIBCXX__ */
          
  		// temporary params
  		for ( ; nTempIndizes--; )

Modified: head/editors/openoffice-4/files/patch-freebsd.mk
==============================================================================
--- head/editors/openoffice-4/files/patch-freebsd.mk	Tue Aug  4 21:35:05 2015	(r393557)
+++ head/editors/openoffice-4/files/patch-freebsd.mk	Tue Aug  4 22:13:33 2015	(r393558)
@@ -1,4 +1,4 @@
---- solenv/gbuild/platform/freebsd.mk.orig	2014-09-19 18:16:41 UTC
+--- solenv/gbuild/platform/freebsd.mk.orig	2014-02-25 08:33:29 UTC
 +++ solenv/gbuild/platform/freebsd.mk
 @@ -96,6 +96,7 @@ gb_CXXFLAGS := \
  	-fvisibility-inlines-hidden \

Modified: head/editors/openoffice-4/files/patch-i114430
==============================================================================
--- head/editors/openoffice-4/files/patch-i114430	Tue Aug  4 21:35:05 2015	(r393557)
+++ head/editors/openoffice-4/files/patch-i114430	Tue Aug  4 22:13:33 2015	(r393558)
@@ -1,8 +1,6 @@
-Index: sal/inc/rtl/math.h
-===================================================================
---- sal/inc/rtl/math.h	(revision 1447988)
-+++ sal/inc/rtl/math.h	(working copy)
-@@ -396,6 +396,21 @@
+--- sal/inc/rtl/math.h.orig	2014-02-25 08:31:58 UTC
++++ sal/inc/rtl/math.h
+@@ -396,6 +396,21 @@ double SAL_CALL rtl_math_round(double fV
   */
  double SAL_CALL rtl_math_pow10Exp(double fValue, int nExp) SAL_THROW_EXTERN_C();
  
@@ -24,11 +22,9 @@ Index: sal/inc/rtl/math.h
  /** Rounds value to 15 significant decimal digits.
  
      @param fValue
-Index: sal/inc/rtl/math.hxx
-===================================================================
---- sal/inc/rtl/math.hxx	(revision 1447988)
-+++ sal/inc/rtl/math.hxx	(working copy)
-@@ -186,6 +186,13 @@
+--- sal/inc/rtl/math.hxx.orig	2014-02-25 08:31:58 UTC
++++ sal/inc/rtl/math.hxx
+@@ -186,6 +186,13 @@ inline double pow10Exp(double fValue, in
      return rtl_math_pow10Exp(fValue, nExp);
  }
  
@@ -42,11 +38,9 @@ Index: sal/inc/rtl/math.hxx
  /** A wrapper around rtl_math_approxValue.
   */
  inline double approxValue(double fValue)
-Index: sal/rtl/source/math.cxx
-===================================================================
---- sal/rtl/source/math.cxx	(revision 1447988)
-+++ sal/rtl/source/math.cxx	(working copy)
-@@ -1113,7 +1113,20 @@
+--- sal/rtl/source/math.cxx.orig	2014-02-25 08:31:57 UTC
++++ sal/rtl/source/math.cxx
+@@ -1113,6 +1113,19 @@ double SAL_CALL rtl_math_expm1( double f
      return (fe-1.0) * fValue / log(fe);
  }
  
@@ -62,16 +56,13 @@ Index: sal/rtl/source/math.cxx
 +    }
 +    return pow(fValue, fExp);
 +}
- 
 +
+ 
  double SAL_CALL rtl_math_log1p( double fValue ) SAL_THROW_EXTERN_C()
  {
-     // Use volatile because a compiler may be too smart "optimizing" the
-Index: sal/util/sal.map
-===================================================================
---- sal/util/sal.map	(revision 1447988)
-+++ sal/util/sal.map	(working copy)
-@@ -629,6 +629,8 @@
+--- sal/util/sal.map.orig	2014-02-25 08:31:48 UTC
++++ sal/util/sal.map
+@@ -629,6 +629,8 @@ UDK_3.12 { # AOO 3.5
      global:
          osl_loadAsciiModule;
          osl_loadAsciiModuleRelative;
@@ -80,11 +71,9 @@ Index: sal/util/sal.map
  } UDK_3.11;
  
  PRIVATE_1.0 {
-Index: sc/source/core/tool/interpr5.cxx
-===================================================================
---- sc/source/core/tool/interpr5.cxx	(revision 1447988)
-+++ sc/source/core/tool/interpr5.cxx	(working copy)
-@@ -1611,14 +1611,14 @@
+--- sc/source/core/tool/interpr5.cxx.orig	2014-02-25 08:27:49 UTC
++++ sc/source/core/tool/interpr5.cxx
+@@ -1611,14 +1611,14 @@ void ScInterpreter::ScPow()
              if (bFlag)
              {   for ( SCSIZE i = 0; i < nCount; i++ )
                      if (pMat->IsValue(i))
@@ -101,7 +90,7 @@ Index: sc/source/core/tool/interpr5.cxx
                      else
                          pResMat->PutString(ScGlobal::GetRscString(STR_NO_VALUE), i);
              }
-@@ -1628,7 +1628,7 @@
+@@ -1628,7 +1628,7 @@ void ScInterpreter::ScPow()
              PushIllegalArgument();
      }
      else

Modified: head/editors/openoffice-4/files/patch-jpeg
==============================================================================
--- head/editors/openoffice-4/files/patch-jpeg	Tue Aug  4 21:35:05 2015	(r393557)
+++ head/editors/openoffice-4/files/patch-jpeg	Tue Aug  4 22:13:33 2015	(r393558)
@@ -1,12 +1,15 @@
---- svtools/Library_svt.mk.orig	2014-02-25 00:28:36.000000000 -0800
-+++ svtools/Library_svt.mk	2014-08-04 21:40:00.000000000 -0700
-@@ -76,6 +76,9 @@
+--- svtools/Library_svt.mk.orig	2014-09-19 17:47:52 UTC
++++ svtools/Library_svt.mk
+@@ -76,6 +76,12 @@ $(eval $(call gb_Library_add_linked_libs
  $(eval $(call gb_Library_set_ldflags,svt,\
  	$$(filter-out -L/usr/lib/jvm%,$$(LDFLAGS)) \
  ))
++ifeq ($(OS),FREEBSD)
++# JDK jpeg library on FreeBSD lives under ${JAVA_HOME}/jre/lib/${ARCH}/
 +$(eval $(call gb_Library_set_ldflags,svt,\
-+	$$(shell echo $$(LDFLAGS) | sed 's/ -L[^ ]*\/jre\/lib\/[^ ]*//g') \
++	$$(filter-out -L$$(JAVA_HOME)/jre/lib/%,$$(LDFLAGS)) \
 +))
++endif
  ifeq ($(GUIBASE),os2)
  # YD FIXME above is not working... needs ldflags hack...
  $(eval $(call gb_Library_set_ldflags,svt,\

Modified: head/editors/openoffice-4/files/patch-nss
==============================================================================
--- head/editors/openoffice-4/files/patch-nss	Tue Aug  4 21:35:05 2015	(r393557)
+++ head/editors/openoffice-4/files/patch-nss	Tue Aug  4 22:13:33 2015	(r393558)
@@ -1,6 +1,6 @@
---- set_soenv.in~	2014-01-22 15:21:04.000000000 +0900
-+++ set_soenv.in	2014-02-03 12:12:03.000000000 +0900
-@@ -1864,6 +1864,8 @@
+--- set_soenv.in.orig	2014-06-06 06:58:10 UTC
++++ set_soenv.in
+@@ -1823,6 +1823,8 @@ ToFile( "PKGFORMAT",         "@PKGFORMAT
  ToFile( "SYSTEM_STDLIBS",    "@SYSTEM_STDLIBS@",   "e" );
  ToFile( "SYSTEM_ZLIB",       "@SYSTEM_ZLIB@",      "e" );
  ToFile( "SYSTEM_NSS",        "@SYSTEM_NSS@",       "e" );
@@ -9,35 +9,54 @@
  ToFile( "SYSTEM_OPENSSL",    "@SYSTEM_OPENSSL@",   "e" );
  ToFile( "OPENSSL_CFLAGS",    "@OPENSSL_CFLAGS@",   "e" );
  ToFile( "OPENSSL_LIBS",      "@OPENSSL_LIBS@",     "e" );
-
---- xmlsecurity/util/makefile.mk	2014-02-03 15:50:50.000000000 +0900
-+++ xmlsecurity/util/makefile.mk	2014-02-03 16:03:11.000000000 +0900
-@@ -98,12 +98,12 @@
+--- xmlsecurity/source/xmlsec/nss/makefile.mk.orig	2014-02-25 08:23:37 UTC
++++ xmlsecurity/source/xmlsec/nss/makefile.mk
+@@ -44,12 +44,8 @@ CFLAGS+=-DSYSTEM_LIBXML $(LIBXML_CFLAGS)
+ 
+ .IF "$(SYSTEM_NSS)" != "YES"
+ MOZ_INC = $(SOLARVERSION)$/$(INPATH)$/inc$(UPDMINOREXT)$/mozilla
+-NSS_INC = $(MOZ_INC)$/nss
+-NSPR_INC = $(MOZ_INC)$/nspr
+-.ELSE
+-# TODO: better use pkgconfig to find the proper system include path
+-NSS_INC = /usr/include/nss3
+-NSPR_INC = /usr/include/nspr4
++NSS_CFLAGS = -I$(MOZ_INC)$/nss
++NSPR_CFLAGS = -I$(MOZ_INC)$/nspr
+ .ENDIF
+ 
+ .IF "$(GUI)" == "WNT"
+@@ -105,10 +101,10 @@ CDEFS += -DXMLSEC_NO_XSLT
+ # --- Files --------------------------------------------------------
+ 
+ SOLARINC += \
+- -I$(NSPR_INC) \
++ $(NSPR_CFLAGS) \
+  -I$(PRJ)$/source$/xmlsec
+ 
+-SOLARINC += -I$(NSS_INC)
++SOLARINC += $(NSS_CFLAGS)
+ 
+ SLOFILES = \
+ 	$(SLO)$/nssinitializer.obj \
+--- xmlsecurity/util/makefile.mk.orig	2014-02-25 08:23:37 UTC
++++ xmlsecurity/util/makefile.mk
+@@ -98,13 +98,17 @@ SHL2STDLIBS +=			\
  SHL2STDLIBS +=-ldl
  .ENDIF
  
 -.IF "$(ENABLE_NSS_MODULE)"=="YES" && "$(SYSTEM_NSS)"!="YES"
-+.IF "$(ENABLE_NSS_MODULE)"=="YES" && "$(SYSTEM_NSS)"=="YES"
++.IF "$(ENABLE_NSS_MODULE)"=="YES"
++.IF "$(SYSTEM_NSS)"!="YES"
  .IF "$(NSPR_LIB)" != ""
  SHL2STDLIBS += $(NSPR_LIB)
  .ENDIF
--.IF "$(NSS_LIB)" != ""
--SHL2STDLIBS += $(NSS_LIB)
-+.IF "$(NSS_LIBS)" != ""
-+SHL2STDLIBS += $(NSS_LIBS)
- .ENDIF
+ .IF "$(NSS_LIB)" != ""
+ SHL2STDLIBS += $(NSS_LIB)
  .ENDIF
- 
---- xmlsecurity/source/xmlsec/nss/makefile.mk	2014-01-22 15:07:16.000000000 +0900
-+++ xmlsecurity/source/xmlsec/nss/makefile.mk	2014-02-03 16:13:30.000000000 +0900
-@@ -48,8 +48,8 @@
- NSPR_INC = $(MOZ_INC)$/nspr
- .ELSE
- # TODO: better use pkgconfig to find the proper system include path
--NSS_INC = /usr/include/nss3
--NSPR_INC = /usr/include/nspr4
-+NSS_INC = $(NSS_CFLAGS)
-+NSPR_INC = $(NSS_CFLAGS)
++.ELSE
++SHL2STDLIBS += $(NSS_LIBS)
++.ENDIF
  .ENDIF
  
- .IF "$(GUI)" == "WNT"
+ .IF "$(CRYPTO_ENGINE)" == "mscrypto"

Modified: head/editors/openoffice-4/files/patch-sal
==============================================================================
--- head/editors/openoffice-4/files/patch-sal	Tue Aug  4 21:35:05 2015	(r393557)
+++ head/editors/openoffice-4/files/patch-sal	Tue Aug  4 22:13:33 2015	(r393558)
@@ -1,6 +1,6 @@
---- sal/inc/rtl/string.hxx	2014-01-24 03:32:49.000000000 +0900
-+++ sal/inc/rtl/string.hxx	2014-02-04 14:57:30.000000000 +0900
-@@ -234,8 +234,9 @@
+--- sal/inc/rtl/string.hxx.orig	2014-06-19 07:47:24 UTC
++++ sal/inc/rtl/string.hxx
+@@ -234,8 +234,9 @@ private:
        @return a pointer to a (not necessarily null-terminated) byte string
        representing the characters of this string object.
      */

Modified: head/editors/openoffice-4/files/patch-set_soenv.in
==============================================================================
--- head/editors/openoffice-4/files/patch-set_soenv.in	Tue Aug  4 21:35:05 2015	(r393557)
+++ head/editors/openoffice-4/files/patch-set_soenv.in	Tue Aug  4 22:13:33 2015	(r393558)
@@ -1,6 +1,6 @@
---- set_soenv.in.orig	2015-01-17 23:35:07.000000000 -0800
-+++ set_soenv.in	2015-02-23 16:02:44.000000000 -0800
-@@ -359,7 +359,7 @@
+--- set_soenv.in.orig	2014-06-06 06:58:10 UTC
++++ set_soenv.in
+@@ -359,7 +359,7 @@ elsif ( $platform =~ m/kfreebsd/ ) 
  elsif ( $platform =~ m/freebsd/ ) 
  {     $BIG_SVX        = "TRUE";
        $COM            = "GCC";
@@ -9,7 +9,7 @@
        $CVER           = "C300";
        $GUI            = "UNX";
        $GUIBASE        = "unx";
-@@ -2617,26 +2617,37 @@
+@@ -2575,26 +2575,37 @@ sub GetCorrectPath
  	my @originalPairs = @_;
  	my @pairs = @originalPairs;
  	my @Path = split /$ps/, $oldPath;
@@ -51,7 +51,7 @@
  		    $to_append = 0;
  		    last;
  		} else {
-@@ -2644,7 +2655,7 @@
+@@ -2602,7 +2613,7 @@ sub GetCorrectPath
  		}
  	    }
  	    if ($to_append) {
@@ -60,7 +60,7 @@
  	    }
  	}
  

*** DIFF OUTPUT TRUNCATED AT 1000 LINES ***



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