summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-02-09 14:55:17 +0000
committerCaolán McNamara <caolanm@redhat.com>2011-02-09 14:55:17 +0000
commitb788f9fc846c0f47d02df02ac6733c0ac21a13c6 (patch)
treed4dfbe4cb573c635a902029d2ebf02d7b9cd6896
parent263c9480db440d429800d439ea1586c096b60829 (diff)
Resolves: rhbz#675806 crash in es thesaurus
-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);