summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2012-06-05 21:53:42 +0000
committerwiz <wiz@pkgsrc.org>2012-06-05 21:53:42 +0000
commit04895e397a47e689cdab0cfb4d5543c200870742 (patch)
treecbabf873f9cbce48c952f5395f9cb6d7a87f1a82 /misc
parent4c8eb0269eae7202af15750bdaebe1250a3fff46 (diff)
downloadpkgsrc-04895e397a47e689cdab0cfb4d5543c200870742.tar.gz
Add two patches from wip (ftigeot). Bump PKGREVISION.
Diffstat (limited to 'misc')
-rw-r--r--misc/libreoffice/Makefile3
-rw-r--r--misc/libreoffice/distinfo4
-rw-r--r--misc/libreoffice/patches/patch-lingucomponent_source_languageguessing_simpleguesser.cxx16
-rw-r--r--misc/libreoffice/patches/patch-solenv_inc_unxgcc.mk19
4 files changed, 40 insertions, 2 deletions
diff --git a/misc/libreoffice/Makefile b/misc/libreoffice/Makefile
index 18f04587efb..dca50b2356f 100644
--- a/misc/libreoffice/Makefile
+++ b/misc/libreoffice/Makefile
@@ -1,8 +1,9 @@
-# $NetBSD: Makefile,v 1.1.1.1 2012/06/01 06:12:13 wiz Exp $
+# $NetBSD: Makefile,v 1.2 2012/06/05 21:53:42 wiz Exp $
VER= 3.5.4.2
DISTNAME= libreoffice-${VER}
PKGNAME= libreoffice-${VER:S/-//g}
+PKGREVISION= 1
CATEGORIES= misc
MASTER_SITES= http://download.documentfoundation.org/libreoffice/src/3.5.4/ \
http://dev-www.libreoffice.org/src/ \
diff --git a/misc/libreoffice/distinfo b/misc/libreoffice/distinfo
index 93194dc32fe..a2f9f406026 100644
--- a/misc/libreoffice/distinfo
+++ b/misc/libreoffice/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.1.1.1 2012/06/01 06:12:13 wiz Exp $
+$NetBSD: distinfo,v 1.2 2012/06/05 21:53:42 wiz Exp $
SHA1 (libreoffice/067201ea8b126597670b5eff72e1f66c-mythes-1.2.0.tar.gz) = 025d5d0d566a23ddb353495c116116c1088ba2e9
RMD160 (libreoffice/067201ea8b126597670b5eff72e1f66c-mythes-1.2.0.tar.gz) = aefa80476ef8340be84440b61f738f432da51c92
@@ -42,9 +42,11 @@ Size (libreoffice/libreoffice-help-3.5.4.2.tar.xz) = 1857756 bytes
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_inc_unxgcc.mk) = 1bebcc32475b6592a97384410c1036ab647eacec
SHA1 (patch-sw_Module_sw.mk) = 48ca89a9a318dea3975d42869994dc89e0449c6e
SHA1 (patch-writerfilter_Module_writerfilter.mk) = 1eb3caa50258be5f8b5e2bb19e5f5d039b5eb7a0
diff --git a/misc/libreoffice/patches/patch-lingucomponent_source_languageguessing_simpleguesser.cxx b/misc/libreoffice/patches/patch-lingucomponent_source_languageguessing_simpleguesser.cxx
new file mode 100644
index 00000000000..d03b2be6cd4
--- /dev/null
+++ b/misc/libreoffice/patches/patch-lingucomponent_source_languageguessing_simpleguesser.cxx
@@ -0,0 +1,16 @@
+$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_inc_unxgcc.mk b/misc/libreoffice/patches/patch-solenv_inc_unxgcc.mk
new file mode 100644
index 00000000000..dc50f98c608
--- /dev/null
+++ b/misc/libreoffice/patches/patch-solenv_inc_unxgcc.mk
@@ -0,0 +1,19 @@
+$NetBSD: patch-solenv_inc_unxgcc.mk,v 1.1 2012/06/05 21:53:42 wiz Exp $
+
+Using -std=gnu++0x instead of -std=c++0x may avoid
+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
+@@ -88,7 +88,7 @@ CFLAGSCXX= -pipe $(ARCH_FLAGS)
+ CFLAGSCXX+=-fvisibility-inlines-hidden
+ .ENDIF # "$(HAVE_GCC_VISIBILITY_FEATURE)" == "TRUE"
+ .IF "$(HAVE_CXX0X)" == "TRUE"
+-CFLAGSCXX+=-std=c++0x
++CFLAGSCXX+=-std=gnu++0x
+ .IF "$(GCCNUMVER)" <= "000400059999"
+ CFLAGSCXX+=-Wno-deprecated-declarations
+ .ENDIF