summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2012-08-12 15:55:55 +0000
committerwiz <wiz@pkgsrc.org>2012-08-12 15:55:55 +0000
commit83a30754da18878df42e5b2ac2ae090721051e3f (patch)
treea5a9fe2edc53d5c7f3dd28c5ff1b76b4ed5b869f /misc
parent05f2cf15008b02402c791328b742edf2731f1593 (diff)
downloadpkgsrc-83a30754da18878df42e5b2ac2ae090721051e3f.tar.gz
Update to 3.5.6.2 based on ftigeot's version in wip.
Security and bug fixes.
Diffstat (limited to 'misc')
-rw-r--r--misc/libreoffice/Makefile11
-rw-r--r--misc/libreoffice/distinfo26
-rw-r--r--misc/libreoffice/patches/patch-bridges_source_cpp_uno_gcc3_linux_x86-64_uno2cpp.cxx16
-rw-r--r--misc/libreoffice/patches/patch-lingucomponent_source_languageguessing_simpleguesser.cxx16
-rw-r--r--misc/libreoffice/patches/patch-solenv_gbuild_Module.mk9
-rw-r--r--misc/libreoffice/patches/patch-solenv_inc_unxgcc.mk10
6 files changed, 47 insertions, 41 deletions
diff --git a/misc/libreoffice/Makefile b/misc/libreoffice/Makefile
index f70111c70d3..0a23b289411 100644
--- a/misc/libreoffice/Makefile
+++ b/misc/libreoffice/Makefile
@@ -1,11 +1,11 @@
-# $NetBSD: Makefile,v 1.7 2012/07/04 12:43:36 obache Exp $
+# $NetBSD: Makefile,v 1.8 2012/08/12 15:55:55 wiz Exp $
-VER= 3.5.4.2
+VER= 3.5.6.2
DISTNAME= libreoffice-${VER}
PKGNAME= libreoffice-${VER:S/-//g}
-PKGREVISION= 3
CATEGORIES= misc
-MASTER_SITES= http://download.documentfoundation.org/libreoffice/src/3.5.4/ \
+MASTER_SITES= http://download.documentfoundation.org/libreoffice/src/3.5.6/ \
+ http://dev-www.libreoffice.org/src/ \
http://www.numbertext.org/linux/
MAINTAINER= ftigeot@wolfpond.org
@@ -43,7 +43,6 @@ EXTRACT_ONLY+= libreoffice-${component}-${VER}.tar.xz
.for md in ${MORE_DISTFILES}
DISTFILES+= ${md}
-SITES.${md}= http://dev-www.libreoffice.org/src/
.endfor
.include "../../mk/bsd.prefs.mk"
@@ -58,7 +57,7 @@ EXTRACT_USING= gtar
WRKSRC= ${WRKDIR}/${LO_BOOTSTRAP}
-BUILD_DEPENDS+= cppunit>1.12:../../devel/cppunit
+BUILD_DEPENDS+= cppunit>=1.12.1:../../devel/cppunit
BUILD_DEPENDS+= gperf-[0-9]*:../../devel/gperf
BUILD_DEPENDS+= hunspell>=1.2.8:../../textproc/hunspell
BUILD_DEPENDS+= p5-Archive-Zip-[0-9]*:../../archivers/p5-Archive-Zip
diff --git a/misc/libreoffice/distinfo b/misc/libreoffice/distinfo
index 25d9011a357..6c454823049 100644
--- a/misc/libreoffice/distinfo
+++ b/misc/libreoffice/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.3 2012/08/12 07:09:19 marino Exp $
+$NetBSD: distinfo,v 1.4 2012/08/12 15:55:55 wiz Exp $
SHA1 (libreoffice/067201ea8b126597670b5eff72e1f66c-mythes-1.2.0.tar.gz) = 025d5d0d566a23ddb353495c116116c1088ba2e9
RMD160 (libreoffice/067201ea8b126597670b5eff72e1f66c-mythes-1.2.0.tar.gz) = aefa80476ef8340be84440b61f738f432da51c92
@@ -30,24 +30,24 @@ Size (libreoffice/f872f4ac066433d8ff92f5e316b36ff9-dejavu-fonts-ttf-2.33.zip) =
SHA1 (libreoffice/fdb27bfe2dbe2e7b57ae194d9bf36bab-SampleICC-1.3.2.tar.gz) = 6e836945719e137596df1ca82f0afa809e8a2e88
RMD160 (libreoffice/fdb27bfe2dbe2e7b57ae194d9bf36bab-SampleICC-1.3.2.tar.gz) = 6443438ddf0bb5cd277c96108aa2671213edf8df
Size (libreoffice/fdb27bfe2dbe2e7b57ae194d9bf36bab-SampleICC-1.3.2.tar.gz) = 547217 bytes
-SHA1 (libreoffice/libreoffice-core-3.5.4.2.tar.xz) = a01d77612c9678d52a75fb160590bb76d670d7f6
-RMD160 (libreoffice/libreoffice-core-3.5.4.2.tar.xz) = e118cfa44ba198fa3d3fe8fc21bd1e3940270868
-Size (libreoffice/libreoffice-core-3.5.4.2.tar.xz) = 103422460 bytes
-SHA1 (libreoffice/libreoffice-dictionaries-3.5.4.2.tar.xz) = 719604c225293006c7168a7db672f7c57e4c91b4
-RMD160 (libreoffice/libreoffice-dictionaries-3.5.4.2.tar.xz) = 24ef97db9503a37fecf8cd6db519ff0cec8be0cf
-Size (libreoffice/libreoffice-dictionaries-3.5.4.2.tar.xz) = 32765928 bytes
-SHA1 (libreoffice/libreoffice-help-3.5.4.2.tar.xz) = 0d417affc2b91ef345cb010f3a2d11a6417b7f44
-RMD160 (libreoffice/libreoffice-help-3.5.4.2.tar.xz) = ce00c1893e0315fa7cee156707553fdcebb552d2
-Size (libreoffice/libreoffice-help-3.5.4.2.tar.xz) = 1857756 bytes
+SHA1 (libreoffice/libreoffice-core-3.5.6.2.tar.xz) = 8e6c6cee419608c985dbcba005384a8555e9c531
+RMD160 (libreoffice/libreoffice-core-3.5.6.2.tar.xz) = ecc0fe10bbd72be14f3691169137af4b7ab0bf7a
+Size (libreoffice/libreoffice-core-3.5.6.2.tar.xz) = 102714756 bytes
+SHA1 (libreoffice/libreoffice-dictionaries-3.5.6.2.tar.xz) = 733abaa1b718d41486d7c571749a198202d65929
+RMD160 (libreoffice/libreoffice-dictionaries-3.5.6.2.tar.xz) = fee843eee5081135e3d77297227e51d6bf730e45
+Size (libreoffice/libreoffice-dictionaries-3.5.6.2.tar.xz) = 32351944 bytes
+SHA1 (libreoffice/libreoffice-help-3.5.6.2.tar.xz) = d53969208aaa99d87300cdd06a6c310502f6485d
+RMD160 (libreoffice/libreoffice-help-3.5.6.2.tar.xz) = c28458688db57d5e9825eb88cd101e0c952da4b4
+Size (libreoffice/libreoffice-help-3.5.6.2.tar.xz) = 1856988 bytes
+SHA1 (patch-bridges_source_cpp_uno_gcc3_linux_x86-64_uno2cpp.cxx) = 0ebc0a071acd66f4b52f3e8f5361336a9e4248cb
SHA1 (patch-configure.in) = 32df5a0994e4424fda15c7fb78ef9e8f5e406cad
SHA1 (patch-i18npool_source_breakiterator_data_char.txt) = b290516019fb431e9b1ea5c5ced29aaa596cf44b
SHA1 (patch-i18npool_source_breakiterator_data_char_in.txt) = 028988f143ec67bf71f602b784dc8b5929492ca8
-SHA1 (patch-lingucomponent_source_languageguessing_simpleguesser.cxx) = 3dc51fa1cd0381a7d607107dbbaaa017e50a228a
SHA1 (patch-lotuswordpro_Module_lotuswordpro.mk) = 15f65e86c7b47f2113b68561a9a361ca69405000
SHA1 (patch-sc_Module_sc.mk) = 615e2cfd132fbb8eb4b5272f36f95b2881e27959
SHA1 (patch-sd_Module_sd.mk) = c1c49ed37086d868c44e600bf1d1784ae2973276
SHA1 (patch-set_soenv.in) = 754a82444bab39d5d51f2a033da153479f33d2ae
-SHA1 (patch-solenv_gbuild_Module.mk) = 2193f4edf7c2f8ea918191b4d48ab6725f7b6b92
-SHA1 (patch-solenv_inc_unxgcc.mk) = 1bebcc32475b6592a97384410c1036ab647eacec
+SHA1 (patch-solenv_gbuild_Module.mk) = f16443d43be20bffce957b0a4ea16964d942b06b
+SHA1 (patch-solenv_inc_unxgcc.mk) = f5914c651e54da7a4e0ac1ec0e00be4c43579d98
SHA1 (patch-sw_Module_sw.mk) = 358f7172278267cccfa6a624f49b1047af1a5788
SHA1 (patch-writerfilter_Module_writerfilter.mk) = 1eb3caa50258be5f8b5e2bb19e5f5d039b5eb7a0
diff --git a/misc/libreoffice/patches/patch-bridges_source_cpp_uno_gcc3_linux_x86-64_uno2cpp.cxx b/misc/libreoffice/patches/patch-bridges_source_cpp_uno_gcc3_linux_x86-64_uno2cpp.cxx
new file mode 100644
index 00000000000..0f0b129aaf1
--- /dev/null
+++ b/misc/libreoffice/patches/patch-bridges_source_cpp_uno_gcc3_linux_x86-64_uno2cpp.cxx
@@ -0,0 +1,16 @@
+$NetBSD: patch-bridges_source_cpp_uno_gcc3_linux_x86-64_uno2cpp.cxx,v 1.1 2012/08/12 15:55:56 wiz Exp $
+
+Do not try to include alloca.h if it doesn't exist
+
+--- bridges/source/cpp_uno/gcc3_linux_x86-64/uno2cpp.cxx.orig 2012-07-03 11:01:28.000000000 +0000
++++ bridges/source/cpp_uno/gcc3_linux_x86-64/uno2cpp.cxx
+@@ -26,7 +26,9 @@
+ *
+ ************************************************************************/
+
++#ifdef HAVE_ALLOCA_H
+ #include <alloca.h>
++#endif
+ #include <exception>
+ #include <typeinfo>
+
diff --git a/misc/libreoffice/patches/patch-lingucomponent_source_languageguessing_simpleguesser.cxx b/misc/libreoffice/patches/patch-lingucomponent_source_languageguessing_simpleguesser.cxx
deleted file mode 100644
index d03b2be6cd4..00000000000
--- a/misc/libreoffice/patches/patch-lingucomponent_source_languageguessing_simpleguesser.cxx
+++ /dev/null
@@ -1,16 +0,0 @@
-$NetBSD: patch-lingucomponent_source_languageguessing_simpleguesser.cxx,v 1.1 2012/06/05 21:53:42 wiz Exp $
-
-Fixes a build issue: 'utfstrlen' was not declared in this scope
-utfstrlen was never supposed to be used anyway:
-http://www.mail-archive.com/libreoffice@lists.freedesktop.org/msg30469.html
---- lingucomponent/source/languageguessing/simpleguesser.cxx.orig 2012-05-22 12:48:18.000000000 +0000
-+++ lingucomponent/source/languageguessing/simpleguesser.cxx
-@@ -118,7 +118,7 @@ vector<Guess> SimpleGuesser::GuessLangua
- return guesses;
-
- //calculate le number of unicode charcters (symbols)
-- int len = utfstrlen(text);
-+ int len = strlen(text);
-
- if (len > MAX_STRING_LENGTH_TO_ANALYSE)
- len = MAX_STRING_LENGTH_TO_ANALYSE;
diff --git a/misc/libreoffice/patches/patch-solenv_gbuild_Module.mk b/misc/libreoffice/patches/patch-solenv_gbuild_Module.mk
index 188d7b69a69..e5be4e2ce0d 100644
--- a/misc/libreoffice/patches/patch-solenv_gbuild_Module.mk
+++ b/misc/libreoffice/patches/patch-solenv_gbuild_Module.mk
@@ -1,4 +1,11 @@
-$NetBSD: patch-solenv_gbuild_Module.mk,v 1.1 2012/08/12 07:09:20 marino Exp $
+$NetBSD: patch-solenv_gbuild_Module.mk,v 1.2 2012/08/12 15:55:56 wiz Exp $
+
+Disable unit testing
+
+Some of the libreoffice unit tests, for example system fonts, require
+additional and currently unidentified dependencies to run. As a
+result, Libreoffice will build outside a clean environment but fails
+to build in pbulk chroot or Tinderbox.
--- solenv/gbuild/Module.mk.orig 2012-08-07 13:32:53.000000000 +0000
+++ solenv/gbuild/Module.mk
diff --git a/misc/libreoffice/patches/patch-solenv_inc_unxgcc.mk b/misc/libreoffice/patches/patch-solenv_inc_unxgcc.mk
index dc50f98c608..a8a6ffa5551 100644
--- a/misc/libreoffice/patches/patch-solenv_inc_unxgcc.mk
+++ b/misc/libreoffice/patches/patch-solenv_inc_unxgcc.mk
@@ -1,4 +1,4 @@
-$NetBSD: patch-solenv_inc_unxgcc.mk,v 1.1 2012/06/05 21:53:42 wiz Exp $
+$NetBSD: patch-solenv_inc_unxgcc.mk,v 1.2 2012/08/12 15:55:56 wiz Exp $
Using -std=gnu++0x instead of -std=c++0x may avoid
crashes on NetBSD and OpenBSD
@@ -6,7 +6,7 @@ crashes on NetBSD and OpenBSD
Upstream bug report:
https://bugs.freedesktop.org/show_bug.cgi?id=48134
---- solenv/inc/unxgcc.mk.orig 2012-05-22 12:48:18.000000000 +0000
+--- solenv/inc/unxgcc.mk.orig 2012-06-26 13:50:03.000000000 +0000
+++ solenv/inc/unxgcc.mk
@@ -88,7 +88,7 @@ CFLAGSCXX= -pipe $(ARCH_FLAGS)
CFLAGSCXX+=-fvisibility-inlines-hidden
@@ -14,6 +14,6 @@ https://bugs.freedesktop.org/show_bug.cgi?id=48134
.IF "$(HAVE_CXX0X)" == "TRUE"
-CFLAGSCXX+=-std=c++0x
+CFLAGSCXX+=-std=gnu++0x
- .IF "$(GCCNUMVER)" <= "000400059999"
- CFLAGSCXX+=-Wno-deprecated-declarations
- .ENDIF
+ CFLAGSCXX+=-Wno-deprecated-declarations -Wno-deprecated
+ .ENDIF # "$(HAVE_CXX0X)" == "TRUE"
+