summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-02-09 14:55:17 +0000
committerPetr Mladek <pmladek@suse.cz>2011-03-18 13:12:33 +0100
commitd318f4e50d254589d4653805d8d0bdc49660929e (patch)
treeea486550a8885efba851759a6cc91cebe5e082c5
parent61cc3e00a34af76e7d771201c51ef3c5256b6dd4 (diff)
Resolves: rhbz#675806 crash in es thesauruslibreoffice-3-3-2
(cherry picked from commit b788f9fc846c0f47d02df02ac6733c0ac21a13c6) Signed-off-by: David Tardon <dtardon@redhat.com> Signed-off-by: Michael Meeks <michael.meeks@novell.com> Signed-off-by: Thorsten Behrens <thb@documentfoundation.org>
-rw-r--r--mythes/makefile.mk6
-rw-r--r--mythes/mythes-1.2.1-rhbz675806.patch10
2 files changed, 14 insertions, 2 deletions
diff --git a/mythes/makefile.mk b/mythes/makefile.mk
index b1667c3..131b1ee 100644
--- a/mythes/makefile.mk
+++ b/mythes/makefile.mk
@@ -41,8 +41,10 @@ TARFILE_MD5=067201ea8b126597670b5eff72e1f66c
ADDITIONAL_FILES += makefile.mk
-PATCH_FILES=mythes-1.2.0-vanilla-th-gen-idx.patch \
- mythes-1.2.0-makefile-mk.diff
+PATCH_FILES=\
+ mythes-1.2.0-vanilla-th-gen-idx.patch \
+ mythes-1.2.0-makefile-mk.diff \
+ mythes-1.2.1-rhbz675806.patch
.IF "$(GUI)"=="UNX"
CONFIGURE_DIR=$(BUILD_DIR)
diff --git a/mythes/mythes-1.2.1-rhbz675806.patch b/mythes/mythes-1.2.1-rhbz675806.patch
new file mode 100644
index 0000000..be50bee
--- /dev/null
+++ b/mythes/mythes-1.2.1-rhbz675806.patch
@@ -0,0 +1,10 @@
+--- misc/mythes-1.2.0/mythes.cxx 2011-02-08 10:42:57.262964286 +0000
++++ misc/build/mythes-1.2.0/mythes.cxx 2011-02-08 10:43:06.305076490 +0000
+@@ -14,6 +14,7 @@
+ encoding = NULL;
+ list = NULL;
+ offst = NULL;
++ pdfile = NULL;
+
+ if (thInitialize(idxpath, datpath) != 1) {
+ fprintf(stderr,"Error - can't open %s or %s\n",idxpath, datpath);