summaryrefslogtreecommitdiff
path: root/mythes
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
commit5becd474bc9242aeb0e39c5485bbdd9f5149ee5e (patch)
tree674cbca9f2bcda85f1cea1093a466b61994c1c66 /mythes
parent138cf77e5191084bf61d09b2564655b48457c7be (diff)
Resolves: rhbz#675806 crash in es thesaurus
Diffstat (limited to 'mythes')
-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 b1667c331d93..131b1ee318f8 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 000000000000..be50bee34121
--- /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);