aboutsummaryrefslogtreecommitdiff
path: root/editors/libreoffice
diff options
context:
space:
mode:
authorJung-uk Kim <jkim@FreeBSD.org>2014-02-25 19:09:28 +0000
committerJung-uk Kim <jkim@FreeBSD.org>2014-02-25 19:09:28 +0000
commit5436ddf0623cd183c8f59d814b04d97194bce332 (patch)
treed5a1d3aed169ffb678071bd9dc642af8a93d5a5c /editors/libreoffice
parent03345f4e558db8b96e7bbae3abdf9216fd883c70 (diff)
Notes
Diffstat (limited to 'editors/libreoffice')
-rw-r--r--editors/libreoffice/Makefile21
-rw-r--r--editors/libreoffice/Makefile.common4
-rw-r--r--editors/libreoffice/distinfo24
-rw-r--r--editors/libreoffice/files/extra-patch-libc++15
-rw-r--r--editors/libreoffice/files/patch-bin__distro-install-desktop-integration24
-rw-r--r--editors/libreoffice/files/patch-bridges__Library_cpp_uno.mk11
-rw-r--r--editors/libreoffice/files/patch-bridges__Library_gcc3_linux_intel.mk11
-rw-r--r--editors/libreoffice/files/patch-bridges__Library_gcc3_linux_x86-64.mk14
-rw-r--r--editors/libreoffice/files/patch-configure.ac71
-rw-r--r--editors/libreoffice/files/patch-connectivity__source__inc__dbase__dindexnode.hxx9
-rw-r--r--editors/libreoffice/files/patch-extensions__Library_ldapbe2.mk23
-rw-r--r--editors/libreoffice/files/patch-filter__source__graphicfilter__ipbm__ipbm.cxx29
-rw-r--r--editors/libreoffice/files/patch-filter__source__graphicfilter__ipcd__ipcd.cxx11
-rw-r--r--editors/libreoffice/files/patch-filter__source__graphicfilter__ipcx__ipcx.cxx11
-rw-r--r--editors/libreoffice/files/patch-filter__source__graphicfilter__iras__iras.cxx11
-rw-r--r--editors/libreoffice/files/patch-filter__source__graphicfilter__itga__itga.cxx11
-rw-r--r--editors/libreoffice/files/patch-i18npool__CustomTarget_breakiterator.mk8
-rw-r--r--editors/libreoffice/files/patch-liborcus-0.5.x540
-rw-r--r--editors/libreoffice/files/patch-mdds-0.9.x69
-rw-r--r--editors/libreoffice/files/patch-odk__pack__gendocu__makefile.mk11
-rw-r--r--editors/libreoffice/files/patch-sd__Module_sd.mk8
-rw-r--r--editors/libreoffice/files/patch-solenv__gbuild__Deliver.mk11
-rw-r--r--editors/libreoffice/files/patch-solenv__gbuild__platform__unxgcc.mk8
-rw-r--r--editors/libreoffice/files/patch-sw__Module_sw.mk17
-rw-r--r--editors/libreoffice/files/patch-sw__inc__unotbl.hxx11
-rw-r--r--editors/libreoffice/files/patch-sw__inc__viewsh.hxx11
-rw-r--r--editors/libreoffice/files/patch-sw__source__core__inc__frame.hxx11
-rw-r--r--editors/libreoffice/files/patch-sw__source__core__inc__frmtool.hxx11
-rw-r--r--editors/libreoffice/files/patch-sw__source__core__unocore__unotbl.cxx11
-rw-r--r--editors/libreoffice/files/patch-sw__source__core__view__vprint.cxx11
-rw-r--r--editors/libreoffice/files/patch-sysui__Module_sysui.mk10
-rw-r--r--editors/libreoffice/files/patch-sysui__desktop__share__create_tree.sh12
-rw-r--r--editors/libreoffice/files/patch-testtools__Module_testtools.mk17
-rw-r--r--editors/libreoffice/files/patch-vcl__headless__svptext.cxx11
34 files changed, 285 insertions, 803 deletions
diff --git a/editors/libreoffice/Makefile b/editors/libreoffice/Makefile
index bcf580ee522c..efcf0c819252 100644
--- a/editors/libreoffice/Makefile
+++ b/editors/libreoffice/Makefile
@@ -2,7 +2,7 @@
.include "${.CURDIR}/Makefile.common"
-PORTREVISION= 3
+PORTREVISION= 0
COMMENT= Full integrated office productivity suite
@@ -10,7 +10,7 @@ BUILD_DEPENDS= p5-Archive-Zip>=0:${PORTSDIR}/archivers/p5-Archive-Zip \
unzip:${PORTSDIR}/archivers/unzip \
zip:${PORTSDIR}/archivers/zip \
${LOCALBASE}/lib/libboost_regex.a:${PORTSDIR}/devel/boost-libs \
- ${LOCALBASE}/lib/libcppunit.so:${PORTSDIR}/devel/cppunit \
+ ${LOCALBASE}/libdata/pkgconfig/cppunit.pc:${PORTSDIR}/devel/cppunit \
dmake:${PORTSDIR}/devel/dmake \
${LOCALBASE}/bin/gperf:${PORTSDIR}/devel/gperf \
mdds>=0.9.0:${PORTSDIR}/devel/mdds \
@@ -34,10 +34,13 @@ LIB_DEPENDS= libicutu.so:${PORTSDIR}/devel/icu \
libpoppler.so:${PORTSDIR}/graphics/poppler \
liblpsolve55.so:${PORTSDIR}/math/lp_solve \
libcmis-0.4.so:${PORTSDIR}/net/libcmis \
+ libharfbuzz.so:${PORTSDIR}/print/harfbuzz \
libmspub-0.0.so:${PORTSDIR}/print/libmspub \
libnss3.so:${PORTSDIR}/security/nss \
libclucene-core.so:${PORTSDIR}/textproc/clucene \
libexpat.so:${PORTSDIR}/textproc/expat2 \
+ libmwaw-0.1.so:${PORTSDIR}/textproc/libmwaw \
+ libodfgen-0.0.so:${PORTSDIR}/textproc/libodfgen \
libhunspell-1.3.so:${PORTSDIR}/textproc/hunspell \
libhyphen.so:${PORTSDIR}/textproc/hyphen \
libexttextcat-2.0.so:${PORTSDIR}/textproc/libexttextcat \
@@ -82,6 +85,7 @@ LODESTDIR= ${WRKDIR}/loinstall
WRKSRC= ${WRKDIR}/${PORTNAME}-${LOVERSION}
CONFIGURE_ENV= DMAKE=${LOCALBASE}/bin/dmake \
+ GNUTAR=${TAR} \
GPERF=${LOCALBASE}/bin/gperf \
PYTHON_CFLAGS="`${PYTHON_VERSION}-config --cflags`" \
PYTHON_LIBS="`${PYTHON_VERSION}-config --libs`" \
@@ -124,6 +128,7 @@ CONFIGURE_ARGS+= --disable-epm \
--with-system-dicts \
--with-system-expat \
--with-system-graphite \
+ --with-system-harfbuzz \
--with-system-hunspell \
--with-system-icu \
--with-system-jpeg \
@@ -133,6 +138,8 @@ CONFIGURE_ARGS+= --disable-epm \
--with-system-libexttextcat \
--with-system-liblangtag \
--with-system-libmspub \
+ --with-system-libmwaw \
+ --with-system-libodfgen \
--with-system-libpng \
--with-system-libvisio \
--with-system-libwpd \
@@ -191,8 +198,6 @@ CONFIGURE_ARGS+= --enable-release-build
.if ${PORT_OPTIONS:MDEBUG} || ${PORT_OPTIONS:MVERBOSE}
CONFIGURE_ARGS+= --enable-verbose
-.else
-CONFIGURE_ARGS+= --disable-verbose
.endif
.if ${PORT_OPTIONS:MGNOME}
@@ -230,19 +235,19 @@ CONFLICTS_BUILD= classpath-[0-9]*
#additionnal distfiles needed for java
DISTFILES+= 17410483b5b5f267aa18b7e00b65e6e0-hsqldb_1_8_0.zip:src \
2a177023f9ea8ec8bd00837605c5df1b-jakarta-tomcat-5.0.30-src.tar.gz:src \
- 2ae988b339daec234019a7066f96733e-commons-lang-2.3-src.tar.gz:src \
2c9b0f83ed5890af02c0df1c1776f39b-commons-httpclient-3.1-src.tar.gz:src \
+ 2e482c7567908d334785ce7d69ddfff7-commons-codec-1.6-src.tar.gz:src \
3404ab6b1792ae5f16bbd603bd1e1d03-libformula-1.1.7.zip:src \
35c94d2df8893241173de1d16b6034c0-swingExSrc.zip:src \
- 3c219630e4302863a9a83d0efde889db-commons-logging-1.1.1-src.tar.gz:src \
- 3bdf40c0d199af31923e900d082ca2dd-libfonts-1.1.6.zip:src \
39bb3fcea1514f1369fcfc87542390fd-sacjava-1.3.zip:src \
+ 3bdf40c0d199af31923e900d082ca2dd-libfonts-1.1.6.zip:src \
+ 3c219630e4302863a9a83d0efde889db-commons-logging-1.1.1-src.tar.gz:src \
+ 625ff5f2f968dd908bca43c9469d6e6b-commons-lang-2.4-src.tar.gz:src \
798b2ffdc8bcfe7bca2cf92b62caf685-rhino1_5R5.zip:src \
8ce2fcd72becf06c41f7201d15373ed9-librepository-1.1.6.zip:src \
97b2d4dba862397f446b217e2b623e71-libloader-1.1.6.zip:src \
a7983f859eafb2677d7ff386a023bc40-xsltml_2.1.2.zip:src \
ace6ab49184e329db254e454a010f56d-libxml-1.1.7.zip:src \
- af3c3acf618de6108d65fcdc92b492e1-commons-codec-1.3-src.tar.gz:src \
ba2930200c9f019c2d93a8c88c651a0f-flow-engine-0.9.4.zip:src \
d8bd5eed178db6e2b18eeed243f85aa8-flute-1.1.6.zip:src \
db60e4fde8dd6d6807523deb71ee34dc-liblayout-0.2.10.zip:src \
diff --git a/editors/libreoffice/Makefile.common b/editors/libreoffice/Makefile.common
index 8dfa011fc7a5..c219405cead3 100644
--- a/editors/libreoffice/Makefile.common
+++ b/editors/libreoffice/Makefile.common
@@ -1,8 +1,8 @@
# $FreeBSD$
PORTNAME= libreoffice
-PORTVERSION= 4.0.6
-RCVER= 2
+PORTVERSION= 4.1.5
+RCVER= 3
#PRERELEASE= yes
LOVERSION= ${PORTVERSION}.${RCVER}
CATEGORIES?= editors
diff --git a/editors/libreoffice/distinfo b/editors/libreoffice/distinfo
index 6cf50cd9617d..d12f59c7070c 100644
--- a/editors/libreoffice/distinfo
+++ b/editors/libreoffice/distinfo
@@ -1,27 +1,29 @@
-SHA256 (libreoffice/libreoffice-4.0.6.2.tar.xz) = 6cd52fb18c5885eeaac921d4c54c3865df58ef20a91b505c61471fdf56a25474
-SIZE (libreoffice/libreoffice-4.0.6.2.tar.xz) = 104753440
-SHA256 (libreoffice/libreoffice-help-4.0.6.2.tar.xz) = f73a53525162df4099e71cc1095df30f39ebcf3ba3683b639446838a5f8784e2
-SIZE (libreoffice/libreoffice-help-4.0.6.2.tar.xz) = 1858200
+SHA256 (libreoffice/libreoffice-4.1.5.3.tar.xz) = 6dee23a8e2fed792dc68d22b6ca4838a31213a07e7b0a04dc16511d714f06eb2
+SIZE (libreoffice/libreoffice-4.1.5.3.tar.xz) = 121988752
+SHA256 (libreoffice/libreoffice-help-4.1.5.3.tar.xz) = 97481deae1616ca07b748dc0842b608a5522a46e1061823978496eb2a2e7582a
+SIZE (libreoffice/libreoffice-help-4.1.5.3.tar.xz) = 1849276
SHA256 (libreoffice/1f24ab1d39f4a51faf22244c94a6203f-xmlsec1-1.2.14.tar.gz) = 390a5085651828b8fe12aa978b200f59b9155eedbb91a4be89bf7cf39eefdd4a
SIZE (libreoffice/1f24ab1d39f4a51faf22244c94a6203f-xmlsec1-1.2.14.tar.gz) = 1652670
SHA256 (libreoffice/17410483b5b5f267aa18b7e00b65e6e0-hsqldb_1_8_0.zip) = d30b13f4ba2e3b6a2d4f020c0dee0a9fb9fc6fbcc2d561f36b78da4bf3802370
SIZE (libreoffice/17410483b5b5f267aa18b7e00b65e6e0-hsqldb_1_8_0.zip) = 3519470
SHA256 (libreoffice/2a177023f9ea8ec8bd00837605c5df1b-jakarta-tomcat-5.0.30-src.tar.gz) = 556921bf0de5c508985c95eef77b73a4388a7da1b7e703060c79c58385483bf4
SIZE (libreoffice/2a177023f9ea8ec8bd00837605c5df1b-jakarta-tomcat-5.0.30-src.tar.gz) = 3568559
-SHA256 (libreoffice/2ae988b339daec234019a7066f96733e-commons-lang-2.3-src.tar.gz) = 9775f8db678e15e9a482bbbf00b35c38da8bfc51c6dafa4531c6dd16225602fd
-SIZE (libreoffice/2ae988b339daec234019a7066f96733e-commons-lang-2.3-src.tar.gz) = 474681
SHA256 (libreoffice/2c9b0f83ed5890af02c0df1c1776f39b-commons-httpclient-3.1-src.tar.gz) = f9a496d3418b0e15894fb351652cd4fa5ca434ebfc3ce3bb8da40defd8b097f2
SIZE (libreoffice/2c9b0f83ed5890af02c0df1c1776f39b-commons-httpclient-3.1-src.tar.gz) = 1882664
+SHA256 (libreoffice/2e482c7567908d334785ce7d69ddfff7-commons-codec-1.6-src.tar.gz) = ae7bc26118cf1b58d8bed62ed364612d5a2380ad14acb03ca88ff3bab22b2e8b
+SIZE (libreoffice/2e482c7567908d334785ce7d69ddfff7-commons-codec-1.6-src.tar.gz) = 262206
SHA256 (libreoffice/3404ab6b1792ae5f16bbd603bd1e1d03-libformula-1.1.7.zip) = 5826d1551bf599b85742545f6e01a0079b93c1b2c8434bf409eddb3a29e4726b
SIZE (libreoffice/3404ab6b1792ae5f16bbd603bd1e1d03-libformula-1.1.7.zip) = 1180582
SHA256 (libreoffice/35c94d2df8893241173de1d16b6034c0-swingExSrc.zip) = 64585ac36a81291a58269ec5347e7e3e2e8596dbacb9221015c208191333c6e1
SIZE (libreoffice/35c94d2df8893241173de1d16b6034c0-swingExSrc.zip) = 9796
-SHA256 (libreoffice/3c219630e4302863a9a83d0efde889db-commons-logging-1.1.1-src.tar.gz) = 168564a57411907432c7b191f63fb581439fed57732038c5308631afe05063ac
-SIZE (libreoffice/3c219630e4302863a9a83d0efde889db-commons-logging-1.1.1-src.tar.gz) = 189448
-SHA256 (libreoffice/3bdf40c0d199af31923e900d082ca2dd-libfonts-1.1.6.zip) = e0531091787c0f16c83965fdcbc49162c059d7f0c64669e7f119699321549743
-SIZE (libreoffice/3bdf40c0d199af31923e900d082ca2dd-libfonts-1.1.6.zip) = 5750610
SHA256 (libreoffice/39bb3fcea1514f1369fcfc87542390fd-sacjava-1.3.zip) = 085f2112c51fa8c1783fac12fbd452650596415121348393bb51f0f7e85a9045
SIZE (libreoffice/39bb3fcea1514f1369fcfc87542390fd-sacjava-1.3.zip) = 153157
+SHA256 (libreoffice/3bdf40c0d199af31923e900d082ca2dd-libfonts-1.1.6.zip) = e0531091787c0f16c83965fdcbc49162c059d7f0c64669e7f119699321549743
+SIZE (libreoffice/3bdf40c0d199af31923e900d082ca2dd-libfonts-1.1.6.zip) = 5750610
+SHA256 (libreoffice/3c219630e4302863a9a83d0efde889db-commons-logging-1.1.1-src.tar.gz) = 168564a57411907432c7b191f63fb581439fed57732038c5308631afe05063ac
+SIZE (libreoffice/3c219630e4302863a9a83d0efde889db-commons-logging-1.1.1-src.tar.gz) = 189448
+SHA256 (libreoffice/625ff5f2f968dd908bca43c9469d6e6b-commons-lang-2.4-src.tar.gz) = 2445238cd0eb167e99a1147394f61325490559f3df7e7e8f628043fb70cbf2f4
+SIZE (libreoffice/625ff5f2f968dd908bca43c9469d6e6b-commons-lang-2.4-src.tar.gz) = 522654
SHA256 (libreoffice/798b2ffdc8bcfe7bca2cf92b62caf685-rhino1_5R5.zip) = 1fb458d6aab06932693cc8a9b6e4e70944ee1ff052fa63606e3131df34e21753
SIZE (libreoffice/798b2ffdc8bcfe7bca2cf92b62caf685-rhino1_5R5.zip) = 1521926
SHA256 (libreoffice/8ce2fcd72becf06c41f7201d15373ed9-librepository-1.1.6.zip) = abe2c57ac12ba45d83563b02e240fa95d973376de2f720aab8fe11f2e621c095
@@ -32,8 +34,6 @@ SHA256 (libreoffice/a7983f859eafb2677d7ff386a023bc40-xsltml_2.1.2.zip) = 7582377
SIZE (libreoffice/a7983f859eafb2677d7ff386a023bc40-xsltml_2.1.2.zip) = 23150
SHA256 (libreoffice/ace6ab49184e329db254e454a010f56d-libxml-1.1.7.zip) = 7d2797fe9f79a77009721e3f14fa4a1dec17a6d706bdc93f85f1f01d124fab66
SIZE (libreoffice/ace6ab49184e329db254e454a010f56d-libxml-1.1.7.zip) = 2929311
-SHA256 (libreoffice/af3c3acf618de6108d65fcdc92b492e1-commons-codec-1.3-src.tar.gz) = 12effcf3fea025bd34edbfec60a6216ca453fb27e781d8e5783caf75fd33d90e
-SIZE (libreoffice/af3c3acf618de6108d65fcdc92b492e1-commons-codec-1.3-src.tar.gz) = 80427
SHA256 (libreoffice/ba2930200c9f019c2d93a8c88c651a0f-flow-engine-0.9.4.zip) = 233f66e8d25c5dd971716d4200203a612a407649686ef3b52075d04b4c9df0dd
SIZE (libreoffice/ba2930200c9f019c2d93a8c88c651a0f-flow-engine-0.9.4.zip) = 743031
SHA256 (libreoffice/d8bd5eed178db6e2b18eeed243f85aa8-flute-1.1.6.zip) = 1b5b24f7bc543c0362b667692f78db8bab4ed6dafc6172f104d0bd3757d8a133
diff --git a/editors/libreoffice/files/extra-patch-libc++ b/editors/libreoffice/files/extra-patch-libc++
index 0574ec40aec6..8c04fc1107cf 100644
--- a/editors/libreoffice/files/extra-patch-libc++
+++ b/editors/libreoffice/files/extra-patch-libc++
@@ -450,19 +450,8 @@
// temporary params
for ( ; nTempIndizes--; )
---- sal/inc/rtl/allocator.hxx.orig 2013-08-13 16:11:48.000000000 -0400
-+++ sal/inc/rtl/allocator.hxx 2013-09-12 16:56:43.000000000 -0400
-@@ -125,7 +125,7 @@
- }
-
- //-----------------------------------------
--#if defined HAVE_CXX11_PERFECT_FORWARDING
-+#if defined(HAVE_CXX11_PERFECT_FORWARDING) && !defined(_LIBCPP_VERSION)
- template< typename... Args >
- void construct (pointer p, Args &&... value)
- {
---- sal/inc/sal/log.hxx.orig 2013-08-13 16:11:48.000000000 -0400
-+++ sal/inc/sal/log.hxx 2013-09-13 05:27:31.000000000 -0400
+--- include/sal/log.hxx.orig 2013-08-13 16:11:48.000000000 -0400
++++ include/sal/log.hxx 2013-09-13 05:27:31.000000000 -0400
@@ -177,9 +177,13 @@
@since LibreOffice 3.5
diff --git a/editors/libreoffice/files/patch-bin__distro-install-desktop-integration b/editors/libreoffice/files/patch-bin__distro-install-desktop-integration
index f8d0ba376383..5993d608ea68 100644
--- a/editors/libreoffice/files/patch-bin__distro-install-desktop-integration
+++ b/editors/libreoffice/files/patch-bin__distro-install-desktop-integration
@@ -1,13 +1,13 @@
---- ./bin/distro-install-desktop-integration.orig 2013-01-31 05:54:53.000000000 -0500
-+++ ./bin/distro-install-desktop-integration 2013-02-18 18:38:28.000000000 -0500
+--- bin/distro-install-desktop-integration.orig 2013-12-11 01:11:21.000000000 +0900
++++ bin/distro-install-desktop-integration 2014-01-29 16:00:32.000000000 +0900
@@ -94,13 +94,13 @@
}
# install desktop integration from plain packages
-sysui_temp=`mktemp -t -d distro-pack-desktop-integration-XXXXXX`
--cp -a sysui/unxlng*/misc/libreoffice/* "$sysui_temp"
+sysui_temp=`mktemp -d /tmp/distro-pack-desktop-integration-XXXXXX`
-+cp -a sysui/unx*/misc/libreoffice/* "$sysui_temp"
+-cp -a workdir/unxlng*/CustomTarget/sysui/share/libreoffice/* "$sysui_temp"
++cp -a ../workdir/unx*/CustomTarget/sysui/share/libreoffice/* "$sysui_temp"
cp -a sysui/desktop/share/create_tree.sh "$sysui_temp"
builddir=`pwd`
cd $sysui_temp
@@ -17,7 +17,7 @@
-e "s/\($INSTALLDIRNAME\)$PRODUCTVERSION_NODOT/\1/" \
-e "s/\($INSTALLDIRNAME\)$PRODUCTVERSION/\1/" \
-e "s/\($PRODUCTNAME\) $PRODUCTVERSION/\1/" \
-@@ -114,16 +114,17 @@
+@@ -114,8 +114,9 @@
export PRODUCTVERSION=
export KDEMAINDIR=$PREFIXDIR
export GNOMEDIR=$PREFIXDIR
@@ -28,17 +28,7 @@
)
cd -
rm -rf $sysui_temp
-
- # we do not want some stuff from the plain packages
- rm -f $DESTDIR/$PREFIXDIR/bin/$INSTALLDIRNAME-printeradmin
--rm -f $DESTDIR$PREFIXDIR/share/applications/libreoffice-javafilter.desktop
--rm -f $DESTDIR$PREFIXDIR/share/applications/libreoffice-printeradmin.desktop
-+rm -f $DESTDIR/$PREFIXDIR/share/applications/libreoffice-javafilter.desktop
-+rm -f $DESTDIR/$PREFIXDIR/share/applications/libreoffice-printeradmin.desktop
- if test -d $DESTDIR/opt ; then
- rm -f $DESTDIR/opt/$INSTALLDIRNAME
- rmdir --ignore-fail-on-non-empty $DESTDIR/opt
-@@ -132,7 +133,7 @@
+@@ -131,7 +132,7 @@
# we want non-versioned desktop files
cd $DESTDIR/$INSTALLDIR/share/xdg
# we want non-versioned stuff in the distro packages
@@ -47,7 +37,7 @@
-e "s/\($INSTALLDIRNAME\)$PRODUCTVERSION_NODOT/\1/" \
-e "s/\($INSTALLDIRNAME\)$PRODUCTVERSION/\1/" \
-e "s/\($PRODUCTNAME\) $PRODUCTVERSION/\1/" \
-@@ -147,7 +148,7 @@
+@@ -146,7 +148,7 @@
$PREFIXDIR/share/mime/packages \
$PREFIXDIR/share/mime-info \
$PREFIXDIR/share/icons ; do
diff --git a/editors/libreoffice/files/patch-bridges__Library_cpp_uno.mk b/editors/libreoffice/files/patch-bridges__Library_cpp_uno.mk
new file mode 100644
index 000000000000..a8645b85adaa
--- /dev/null
+++ b/editors/libreoffice/files/patch-bridges__Library_cpp_uno.mk
@@ -0,0 +1,11 @@
+--- bridges/Library_cpp_uno.mk.orig 2013-12-11 01:11:21.000000000 +0900
++++ bridges/Library_cpp_uno.mk 2014-01-29 16:13:21.000000000 +0900
+@@ -188,7 +188,7 @@
+ $(if $(filter TRUE,$(HAVE_GCC_AVX)),-mno-avx) \
+ ))
+
+-ifeq ($(filter ANDROID WNT,$(OS)),)
++ifeq ($(filter ANDROID WNT DRAGONFLY FREEBSD NETBSD OPENBSD MACOSX,$(OS)),)
+ $(eval $(call gb_Library_add_libs,gcc3_uno,\
+ -ldl \
+ ))
diff --git a/editors/libreoffice/files/patch-bridges__Library_gcc3_linux_intel.mk b/editors/libreoffice/files/patch-bridges__Library_gcc3_linux_intel.mk
deleted file mode 100644
index 16ff470bc36e..000000000000
--- a/editors/libreoffice/files/patch-bridges__Library_gcc3_linux_intel.mk
+++ /dev/null
@@ -1,11 +0,0 @@
---- ./bridges/Library_gcc3_linux_intel.mk.orig 2013-01-31 05:54:53.000000000 -0500
-+++ ./bridges/Library_gcc3_linux_intel.mk 2013-02-19 20:22:56.000000000 -0500
-@@ -39,7 +39,7 @@
- ) \
- ))
-
--ifneq ($(OS),ANDROID)
-+ifeq ($(filter ANDROID DRAGONFLY FREEBSD NETBSD OPENBSD MACOSX,$(OS)),)
- $(eval $(call gb_Library_add_libs,gcc3_uno,\
- -ldl \
- ))
diff --git a/editors/libreoffice/files/patch-bridges__Library_gcc3_linux_x86-64.mk b/editors/libreoffice/files/patch-bridges__Library_gcc3_linux_x86-64.mk
deleted file mode 100644
index 78bd6be6ad51..000000000000
--- a/editors/libreoffice/files/patch-bridges__Library_gcc3_linux_x86-64.mk
+++ /dev/null
@@ -1,14 +0,0 @@
---- ./bridges/Library_gcc3_linux_x86-64.mk.orig 2013-01-31 05:54:53.000000000 -0500
-+++ ./bridges/Library_gcc3_linux_x86-64.mk 2013-02-19 17:34:24.000000000 -0500
-@@ -41,9 +41,11 @@
- ) \
- ))
-
-+ifeq ($(filter DRAGONFLY FREEBSD NETBSD OPENBSD MACOSX,$(OS)),)
- $(eval $(call gb_Library_add_libs,gcc3_uno,\
- -ldl \
- ))
-+endif
-
- $(eval $(call gb_Library_use_libraries,gcc3_uno,\
- cppu \
diff --git a/editors/libreoffice/files/patch-configure.ac b/editors/libreoffice/files/patch-configure.ac
index fc480dd7eba0..e4f750eda417 100644
--- a/editors/libreoffice/files/patch-configure.ac
+++ b/editors/libreoffice/files/patch-configure.ac
@@ -1,6 +1,6 @@
---- configure.ac.orig 2013-08-13 16:11:48.000000000 -0400
-+++ configure.ac 2013-09-13 17:50:41.000000000 -0400
-@@ -3637,7 +3637,7 @@
+--- configure.ac.orig 2014-02-21 20:38:43.000000000 -0500
++++ configure.ac 2014-02-24 12:51:26.000000000 -0500
+@@ -3586,7 +3586,7 @@
PLATFORMID=freebsd_x86
OUTPATH=unxfbsdi
;;
@@ -9,7 +9,7 @@
CPU=X
CPUNAME=X86_64
RTL_ARCH=X86_64
-@@ -6281,21 +6281,13 @@
+@@ -6541,21 +6541,13 @@
JAVA_ARCH="i386"
JAVA_TOOLKIT="client"
;;
@@ -26,24 +26,24 @@
+ JAVA_TOOLKIT="server"
;;
esac
- SOLARINC="$SOLARINC -I$JAVA_HOME/include"
- SOLARINC="$SOLARINC -I$JAVA_HOME/include/freebsd"
-- SOLARINC="$SOLARINC -I$JAVA_HOME/include/bsd"
-- SOLARINC="$SOLARINC -I$JAVA_HOME/include/linux"
-- SOLARINC="$SOLARINC -I$JAVA_HOME/include/native_threads/include"
+ JAVAINC="-I$JAVA_HOME/include"
+ JAVAINC="$JAVAINC -I$JAVA_HOME/include/freebsd"
+- JAVAINC="$JAVAINC -I$JAVA_HOME/include/bsd"
+- JAVAINC="$JAVAINC -I$JAVA_HOME/include/linux"
+- test -d "$JAVA_HOME/include/native_thread" && JAVAINC="$JAVAINC -I$JAVA_HOME/include/native_thread"
;;
k*bsd*-gnu*)
-@@ -6978,7 +6970,7 @@
- if test "$with_system_libcmis" = "yes"; then
- AC_MSG_RESULT([external])
- SYSTEM_LIBCMIS=YES
-- PKG_CHECK_MODULES( CMIS, libcmis-0.3 >= 0.3.1 )
-+ PKG_CHECK_MODULES( CMIS, libcmis-0.4 >= 0.4.1 )
- else
- AC_MSG_RESULT([internal])
- SYSTEM_LIBCMIS=NO
-@@ -8298,7 +8290,7 @@
+@@ -7222,7 +7214,7 @@
+ dnl ===================================================================
+ dnl Check for system libcmis
+ dnl ===================================================================
+-libo_CHECK_SYSTEM_MODULE([libcmis],[CMIS],[libcmis-0.3 >= 0.3.1])
++libo_CHECK_SYSTEM_MODULE([libcmis],[CMIS],[libcmis-0.4 >= 0.4.1])
+
+ dnl ===================================================================
+ dnl Check for system libwpd
+@@ -8416,7 +8408,7 @@
dnl ===================================================================
AC_MSG_CHECKING([whether to enable graphite support])
@@ -51,28 +51,17 @@
+if test "$_os" = "WINNT" -o "$_os" = "Linux" -o "$_os" = "FreeBSD" && test "$enable_graphite" = "" -o "$enable_graphite" != "no"; then
AC_MSG_RESULT([yes])
ENABLE_GRAPHITE="TRUE"
- AC_MSG_CHECKING([which graphite to use])
-@@ -8550,8 +8542,8 @@
- AC_MSG_RESULT([external])
- # Mac OS builds should get out without extra stuff is the Mac porters'
- # wish. And pkg-config is although Xcode ships a .pc for openssl
-- if test "$_os" = "Darwin" -o "$_os" = "NetBSD" -o "$_os" = "OpenBSD" -o \
-- "$_os" = "DragonFly"; then
-+ if test "$_os" = "Darwin" -o "$_os" = "FreeBSD" -o "$_os" = "NetBSD" -o \
-+ "$_os" = "OpenBSD" -o "$_os" = "DragonFly"; then
- OPENSSL_CFLAGS=
- OPENSSL_LIBS="-lssl -lcrypto"
- else
-@@ -8605,7 +8597,7 @@
- if test "$with_system_orcus" = "yes"; then
- AC_MSG_RESULT([external])
- SYSTEM_LIBORCUS=YES
-- PKG_CHECK_MODULES(ORCUS, liborcus-0.4 >= 0.3.0)
-+ PKG_CHECK_MODULES(ORCUS, liborcus-0.6 >= 0.5.0)
- else
- AC_MSG_RESULT([internal])
- BUILD_TYPE="$BUILD_TYPE ORCUS"
-@@ -10419,10 +10411,10 @@
+ AC_DEFINE(ENABLE_GRAPHITE)
+@@ -8641,7 +8633,7 @@
+
+ with_system_openssl=no
+ libo_CHECK_SYSTEM_MODULE([openssl],[OPENSSL],[openssl])
+- elif test "$_os" = "Darwin" -o "$_os" = "NetBSD" -o "$_os" = "OpenBSD" -o \
++ elif test "$_os" = "Darwin" -o "$_os" = "FreeBSD" -o "$_os" = "NetBSD" -o "$_os" = "OpenBSD" -o \
+ "$_os" = "DragonFly" && test "$with_system_openssl" != "no"; then
+ # Mac OS builds should get out without extra stuff is the Mac porters'
+ # wish. And pkg-config is although Xcode ships a .pc for openssl
+@@ -10472,10 +10464,10 @@
dnl Check for Meta Object Compiler
diff --git a/editors/libreoffice/files/patch-connectivity__source__inc__dbase__dindexnode.hxx b/editors/libreoffice/files/patch-connectivity__source__inc__dbase__dindexnode.hxx
index 220b1ee4aa22..32ef0e8ebe4a 100644
--- a/editors/libreoffice/files/patch-connectivity__source__inc__dbase__dindexnode.hxx
+++ b/editors/libreoffice/files/patch-connectivity__source__inc__dbase__dindexnode.hxx
@@ -1,13 +1,14 @@
---- connectivity/source/inc/dbase/dindexnode.hxx.orig 2013-06-11 05:33:38.000000000 -0400
-+++ connectivity/source/inc/dbase/dindexnode.hxx 2013-06-25 13:44:38.000000000 -0400
-@@ -26,7 +26,11 @@
+--- connectivity/source/inc/dbase/dindexnode.hxx.orig 2013-12-11 01:11:21.000000000 +0900
++++ connectivity/source/inc/dbase/dindexnode.hxx 2014-01-29 16:48:39.000000000 +0900
+@@ -26,7 +26,12 @@
#include <tools/ref.hxx>
#define NODE_NOTFOUND 0xFFFF
+#ifdef __FreeBSD__
+#include <sys/param.h>
++#define DINDEX_PAGE_SIZE PAGE_SIZE
+#else
- #define PAGE_SIZE 512
+ #define DINDEX_PAGE_SIZE 512
+#endif
namespace connectivity
diff --git a/editors/libreoffice/files/patch-extensions__Library_ldapbe2.mk b/editors/libreoffice/files/patch-extensions__Library_ldapbe2.mk
deleted file mode 100644
index 35a58003af24..000000000000
--- a/editors/libreoffice/files/patch-extensions__Library_ldapbe2.mk
+++ /dev/null
@@ -1,23 +0,0 @@
---- ./extensions/Library_ldapbe2.mk.orig 2013-01-31 05:54:53.000000000 -0500
-+++ ./extensions/Library_ldapbe2.mk 2013-02-19 17:56:48.000000000 -0500
-@@ -58,16 +58,10 @@
- wldap32 \
- ))
- else # 0S!=WNT
--$(eval $(call gb_Library_use_externals,ldapbe2,openldap))
--
--$(eval $(call gb_Library_add_libs,ldapbe2,\
-- -lssl3 \
-- -lsmime3 \
-- -lnss3 \
-- -lnssutil3 \
-- -lplds4 \
-- -lplc4 \
-- -lnspr4 \
-+$(eval $(call gb_Library_use_externals,ldapbe2,\
-+ nss3 \
-+ openldap \
-+ plc4 \
- ))
- endif
-
diff --git a/editors/libreoffice/files/patch-filter__source__graphicfilter__ipbm__ipbm.cxx b/editors/libreoffice/files/patch-filter__source__graphicfilter__ipbm__ipbm.cxx
new file mode 100644
index 000000000000..0c0c10c94444
--- /dev/null
+++ b/editors/libreoffice/files/patch-filter__source__graphicfilter__ipbm__ipbm.cxx
@@ -0,0 +1,29 @@
+--- filter/source/graphicfilter/ipbm/ipbm.cxx.orig 2014-02-05 10:04:15.000000000 -0500
++++ filter/source/graphicfilter/ipbm/ipbm.cxx 2014-02-24 15:38:35.000000000 -0500
+@@ -102,7 +102,7 @@
+ {
+ case 0 :
+ maBmp = Bitmap( Size( mnWidth, mnHeight ), 1 );
+- if ( ( mpAcc = maBmp.AcquireWriteAccess() ) == sal_False )
++ if ( ( mpAcc = maBmp.AcquireWriteAccess() ) == 0 )
+ return sal_False;
+ mpAcc->SetPaletteEntryCount( 2 );
+ mpAcc->SetPaletteColor( 0, BitmapColor( 0xff, 0xff, 0xff ) );
+@@ -117,7 +117,7 @@
+ else
+ maBmp = Bitmap( Size( mnWidth, mnHeight ), 8);
+
+- if ( ( mpAcc = maBmp.AcquireWriteAccess() ) == sal_False )
++ if ( ( mpAcc = maBmp.AcquireWriteAccess() ) == 0 )
+ return sal_False;
+ mnCol = (sal_uInt16)mnMaxVal + 1;
+ if ( mnCol > 256 )
+@@ -132,7 +132,7 @@
+ break;
+ case 2 :
+ maBmp = Bitmap( Size( mnWidth, mnHeight ), 24 );
+- if ( ( mpAcc = maBmp.AcquireWriteAccess() ) == sal_False )
++ if ( ( mpAcc = maBmp.AcquireWriteAccess() ) == 0 )
+ return sal_False;
+ break;
+ }
diff --git a/editors/libreoffice/files/patch-filter__source__graphicfilter__ipcd__ipcd.cxx b/editors/libreoffice/files/patch-filter__source__graphicfilter__ipcd__ipcd.cxx
new file mode 100644
index 000000000000..c30e24d27306
--- /dev/null
+++ b/editors/libreoffice/files/patch-filter__source__graphicfilter__ipcd__ipcd.cxx
@@ -0,0 +1,11 @@
+--- filter/source/graphicfilter/ipcd/ipcd.cxx.orig 2014-02-05 10:04:15.000000000 -0500
++++ filter/source/graphicfilter/ipcd/ipcd.cxx 2014-02-24 15:38:35.000000000 -0500
+@@ -151,7 +151,7 @@
+ nBMPHeight = nWidth;
+ }
+ aBmp = Bitmap( Size( nBMPWidth, nBMPHeight ), 24 );
+- if ( ( mpAcc = aBmp.AcquireWriteAccess() ) == sal_False )
++ if ( ( mpAcc = aBmp.AcquireWriteAccess() ) == 0 )
+ return sal_False;
+
+ ReadImage( 5 ,65 );
diff --git a/editors/libreoffice/files/patch-filter__source__graphicfilter__ipcx__ipcx.cxx b/editors/libreoffice/files/patch-filter__source__graphicfilter__ipcx__ipcx.cxx
new file mode 100644
index 000000000000..4a8474975b95
--- /dev/null
+++ b/editors/libreoffice/files/patch-filter__source__graphicfilter__ipcx__ipcx.cxx
@@ -0,0 +1,11 @@
+--- filter/source/graphicfilter/ipcx/ipcx.cxx.orig 2014-02-05 10:04:15.000000000 -0500
++++ filter/source/graphicfilter/ipcx/ipcx.cxx 2014-02-24 15:38:35.000000000 -0500
+@@ -100,7 +100,7 @@
+ if ( nStatus )
+ {
+ aBmp = Bitmap( Size( nWidth, nHeight ), nDestBitsPerPixel );
+- if ( ( pAcc = aBmp.AcquireWriteAccess() ) == sal_False )
++ if ( ( pAcc = aBmp.AcquireWriteAccess() ) == 0 )
+ return sal_False;
+
+ if ( nDestBitsPerPixel <= 8 )
diff --git a/editors/libreoffice/files/patch-filter__source__graphicfilter__iras__iras.cxx b/editors/libreoffice/files/patch-filter__source__graphicfilter__iras__iras.cxx
new file mode 100644
index 000000000000..3d4fe51a2d4f
--- /dev/null
+++ b/editors/libreoffice/files/patch-filter__source__graphicfilter__iras__iras.cxx
@@ -0,0 +1,11 @@
+--- filter/source/graphicfilter/iras/iras.cxx.orig 2014-02-05 10:04:15.000000000 -0500
++++ filter/source/graphicfilter/iras/iras.cxx 2014-02-24 15:38:35.000000000 -0500
+@@ -98,7 +98,7 @@
+ return sal_False;
+
+ maBmp = Bitmap( Size( mnWidth, mnHeight ), mnDstBitsPerPix );
+- if ( ( mpAcc = maBmp.AcquireWriteAccess() ) == sal_False )
++ if ( ( mpAcc = maBmp.AcquireWriteAccess() ) == 0 )
+ return sal_False;
+
+ if ( mnDstBitsPerPix <= 8 ) // paletten bildchen
diff --git a/editors/libreoffice/files/patch-filter__source__graphicfilter__itga__itga.cxx b/editors/libreoffice/files/patch-filter__source__graphicfilter__itga__itga.cxx
new file mode 100644
index 000000000000..a308df5e5cc5
--- /dev/null
+++ b/editors/libreoffice/files/patch-filter__source__graphicfilter__itga__itga.cxx
@@ -0,0 +1,11 @@
+--- filter/source/graphicfilter/itga/itga.cxx.orig 2014-02-05 10:04:15.000000000 -0500
++++ filter/source/graphicfilter/itga/itga.cxx 2014-02-24 15:38:35.000000000 -0500
+@@ -732,8 +732,6 @@
+ mpFileHeader->nColorMapEntrySize = 0x3f; // patch for the following switch routine
+ }
+ mpColorMap = new sal_uInt32[ nColors ]; // we will always index dwords
+- if ( mpColorMap == sal_False )
+- return sal_False; // out of memory %&!$&/!"�$
+
+ switch( mpFileHeader->nColorMapEntrySize )
+ {
diff --git a/editors/libreoffice/files/patch-i18npool__CustomTarget_breakiterator.mk b/editors/libreoffice/files/patch-i18npool__CustomTarget_breakiterator.mk
index aafdc05efce4..28dcb518ac22 100644
--- a/editors/libreoffice/files/patch-i18npool__CustomTarget_breakiterator.mk
+++ b/editors/libreoffice/files/patch-i18npool__CustomTarget_breakiterator.mk
@@ -1,11 +1,11 @@
---- ./i18npool/CustomTarget_breakiterator.mk.orig 2013-01-31 05:54:53.000000000 -0500
-+++ ./i18npool/CustomTarget_breakiterator.mk 2013-02-22 15:26:45.000000000 -0500
-@@ -120,7 +120,7 @@
+--- i18npool/CustomTarget_breakiterator.mk.orig 2013-12-11 01:11:21.000000000 +0900
++++ i18npool/CustomTarget_breakiterator.mk 2014-01-29 16:54:14.000000000 +0900
+@@ -77,7 +77,7 @@
# sed substitution...
$(i18npool_BIDIR)/%.txt : \
$(SRCDIR)/i18npool/source/breakiterator/data/%.txt | $(i18npool_BIDIR)/.dir
- sed -e ': dummy' \
+ $(SED) -e ': dummy' \
- -e "s#\[:LineBreak = Close_Punctuation:\]#\[& \[:LineBreak = Close_Parenthesis:\]\]#" \
+ $(if $(filter YES,$(ICU_RECLASSIFIED_CLOSE_PARENTHESIS)),-e "s#\[:LineBreak = Close_Punctuation:\]#\[& \[:LineBreak = Close_Parenthesis:\]\]#") \
$(if $(filter-out YES,$(ICU_RECLASSIFIED_CONDITIONAL_JAPANESE_STARTER)),\
-e '/\[:LineBreak = Conditional_Japanese_Starter:\]/d' \
diff --git a/editors/libreoffice/files/patch-liborcus-0.5.x b/editors/libreoffice/files/patch-liborcus-0.5.x
deleted file mode 100644
index 79ad36ecc7ee..000000000000
--- a/editors/libreoffice/files/patch-liborcus-0.5.x
+++ /dev/null
@@ -1,540 +0,0 @@
---- sc/inc/document.hxx 2013-06-11 05:33:38.000000000 -0400
-+++ sc/inc/document.hxx 2013-06-24 19:08:23.000000000 -0400
-@@ -750,6 +750,7 @@
- SC_DLLPUBLIC bool SetString(
- SCCOL nCol, SCROW nRow, SCTAB nTab, const rtl::OUString& rString,
- ScSetStringParam* pParam = NULL );
-+ SC_DLLPUBLIC bool SetString( const ScAddress& rPos, const OUString& rString, ScSetStringParam* pParam = NULL );
- SC_DLLPUBLIC void SetValue( SCCOL nCol, SCROW nRow, SCTAB nTab, const double& rVal );
- void SetError( SCCOL nCol, SCROW nRow, SCTAB nTab, const sal_uInt16 nError);
-
---- sc/inc/orcusfilters.hxx 2013-06-11 05:33:38.000000000 -0400
-+++ sc/inc/orcusfilters.hxx 2013-06-24 19:08:23.000000000 -0400
-@@ -30,6 +30,10 @@
-
- virtual bool importGnumeric(ScDocument& rDoc, const rtl::OUString& rPath) const = 0;
-
-+ virtual bool importXLSX(ScDocument& rDoc, const rtl::OUString& rPath) const = 0;
-+
-+ virtual bool importODS(ScDocument& rDoc, const rtl::OUString& rPath) const = 0;
-+
- /**
- * Create a context for XML file. The context object stores session
- * information for each unique XML file. You must create a new context
---- sc/inc/stringutil.hxx 2013-06-11 05:33:38.000000000 -0400
-+++ sc/inc/stringutil.hxx 2013-06-24 19:08:23.000000000 -0400
-@@ -72,16 +72,26 @@
- TextFormatPolicy meSetTextNumFormat;
-
- /**
-- * When true, treat input with a leading apostrophe / single quote special
-- * in that it escapes numeric or date/time input such that it is not
-- * interpreted and the input string is taken instead. This can be used
-- * during text file import so the leading apostrophe is not lost if it
-- * precedes a numeric value.
-- * Usually set mbHandleApostrophe = !mbSetTextCellFormat
-+ * When true, treat input with a leading apostrophe as an escape character
-+ * for a numeric value content, to treat the numeric value as a text. When
-+ * false, the whole string input including the leading apostrophe will be
-+ * entered literally as string.
- */
- bool mbHandleApostrophe;
-
- ScSetStringParam();
-+
-+ /**
-+ * Call this whenever you need to unconditionally set input as text, no
-+ * matter what the input is.
-+ */
-+ void setTextInput();
-+
-+ /**
-+ * Call this whenever you need to maximize the chance of input being
-+ * detected as a numeric value (numbers, dates, times etc).
-+ */
-+ void setNumericInput();
- };
-
- // ============================================================================
---- sc/source/core/data/document.cxx 2013-06-11 05:33:38.000000000 -0400
-+++ sc/source/core/data/document.cxx 2013-06-24 19:08:23.000000000 -0400
-@@ -2940,6 +2940,12 @@
- return false;
- }
-
-+bool ScDocument::SetString(
-+ const ScAddress& rPos, const OUString& rString, ScSetStringParam* pParam )
-+{
-+ return SetString(rPos.Col(), rPos.Row(), rPos.Tab(), rString, pParam);
-+}
-+
-
- void ScDocument::SetValue( SCCOL nCol, SCROW nRow, SCTAB nTab, const double& rVal )
- {
---- sc/source/core/tool/stringutil.cxx 2013-06-11 05:33:38.000000000 -0400
-+++ sc/source/core/tool/stringutil.cxx 2013-06-24 19:08:23.000000000 -0400
-@@ -32,6 +32,20 @@
- {
- }
-
-+void ScSetStringParam::setTextInput()
-+{
-+ mbDetectNumberFormat = false;
-+ mbHandleApostrophe = false;
-+ meSetTextNumFormat = Always;
-+}
-+
-+void ScSetStringParam::setNumericInput()
-+{
-+ mbDetectNumberFormat = true;
-+ mbHandleApostrophe = true;
-+ meSetTextNumFormat = Never;
-+}
-+
- // ============================================================================-
-
- bool ScStringUtil::parseSimpleNumber(
---- sc/source/filter/inc/orcusfiltersimpl.hxx 2013-06-11 05:33:38.000000000 -0400
-+++ sc/source/filter/inc/orcusfiltersimpl.hxx 2013-06-24 19:08:23.000000000 -0400
-@@ -22,6 +22,8 @@
-
- virtual bool importCSV(ScDocument& rDoc, const rtl::OUString& rPath) const;
- virtual bool importGnumeric(ScDocument& rDoc, const rtl::OUString& rPath) const;
-+ virtual bool importXLSX(ScDocument& rDoc, const rtl::OUString& rPath) const;
-+ virtual bool importODS(ScDocument& rDoc, const rtl::OUString& rPath) const;
-
- virtual ScOrcusXMLContext* createXMLContext(ScDocument& rDoc, const rtl::OUString& rPath) const;
- };
---- sc/source/filter/inc/orcusinterface.hxx 2013-06-11 05:33:38.000000000 -0400
-+++ sc/source/filter/inc/orcusinterface.hxx 2013-06-24 19:08:23.000000000 -0400
-@@ -21,13 +21,26 @@
-
- class ScDocument;
- class ScOrcusSheet;
-+class ScOrcusFactory;
- class ScRangeData;
-
-+class ScOrcusGlobalSettings : public orcus::spreadsheet::iface::import_global_settings
-+{
-+ ScDocument& mrDoc;
-+
-+public:
-+ ScOrcusGlobalSettings(ScDocument& rDoc);
-+
-+ virtual void set_origin_date(int year, int month, int day);
-+};
-+
- class ScOrcusSharedStrings : public orcus::spreadsheet::iface::import_shared_strings
- {
-- std::vector<OUString> maSharedStrings;
-+ std::vector<OUString>& mrStrings;
-
- public:
-+ ScOrcusSharedStrings(std::vector<OUString>& rStrings);
-+
- virtual size_t append(const char* s, size_t n);
- virtual size_t add(const char* s, size_t n);
-
-@@ -38,50 +51,49 @@
- virtual void append_segment(const char* s, size_t n);
-
- virtual size_t commit_segments();
--
-- const OUString& getByIndex(size_t index) const;
--};
--
--class ScOrcusFactory : public orcus::spreadsheet::iface::import_factory
--{
-- ScDocument& mrDoc;
-- boost::ptr_vector<ScOrcusSheet> maSheets;
-- ScOrcusSharedStrings maSharedStrings;
--
--public:
-- ScOrcusFactory(ScDocument& rDoc);
--
-- virtual orcus::spreadsheet::iface::import_sheet* append_sheet(const char *sheet_name, size_t sheet_name_length);
-- virtual orcus::spreadsheet::iface::import_sheet* get_sheet(const char *sheet_name, size_t sheet_name_length);
-- virtual orcus::spreadsheet::iface::import_shared_strings* get_shared_strings();
-- virtual orcus::spreadsheet::iface::import_styles* get_styles();
- };
-
- class ScOrcusSheet : public orcus::spreadsheet::iface::import_sheet
- {
- ScDocument& mrDoc;
- SCTAB mnTab;
-- ScOrcusSharedStrings& mrSharedStrings;
-+ ScOrcusFactory& mrFactory;
-
- typedef std::map<size_t, ScRangeData*> SharedFormulaContainer;
- SharedFormulaContainer maSharedFormulas;
- public:
-- ScOrcusSheet(ScDocument& rDoc, SCTAB nTab, ScOrcusSharedStrings& rSharedStrings);
-+ ScOrcusSheet(ScDocument& rDoc, SCTAB nTab, ScOrcusFactory& rFactory);
-
- // Orcus import interface
- virtual void set_auto(orcus::spreadsheet::row_t row, orcus::spreadsheet::col_t col, const char* p, size_t n);
-+ virtual void set_string(orcus::spreadsheet::row_t row, orcus::spreadsheet::col_t col, size_t sindex);
-+ virtual void set_value(orcus::spreadsheet::row_t row, orcus::spreadsheet::col_t col, double value);
-+ virtual void set_bool(orcus::spreadsheet::row_t row, orcus::spreadsheet::col_t col, bool value);
-+ virtual void set_date_time(
-+ orcus::spreadsheet::row_t row, orcus::spreadsheet::col_t col, int year, int month, int day, int hour, int minute, double second);
-+
- virtual void set_format(orcus::spreadsheet::row_t row, orcus::spreadsheet::col_t col, size_t xf_index);
-+
- virtual void set_formula(orcus::spreadsheet::row_t row, orcus::spreadsheet::col_t col, orcus::spreadsheet::formula_grammar_t grammar, const char* p, size_t n);
- virtual void set_formula_result(orcus::spreadsheet::row_t row, orcus::spreadsheet::col_t col, const char* p, size_t n);
-+
- virtual void set_shared_formula(
- orcus::spreadsheet::row_t row, orcus::spreadsheet::col_t col, orcus::spreadsheet::formula_grammar_t grammar, size_t sindex,
- const char* p_formula, size_t n_formula);
-+
- virtual void set_shared_formula(
- orcus::spreadsheet::row_t row, orcus::spreadsheet::col_t col, orcus::spreadsheet::formula_grammar_t grammar, size_t sindex,
- const char* p_formula, size_t n_formula, const char* p_range, size_t n_range);
-+
- virtual void set_shared_formula(orcus::spreadsheet::row_t row, orcus::spreadsheet::col_t col, size_t sindex);
-- virtual void set_string(orcus::spreadsheet::row_t row, orcus::spreadsheet::col_t col, size_t sindex);
-- virtual void set_value(orcus::spreadsheet::row_t row, orcus::spreadsheet::col_t col, double value);
-+
-+ virtual void set_array_formula(
-+ orcus::spreadsheet::row_t row, orcus::spreadsheet::col_t col, orcus::spreadsheet::formula_grammar_t grammar,
-+ const char* p, size_t n, orcus::spreadsheet::row_t array_rows, orcus::spreadsheet::col_t array_cols);
-+
-+ virtual void set_array_formula(
-+ orcus::spreadsheet::row_t row, orcus::spreadsheet::col_t col, orcus::spreadsheet::formula_grammar_t grammar,
-+ const char* p, size_t n, const char* p_range, size_t n_range);
-
- SCTAB getIndex() const { return mnTab; }
- };
-@@ -119,6 +131,10 @@
- virtual void set_cell_locked(bool b);
- virtual size_t commit_cell_protection();
-
-+ // number format
-+ virtual void set_number_format(const char* s, size_t n);
-+ virtual size_t commit_number_format();
-+
- // cell style xf
-
- virtual void set_cell_style_xf_count(size_t n);
-@@ -147,5 +163,38 @@
- virtual size_t commit_cell_style();
- };
-
-+class ScOrcusFactory : public orcus::spreadsheet::iface::import_factory
-+{
-+ struct StringCellCache
-+ {
-+ ScAddress maPos;
-+ size_t mnIndex;
-+
-+ StringCellCache(const ScAddress& rPos, size_t nIndex);
-+ };
-+
-+ typedef std::vector<StringCellCache> StringCellCaches;
-+
-+ ScDocument& mrDoc;
-+ std::vector<OUString> maStrings;
-+ StringCellCaches maStringCells;
-+ ScOrcusGlobalSettings maGlobalSettings;
-+ ScOrcusSharedStrings maSharedStrings;
-+ boost::ptr_vector<ScOrcusSheet> maSheets;
-+ ScOrcusStyles maStyles;
-+
-+public:
-+ ScOrcusFactory(ScDocument& rDoc);
-+
-+ virtual orcus::spreadsheet::iface::import_sheet* append_sheet(const char *sheet_name, size_t sheet_name_length);
-+ virtual orcus::spreadsheet::iface::import_sheet* get_sheet(const char *sheet_name, size_t sheet_name_length);
-+ virtual orcus::spreadsheet::iface::import_global_settings* get_global_settings();
-+ virtual orcus::spreadsheet::iface::import_shared_strings* get_shared_strings();
-+ virtual orcus::spreadsheet::iface::import_styles* get_styles();
-+ virtual void finalize();
-+
-+ void pushStringCell(const ScAddress& rPos, size_t nStrIndex);
-+};
-+
- #endif
- /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
---- sc/source/filter/orcus/interface.cxx 2013-06-11 05:33:38.000000000 -0400
-+++ sc/source/filter/orcus/interface.cxx 2013-06-24 19:08:23.000000000 -0400
-@@ -13,14 +13,34 @@
- #include "cell.hxx"
- #include "rangenam.hxx"
- #include "tokenarray.hxx"
--#include <formula/token.hxx>
-+#include "stringutil.hxx"
-+#include "docoptio.hxx"
-
-+#include "formula/token.hxx"
-+#include "tools/datetime.hxx"
-+
-+#define D_TIMEFACTOR 86400.0
-
- using orcus::spreadsheet::row_t;
- using orcus::spreadsheet::col_t;
- using orcus::spreadsheet::formula_grammar_t;
-
--ScOrcusFactory::ScOrcusFactory(ScDocument& rDoc) : mrDoc(rDoc) {}
-+ScOrcusGlobalSettings::ScOrcusGlobalSettings(ScDocument& rDoc) : mrDoc(rDoc) {}
-+
-+void ScOrcusGlobalSettings::set_origin_date(int year, int month, int day)
-+{
-+ ScDocOptions aOpt = mrDoc.GetDocOptions();
-+ aOpt.SetDate(year, month, day);
-+ mrDoc.SetDocOptions(aOpt);
-+}
-+
-+ScOrcusFactory::StringCellCache::StringCellCache(const ScAddress& rPos, size_t nIndex) :
-+ maPos(rPos), mnIndex(nIndex) {}
-+
-+ScOrcusFactory::ScOrcusFactory(ScDocument& rDoc) :
-+ mrDoc(rDoc),
-+ maGlobalSettings(mrDoc),
-+ maSharedStrings(maStrings) {}
-
- orcus::spreadsheet::iface::import_sheet* ScOrcusFactory::append_sheet(const char* sheet_name, size_t sheet_name_length)
- {
-@@ -29,7 +49,7 @@
- return NULL;
-
- SCTAB nTab = mrDoc.GetTableCount() - 1;
-- maSheets.push_back(new ScOrcusSheet(mrDoc, nTab, maSharedStrings));
-+ maSheets.push_back(new ScOrcusSheet(mrDoc, nTab, *this));
- return &maSheets.back();
- }
-
-@@ -61,10 +81,15 @@
- return &(*it);
-
- // Create a new orcus sheet instance for this.
-- maSheets.push_back(new ScOrcusSheet(mrDoc, nTab, maSharedStrings));
-+ maSheets.push_back(new ScOrcusSheet(mrDoc, nTab, *this));
- return &maSheets.back();
- }
-
-+orcus::spreadsheet::iface::import_global_settings* ScOrcusFactory::get_global_settings()
-+{
-+ return &maGlobalSettings;
-+}
-+
- orcus::spreadsheet::iface::import_shared_strings* ScOrcusFactory::get_shared_strings()
- {
- return &maSharedStrings;
-@@ -73,11 +98,31 @@
- orcus::spreadsheet::iface::import_styles* ScOrcusFactory::get_styles()
- {
- // We don't support it yet.
-- return new ScOrcusStyles;
-+ return &maStyles;
- }
-
--ScOrcusSheet::ScOrcusSheet(ScDocument& rDoc, SCTAB nTab, ScOrcusSharedStrings& rSharedStrings) :
-- mrDoc(rDoc), mnTab(nTab), mrSharedStrings(rSharedStrings) {}
-+void ScOrcusFactory::finalize()
-+{
-+ ScSetStringParam aParam;
-+ aParam.setTextInput();
-+ StringCellCaches::const_iterator it = maStringCells.begin(), itEnd = maStringCells.end();
-+ for (; it != itEnd; ++it)
-+ {
-+ if (it->mnIndex >= maStrings.size())
-+ // String index out-of-bound! Something is up.
-+ continue;
-+
-+ mrDoc.SetString(it->maPos, maStrings[it->mnIndex], &aParam);
-+ }
-+}
-+
-+void ScOrcusFactory::pushStringCell(const ScAddress& rPos, size_t nStrIndex)
-+{
-+ maStringCells.push_back(StringCellCache(rPos, nStrIndex));
-+}
-+
-+ScOrcusSheet::ScOrcusSheet(ScDocument& rDoc, SCTAB nTab, ScOrcusFactory& rFactory) :
-+ mrDoc(rDoc), mnTab(nTab), mrFactory(rFactory) {}
-
- void ScOrcusSheet::set_auto(row_t row, col_t col, const char* p, size_t n)
- {
-@@ -85,6 +130,49 @@
- mrDoc.SetString(col, row, mnTab, aVal);
- }
-
-+void ScOrcusSheet::set_string(row_t row, col_t col, size_t sindex)
-+{
-+ // We need to defer string cells since the shared string pool is not yet
-+ // populated at the time this method is called. Orcus imports string
-+ // table after the cells get imported. We won't need to do this once we
-+ // implement true shared strings in Calc core.
-+
-+ mrFactory.pushStringCell(ScAddress(col, row, mnTab), sindex);
-+}
-+
-+void ScOrcusSheet::set_value(row_t row, col_t col, double value)
-+{
-+ mrDoc.SetValue( col, row, mnTab, value );
-+}
-+
-+void ScOrcusSheet::set_bool(row_t row, col_t col, bool value)
-+{
-+ mrDoc.SetValue(col, row, mnTab, value ? 1.0 : 0.0);
-+}
-+
-+void ScOrcusSheet::set_date_time(
-+ row_t row, col_t col, int year, int month, int day, int hour, int minute, double second)
-+{
-+ SvNumberFormatter* pFormatter = mrDoc.GetFormatTable();
-+
-+ Date aDate(day, month, year);
-+ sal_uIntPtr nSec = floor(second);
-+ sal_uIntPtr nSec100 = (second - nSec) * 100;
-+ Time aTime(hour, minute, nSec, nSec100);
-+ Date aNullDate(*pFormatter->GetNullDate());
-+ long nDateDiff = aDate - aNullDate;
-+
-+ double fTime =
-+ static_cast<double>(aTime.Get100Sec()) / 100.0 +
-+ aTime.GetSec() +
-+ aTime.GetMin() * 60.0 +
-+ aTime.GetHour() * 3600.0;
-+
-+ fTime /= D_TIMEFACTOR;
-+
-+ mrDoc.SetValue(col, row, mnTab, nDateDiff + fTime);
-+}
-+
- void ScOrcusSheet::set_format(row_t /*row*/, col_t /*col*/, size_t /*xf_index*/)
- {
- }
-@@ -191,45 +279,35 @@
- mrDoc.PutCell( col, row, mnTab, pCell );
- }
-
--void ScOrcusSheet::set_string(row_t row, col_t col, size_t sindex)
-+void ScOrcusSheet::set_array_formula(
-+ row_t /*row*/, col_t /*col*/, formula_grammar_t /*grammar*/,
-+ const char* /*p*/, size_t /*n*/, row_t /*array_rows*/, col_t /*array_cols*/)
- {
-- // Calc does not yet support shared strings so we have to
-- // workaround by importing shared strings into a temporary
-- // shared string container and writing into calc model as
-- // normal string
--
-- const OUString& rSharedString = mrSharedStrings.getByIndex(sindex);
-- ScBaseCell* pCell = ScBaseCell::CreateTextCell( rSharedString, &mrDoc );
-- mrDoc.PutCell(col, row, mnTab, pCell);
- }
-
--void ScOrcusSheet::set_value(row_t row, col_t col, double value)
-+void ScOrcusSheet::set_array_formula(
-+ row_t /*row*/, col_t /*col*/, formula_grammar_t /*grammar*/,
-+ const char* /*p*/, size_t /*n*/, const char* /*p_range*/, size_t /*n_range*/)
- {
-- mrDoc.SetValue( col, row, mnTab, value );
- }
-
-+ScOrcusSharedStrings::ScOrcusSharedStrings(std::vector<OUString>& rStrings) :
-+ mrStrings(rStrings) {}
-+
- size_t ScOrcusSharedStrings::append(const char* s, size_t n)
- {
- OUString aNewString(s, n, RTL_TEXTENCODING_UTF8);
-- maSharedStrings.push_back(aNewString);
-+ mrStrings.push_back(aNewString);
-
-- return maSharedStrings.size() - 1;
-+ return mrStrings.size() - 1;
- }
-
- size_t ScOrcusSharedStrings::add(const char* s, size_t n)
- {
- OUString aNewString(s, n, RTL_TEXTENCODING_UTF8);
-- maSharedStrings.push_back(aNewString);
--
-- return maSharedStrings.size() - 1;
--}
--
--const OUString& ScOrcusSharedStrings::getByIndex(size_t nIndex) const
--{
-- if(nIndex < maSharedStrings.size())
-- return maSharedStrings[nIndex];
-+ mrStrings.push_back(aNewString);
-
-- throw std::exception();
-+ return mrStrings.size() - 1;
- }
-
- void ScOrcusSharedStrings::set_segment_bold(bool /*b*/)
-@@ -341,6 +419,14 @@
- return 0;
- }
-
-+void ScOrcusStyles::set_number_format(const char* /*s*/, size_t /*n*/)
-+{
-+}
-+
-+size_t ScOrcusStyles::commit_number_format()
-+{
-+ return 0;
-+}
-
- // cell style xf
-
---- sc/source/filter/orcus/orcusfiltersimpl.cxx 2013-06-11 05:33:38.000000000 -0400
-+++ sc/source/filter/orcus/orcusfiltersimpl.cxx 2013-06-24 19:08:23.000000000 -0400
-@@ -17,6 +17,8 @@
- #include <orcus/spreadsheet/import_interface.hpp>
- #include <orcus/orcus_csv.hpp>
- #include <orcus/orcus_gnumeric.hpp>
-+#include <orcus/orcus_xlsx.hpp>
-+#include <orcus/orcus_ods.hpp>
- #include <orcus/global.hpp>
-
- #ifdef WNT
-@@ -71,6 +73,46 @@
- return true;
- }
-
-+bool ScOrcusFiltersImpl::importXLSX(ScDocument& rDoc, const rtl::OUString& rPath) const
-+{
-+ ScOrcusFactory aFactory(rDoc);
-+ OString aSysPath = toSystemPath(rPath);
-+ const char* path = aSysPath.getStr();
-+
-+ try
-+ {
-+ orcus::orcus_xlsx filter(&aFactory);
-+ filter.read_file(path);
-+ }
-+ catch (const std::exception& e)
-+ {
-+ SAL_WARN("sc", "Unable to load xlsx file! " << e.what());
-+ return false;
-+ }
-+
-+ return true;
-+}
-+
-+bool ScOrcusFiltersImpl::importODS(ScDocument& rDoc, const rtl::OUString& rPath) const
-+{
-+ ScOrcusFactory aFactory(rDoc);
-+ OString aSysPath = toSystemPath(rPath);
-+ const char* path = aSysPath.getStr();
-+
-+ try
-+ {
-+ orcus::orcus_ods filter(&aFactory);
-+ filter.read_file(path);
-+ }
-+ catch (const std::exception& e)
-+ {
-+ SAL_WARN("sc", "Unable to load ods file! " << e.what());
-+ return false;
-+ }
-+
-+ return true;
-+}
-+
- ScOrcusXMLContext* ScOrcusFiltersImpl::createXMLContext(ScDocument& rDoc, const rtl::OUString& rPath) const
- {
- return new ScOrcusXMLContextImpl(rDoc, rPath);
diff --git a/editors/libreoffice/files/patch-mdds-0.9.x b/editors/libreoffice/files/patch-mdds-0.9.x
index f756e31961e9..5915bd24c483 100644
--- a/editors/libreoffice/files/patch-mdds-0.9.x
+++ b/editors/libreoffice/files/patch-mdds-0.9.x
@@ -1,27 +1,21 @@
---- sc/source/core/data/dpfilteredcache.cxx.orig 2013-08-13 16:11:48.000000000 -0400
-+++ sc/source/core/data/dpfilteredcache.cxx 2013-08-16 18:29:17.000000000 -0400
-@@ -185,7 +185,7 @@
- {
- if (nRow > nEndSegment)
- {
-- if (!maShowByFilter.search_tree(nRow, bShow, NULL, &nEndSegment))
-+ if (!maShowByFilter.search_tree(nRow, bShow, NULL, &nEndSegment).second)
- {
- OSL_FAIL("Tree search failed!");
- continue;
---- sc/source/core/data/segmenttree.cxx.orig 2013-08-13 16:11:48.000000000 -0400
-+++ sc/source/core/data/segmenttree.cxx 2013-08-16 18:29:17.000000000 -0400
-@@ -159,7 +159,7 @@
- if (!maSegments.is_tree_valid())
- maSegments.build_tree();
+--- sc/inc/mtvelements.hxx.org 2013-07-25 21:25:20.837766596 +0200
++++ sc/inc/mtvelements.hxx 2013-07-25 21:26:32.853493134 +0200
+@@ -63,11 +63,11 @@
+ namespace sc {
+
+ // Broadcaster storage container
+-typedef mdds::mtv::custom_block_func1<sc::element_type_broadcaster, sc::custom_broadcaster_block> BCBlkFunc;
++typedef mdds::mtv::custom_block_func1<sc::custom_broadcaster_block> BCBlkFunc;
+ typedef mdds::multi_type_vector<BCBlkFunc> BroadcasterStoreType;
-- if (!maSegments.search_tree(nPos, nValue, &nPos1, &nPos2))
-+ if (!maSegments.search_tree(nPos, nValue, &nPos1, &nPos2).second)
- return false;
+ // Cell text attribute container.
+-typedef mdds::mtv::custom_block_func1<sc::element_type_celltextattr, sc::custom_celltextattr_block> CTAttrFunc;
++typedef mdds::mtv::custom_block_func1<sc::custom_celltextattr_block> CTAttrFunc;
+ typedef mdds::multi_type_vector<CTAttrFunc> CellTextAttrStoreType;
- rData.mnPos1 = nPos1;
---- sc/source/core/tool/scmatrix.cxx.orig 2013-08-13 16:11:48.000000000 -0400
-+++ sc/source/core/tool/scmatrix.cxx 2013-09-16 12:27:09.000000000 -0400
+ /**
+--- sc/source/core/tool/scmatrix.cxx.org 2013-07-25 21:26:36.733621612 +0200
++++ sc/source/core/tool/scmatrix.cxx 2013-07-25 21:27:08.784683394 +0200
@@ -89,7 +89,7 @@
}
}
@@ -31,34 +25,3 @@
{
if (!p)
return;
---- sc/source/filter/excel/colrowst.cxx.orig 2013-08-13 16:11:48.000000000 -0400
-+++ sc/source/filter/excel/colrowst.cxx 2013-08-16 18:29:17.000000000 -0400
-@@ -208,7 +208,7 @@
- if (GetColFlag(nCol, EXC_COLROW_USED))
- {
- sal_uInt16 nTmp;
-- if (maColWidths.search_tree(nCol, nTmp))
-+ if (maColWidths.search_tree(nCol, nTmp).second)
- nWidth = nTmp;
- }
-
-@@ -258,7 +258,7 @@
- for (SCROW i = nPrevRow; i <= nRow - 1; ++i)
- {
- SCROW nLast;
-- if (!maRowHeights.search_tree(i, nHeight, NULL, &nLast))
-+ if (!maRowHeights.search_tree(i, nHeight, NULL, &nLast).second)
- {
- // search failed for some reason
- return;
---- sc/source/filter/xml/XMLStylesExportHelper.cxx.orig 2013-08-13 16:11:48.000000000 -0400
-+++ sc/source/filter/xml/XMLStylesExportHelper.cxx 2013-08-16 18:29:17.000000000 -0400
-@@ -1290,7 +1290,7 @@
- r.build_tree();
- sal_Int32 nStyle;
- sal_Int32 nStart, nEnd;
-- if (r.search_tree(nField, nStyle, &nStart, &nEnd))
-+ if (r.search_tree(nField, nStyle, &nStart, &nEnd).second)
- {
- // Cache this value for better performance.
- maCache.mnTable = nTable;
diff --git a/editors/libreoffice/files/patch-odk__pack__gendocu__makefile.mk b/editors/libreoffice/files/patch-odk__pack__gendocu__makefile.mk
deleted file mode 100644
index 96e61b0ee1dd..000000000000
--- a/editors/libreoffice/files/patch-odk__pack__gendocu__makefile.mk
+++ /dev/null
@@ -1,11 +0,0 @@
---- ./odk/pack/gendocu/makefile.mk.orig 2013-01-31 05:54:53.000000000 -0500
-+++ ./odk/pack/gendocu/makefile.mk 2013-02-18 18:38:29.000000000 -0500
-@@ -97,7 +97,7 @@
- $(JAVA_SRC_FILES) : $(SOLARCOMMONPCKDIR)$/$$(@:f)
- -$(MKDIRHIER) $(@:d)
- $(MY_COPY) $< $@
-- cd $(JAVA_SRC_DIR) && unzip -quo $(@:f)
-+ cd $(JAVA_SRC_DIR) && unzip -qu $(@:f)
-
- #$(JAVA_SRC_DIR)$/com$/sun$/star$/beans$/%.java : $(PRJ)$/source$/bean$/com$/sun$/star$/beans$/%.java
- # -$(MKDIRHIER) $(@:d)
diff --git a/editors/libreoffice/files/patch-sd__Module_sd.mk b/editors/libreoffice/files/patch-sd__Module_sd.mk
index 7df8068e9bfc..14081cf28498 100644
--- a/editors/libreoffice/files/patch-sd__Module_sd.mk
+++ b/editors/libreoffice/files/patch-sd__Module_sd.mk
@@ -1,10 +1,10 @@
---- ./sd/Module_sd.mk.orig 2013-03-12 07:00:34.000000000 -0400
-+++ ./sd/Module_sd.mk 2013-03-20 16:36:08.000000000 -0400
-@@ -44,7 +44,6 @@
+--- sd/Module_sd.mk.orig 2013-12-11 01:11:21.000000000 +0900
++++ sd/Module_sd.mk 2014-01-29 17:01:07.000000000 +0900
+@@ -24,7 +24,6 @@
ifneq ($(OS),DRAGONFLY)
$(eval $(call gb_Module_add_check_targets,sd,\
- CppunitTest_sd_uimpress \
- CppunitTest_sd_regression_test \
+ CppunitTest_sd_import_tests \
CppunitTest_sd_filters_test \
))
diff --git a/editors/libreoffice/files/patch-solenv__gbuild__Deliver.mk b/editors/libreoffice/files/patch-solenv__gbuild__Deliver.mk
deleted file mode 100644
index 1ac989eb9d2b..000000000000
--- a/editors/libreoffice/files/patch-solenv__gbuild__Deliver.mk
+++ /dev/null
@@ -1,11 +0,0 @@
---- solenv/gbuild/Deliver.mk.orig 2013-05-02 11:55:29.000000000 -0400
-+++ solenv/gbuild/Deliver.mk 2013-05-08 17:43:53.000000000 -0400
-@@ -60,7 +60,7 @@
- endef
-
- define gb_Deliver__deliver
--$(if $(gb_Deliver_CLEARONDELIVER),rm -f $(2) &&) $(if $(gb_Deliver_HARDLINK),ln,cp -P -f) $(1) $(2) && touch $(if $(filter-out MACOSX,$(OS_FOR_BUILD)),--no-dereference) -r $(1) $(2)
-+$(if $(gb_Deliver_CLEARONDELIVER),rm -f $(2) &&) $(if $(gb_Deliver_HARDLINK),ln,cp -P -f) $(1) $(2) && touch $(if $(filter-out FREEBSD NETBSD OPENBSD DRAGONFLY MACOSX,$(OS_FOR_BUILD)),--no-dereference) -r $(1) $(2)
- endef
-
- ifneq ($(strip $(gb_Deliver_GNUCOPY)),)
diff --git a/editors/libreoffice/files/patch-solenv__gbuild__platform__unxgcc.mk b/editors/libreoffice/files/patch-solenv__gbuild__platform__unxgcc.mk
index 19422ce327b9..d8afe2d14f9f 100644
--- a/editors/libreoffice/files/patch-solenv__gbuild__platform__unxgcc.mk
+++ b/editors/libreoffice/files/patch-solenv__gbuild__platform__unxgcc.mk
@@ -1,11 +1,11 @@
---- ./solenv/gbuild/platform/unxgcc.mk.orig 2013-02-19 19:39:23.000000000 -0500
-+++ ./solenv/gbuild/platform/unxgcc.mk 2013-02-19 19:35:41.000000000 -0500
-@@ -53,7 +53,7 @@
+--- solenv/gbuild/platform/unxgcc.mk.orig 2013-12-11 01:11:21.000000000 +0900
++++ solenv/gbuild/platform/unxgcc.mk 2014-01-29 17:09:01.000000000 +0900
+@@ -48,7 +48,7 @@
gb_CXXFLAGS := \
$(gb_CXXFLAGS_COMMON) \
-fPIC \
- -Wshadow \
+ -Wno-unused-parameter \
- -Wsign-promo \
-Woverloaded-virtual \
+ ifneq ($(COM_GCC_IS_CLANG),TRUE)
diff --git a/editors/libreoffice/files/patch-sw__Module_sw.mk b/editors/libreoffice/files/patch-sw__Module_sw.mk
index 425f66fdb5bd..7e1f0321060b 100644
--- a/editors/libreoffice/files/patch-sw__Module_sw.mk
+++ b/editors/libreoffice/files/patch-sw__Module_sw.mk
@@ -1,16 +1,17 @@
---- ./sw/Module_sw.mk.orig 2013-03-12 07:00:34.000000000 -0400
-+++ ./sw/Module_sw.mk 2013-03-21 13:32:32.000000000 -0400
-@@ -37,13 +37,7 @@
+--- sw/Module_sw.mk.orig 2013-12-11 01:11:21.000000000 +0900
++++ sw/Module_sw.mk 2014-01-29 17:12:45.000000000 +0900
+@@ -41,14 +41,8 @@
endif
-$(eval $(call gb_Module_add_check_targets,sw,\
-- CppunitTest_sw_swdoc_test \
+- CppunitTest_sw_uwriter \
-))
-
$(eval $(call gb_Module_add_slowcheck_targets,sw,\
+ CppunitTest_sw_htmlexport \
- CppunitTest_sw_macros_test \
-- CppunitTest_sw_subsequent_ooxmlexport \
- CppunitTest_sw_subsequent_ooxmlimport \
- CppunitTest_sw_subsequent_ww8export \
- CppunitTest_sw_subsequent_ww8import \
+- CppunitTest_sw_ooxmlexport \
+ CppunitTest_sw_ooxmlimport \
+ CppunitTest_sw_ww8export \
+ CppunitTest_sw_ww8import \
diff --git a/editors/libreoffice/files/patch-sw__inc__unotbl.hxx b/editors/libreoffice/files/patch-sw__inc__unotbl.hxx
new file mode 100644
index 000000000000..aefa64ccb5a4
--- /dev/null
+++ b/editors/libreoffice/files/patch-sw__inc__unotbl.hxx
@@ -0,0 +1,11 @@
+--- sw/inc/unotbl.hxx.orig 2014-02-05 10:04:15.000000000 -0500
++++ sw/inc/unotbl.hxx 2014-02-25 12:20:50.000000000 -0500
+@@ -71,7 +71,7 @@
+ public SwClient
+ {
+ friend void sw_setString( SwXCell &rCell, const OUString &rTxt,
+- sal_Bool bKeepNumberFmt = sal_False );
++ sal_Bool bKeepNumberFmt );
+ friend double sw_getValue( SwXCell &rCell );
+ friend void sw_setValue( SwXCell &rCell, double nVal );
+
diff --git a/editors/libreoffice/files/patch-sw__inc__viewsh.hxx b/editors/libreoffice/files/patch-sw__inc__viewsh.hxx
new file mode 100644
index 000000000000..e4e728138c02
--- /dev/null
+++ b/editors/libreoffice/files/patch-sw__inc__viewsh.hxx
@@ -0,0 +1,11 @@
+--- sw/inc/viewsh.hxx.orig 2014-02-05 10:04:15.000000000 -0500
++++ sw/inc/viewsh.hxx 2014-02-25 12:20:50.000000000 -0500
+@@ -109,7 +109,7 @@
+
+
+ // Set SwVisArea in order to enable clean formatting before printing.
+- friend void SetSwVisArea( ViewShell *pSh, const SwRect &, sal_Bool bPDFExport = sal_False );
++ friend void SetSwVisArea( ViewShell *pSh, const SwRect & );
+
+ static BitmapEx* mpReplaceBmp; ///< replaced display of still loaded images
+ static BitmapEx* mpErrorBmp; ///< error display of missed images
diff --git a/editors/libreoffice/files/patch-sw__source__core__inc__frame.hxx b/editors/libreoffice/files/patch-sw__source__core__inc__frame.hxx
new file mode 100644
index 000000000000..33b4e3aa5b4d
--- /dev/null
+++ b/editors/libreoffice/files/patch-sw__source__core__inc__frame.hxx
@@ -0,0 +1,11 @@
+--- sw/source/core/inc/frame.hxx.orig 2014-02-05 10:04:15.000000000 -0500
++++ sw/source/core/inc/frame.hxx 2014-02-25 12:20:50.000000000 -0500
+@@ -234,7 +234,7 @@
+ friend class SwLooping;
+
+ // voids lower during creation of a column
+- friend SwFrm *SaveCntnt( SwLayoutFrm *, SwFrm* pStart = NULL );
++ friend SwFrm *SaveCntnt( SwLayoutFrm *, SwFrm* pStart );
+ friend void RestoreCntnt( SwFrm *, SwLayoutFrm *, SwFrm *pSibling, bool bGrow );
+
+ #ifdef DBG_UTIL
diff --git a/editors/libreoffice/files/patch-sw__source__core__inc__frmtool.hxx b/editors/libreoffice/files/patch-sw__source__core__inc__frmtool.hxx
new file mode 100644
index 000000000000..12cf48b7f474
--- /dev/null
+++ b/editors/libreoffice/files/patch-sw__source__core__inc__frmtool.hxx
@@ -0,0 +1,11 @@
+--- sw/source/core/inc/frmtool.hxx.orig 2014-02-05 10:04:15.000000000 -0500
++++ sw/source/core/inc/frmtool.hxx 2014-02-25 12:20:50.000000000 -0500
+@@ -70,7 +70,7 @@
+
+ sal_uLong SqRt( BigInt nX );
+
+-SwFrm *SaveCntnt( SwLayoutFrm *pLay, SwFrm *pStart );
++SwFrm *SaveCntnt( SwLayoutFrm *pLay, SwFrm *pStart = NULL );
+ void RestoreCntnt( SwFrm *pSav, SwLayoutFrm *pParent, SwFrm *pSibling, bool bGrow );
+
+ // Get CntntNodes, create CntntFrms, and add them to LayFrm.
diff --git a/editors/libreoffice/files/patch-sw__source__core__unocore__unotbl.cxx b/editors/libreoffice/files/patch-sw__source__core__unocore__unotbl.cxx
new file mode 100644
index 000000000000..23f35cfbad79
--- /dev/null
+++ b/editors/libreoffice/files/patch-sw__source__core__unocore__unotbl.cxx
@@ -0,0 +1,11 @@
+--- sw/source/core/unocore/unotbl.cxx.orig 2014-02-05 10:04:15.000000000 -0500
++++ sw/source/core/unocore/unotbl.cxx 2014-02-25 12:20:50.000000000 -0500
+@@ -692,7 +692,7 @@
+
+ /* non UNO function call to set string in SwXCell */
+ void sw_setString( SwXCell &rCell, const OUString &rTxt,
+- sal_Bool bKeepNumberFmt )
++ sal_Bool bKeepNumberFmt = sal_False )
+ {
+ if(rCell.IsValid())
+ {
diff --git a/editors/libreoffice/files/patch-sw__source__core__view__vprint.cxx b/editors/libreoffice/files/patch-sw__source__core__view__vprint.cxx
new file mode 100644
index 000000000000..1306360124d9
--- /dev/null
+++ b/editors/libreoffice/files/patch-sw__source__core__view__vprint.cxx
@@ -0,0 +1,11 @@
+--- sw/source/core/view/vprint.cxx.orig 2014-02-05 10:04:15.000000000 -0500
++++ sw/source/core/view/vprint.cxx 2014-02-25 12:20:50.000000000 -0500
+@@ -172,7 +172,7 @@
+ }
+ }
+
+-void SetSwVisArea( ViewShell *pSh, const SwRect &rRect, sal_Bool /*bPDFExport*/ )
++void SetSwVisArea( ViewShell *pSh, const SwRect &rRect )
+ {
+ OSL_ENSURE( !pSh->GetWin(), "Drucken mit Window?" );
+ pSh->maVisArea = rRect;
diff --git a/editors/libreoffice/files/patch-sysui__Module_sysui.mk b/editors/libreoffice/files/patch-sysui__Module_sysui.mk
new file mode 100644
index 000000000000..126195ba4c9a
--- /dev/null
+++ b/editors/libreoffice/files/patch-sysui__Module_sysui.mk
@@ -0,0 +1,10 @@
+--- sysui/Module_sysui.mk.orig 2014-02-05 10:04:15.000000000 -0500
++++ sysui/Module_sysui.mk 2014-02-24 14:02:40.000000000 -0500
+@@ -12,7 +12,6 @@
+ ifneq ($(OS),WNT)
+ $(eval $(call gb_Module_add_targets,sysui,\
+ CustomTarget_share \
+- CustomTarget_slackware \
+ Package_share \
+ Package_desktop \
+ $(if $(filter rpm,$(PKGFORMAT)),CustomTarget_rpm) \
diff --git a/editors/libreoffice/files/patch-sysui__desktop__share__create_tree.sh b/editors/libreoffice/files/patch-sysui__desktop__share__create_tree.sh
index 7abb4306d9d1..eeaebd87af9e 100644
--- a/editors/libreoffice/files/patch-sysui__desktop__share__create_tree.sh
+++ b/editors/libreoffice/files/patch-sysui__desktop__share__create_tree.sh
@@ -1,11 +1,11 @@
---- ./sysui/desktop/share/create_tree.sh.orig 2013-01-31 05:54:53.000000000 -0500
-+++ ./sysui/desktop/share/create_tree.sh 2013-02-18 18:46:30.000000000 -0500
-@@ -60,32 +60,32 @@
+--- sysui/desktop/share/create_tree.sh.orig 2013-12-11 01:11:21.000000000 +0900
++++ sysui/desktop/share/create_tree.sh 2014-01-29 17:16:09.000000000 +0900
+@@ -57,32 +57,32 @@
chmod 0644 "${DESTDIR}/${GNOMEDIR}/share/application-registry/${PREFIX}".*
fi
-mkdir -p "${DESTDIR}/usr/bin"
-+mkdir -p "${DESTDIR}/${PREFIXSDIR}/bin"
++mkdir -p "${DESTDIR}/${PREFIXDIR}/bin"
test -n "${OFFICE_PREFIX}" && office_prefix="${OFFICE_PREFIX}" || office_prefix=/opt
office_root=${office_prefix}/${PREFIX}
@@ -19,7 +19,7 @@
+cp printeradmin.sh "${DESTDIR}/${PREFIXDIR}/bin/${PREFIX}-printeradmin"
+chmod 0755 "${DESTDIR}/${PREFIXDIR}/bin/${PREFIX}-printeradmin"
- if test "${PREFIX}" != libreoffice${PRODUCTVERSION} -a "${PREFIX}" != lodev${PRODUCTVERSION} ; then
+ if test "${PREFIX}" != libreoffice${PRODUCTVERSION} -a "${PREFIX}" != libreofficedev${PRODUCTVERSION} ; then
# compat symlinks
mkdir -p "${DESTDIR}${office_prefix}"
ln -sf libreoffice${PRODUCTVERSION} "${DESTDIR}${office_root}"
@@ -29,7 +29,7 @@
+ ln -sf /${PREFIXDIR}/bin/${PREFIX}-printeradmin "${DESTDIR}/${PREFIXDIR}/bin/libreoffice${PRODUCTVERSION}-printeradmin"
fi
- test "${PREFIX}" = lodev${PRODUCTVERSION} && mime_def_file="lodev${PRODUCTVERSION}.xml" || mime_def_file="libreoffice${PRODUCTVERSION}.xml"
+ test "${PREFIX}" = libreofficedev${PRODUCTVERSION} && mime_def_file="libreofficedev${PRODUCTVERSION}.xml" || mime_def_file="libreoffice${PRODUCTVERSION}.xml"
-mkdir -p "${DESTDIR}/usr/share/mime/packages"
-cp openoffice.org.xml "${DESTDIR}/usr/share/mime/packages/$mime_def_file"
-chmod 0644 "${DESTDIR}/usr/share/mime/packages/$mime_def_file"
diff --git a/editors/libreoffice/files/patch-testtools__Module_testtools.mk b/editors/libreoffice/files/patch-testtools__Module_testtools.mk
deleted file mode 100644
index 974bcdb4e942..000000000000
--- a/editors/libreoffice/files/patch-testtools__Module_testtools.mk
+++ /dev/null
@@ -1,17 +0,0 @@
---- ./testtools/Module_testtools.mk.orig 2013-01-31 05:54:53.000000000 -0500
-+++ ./testtools/Module_testtools.mk 2013-02-22 14:30:43.000000000 -0500
-@@ -55,14 +55,6 @@
- #))
- #endif
-
--# FIXME: Mac OSX PPC GCC fails this test!, likely broken UNO bridge.
--# (is it still relevant?)
--ifneq ($(COM)$(OS)$(CPU),GCCMACOSXP)
--$(eval $(call gb_Module_add_check_targets,testtools,\
-- CustomTarget_uno_test \
--))
--endif
--
- endif
-
- # vim:set shiftwidth=4 softtabstop=4 expandtab:
diff --git a/editors/libreoffice/files/patch-vcl__headless__svptext.cxx b/editors/libreoffice/files/patch-vcl__headless__svptext.cxx
new file mode 100644
index 000000000000..8fb850ad2ad6
--- /dev/null
+++ b/editors/libreoffice/files/patch-vcl__headless__svptext.cxx
@@ -0,0 +1,11 @@
+--- vcl/headless/svptext.cxx.orig 2014-02-05 10:04:15.000000000 -0500
++++ vcl/headless/svptext.cxx 2014-02-24 14:16:24.000000000 -0500
+@@ -172,7 +172,7 @@
+
+ void SvpGlyphPeer::RemovingGlyph( ServerFont&, GlyphData& rGlyphData, int /*nGlyphIndex*/ )
+ {
+- if( rGlyphData.ExtDataRef().mpData != Format::NONE )
++ if( rGlyphData.ExtDataRef().mpData != 0 )
+ {
+ // release the glyph related resources
+ DBG_ASSERT( (rGlyphData.ExtDataRef().meInfo <= Format::MAX), "SVP::RG() invalid alpha format" );