[Libreoffice-commits] core.git: libexttextcat/unkown.patch.1 lingucomponent/source

Michael Stahl mstahl at redhat.com
Mon Mar 25 13:47:40 PDT 2013


 libexttextcat/unkown.patch.1                     |   15 +++++++++++++++
 lingucomponent/source/languageguessing/guess.cxx |    2 +-
 2 files changed, 16 insertions(+), 1 deletion(-)

New commits:
commit 221960b0281cf24a1c2402cce6ad1b7f0053973a
Author: Michael Stahl <mstahl at redhat.com>
Date:   Mon Mar 25 21:26:45 2013 +0100

    libexttextcat: mis-spell it again for old versions
    
    Also, windows build cunningly uses an included version header that would
    be overwritten by configure.
    
    Change-Id: Id01b5dcd0f021a11d016571b6ee81e4fb8495020

diff --git a/libexttextcat/unkown.patch.1 b/libexttextcat/unkown.patch.1
index f29aae2..7311758 100644
--- a/libexttextcat/unkown.patch.1
+++ b/libexttextcat/unkown.patch.1
@@ -13,6 +13,21 @@ diff -ur exttextcat.old/configure exttextcat/configure
  
  
  ac_config_files="$ac_config_files libexttextcat.pc Makefile langclass/Makefile langclass/LM/Makefile langclass/ShortTexts/Makefile src/Makefile src/exttextcat-version.h src/test-primary.sh src/test-secondary.sh"
+diff -ur exttextcat.old/src/exttextcat-version.h exttextcat/src/exttextcat-version.h
+--- exttextcat.old/src/exttextcat-version.h	2013-02-07 21:58:20.519793018 +0100
++++ exttextcat/src/exttextcat-version.h	2013-03-25 21:40:24.822732870 +0100
+@@ -1,9 +1,9 @@
+ #ifndef EXTTEXTCAT_VERSION_H
+ #define EXTTEXTCAT_VERSION_H
+ 
+-#define EXTTEXTCAT_VERSION "3.4.0"
++#define EXTTEXTCAT_VERSION "3.4.1"
+ #define EXTTEXTCAT_VERSION_MAJOR 3
+ #define EXTTEXTCAT_VERSION_MINOR 4
+-#define EXTTEXTCAT_VERSION_MICRO 0
++#define EXTTEXTCAT_VERSION_MICRO 1
+ 
+ #endif
 diff -ur exttextcat.old/src/textcat.c exttextcat/src/textcat.c
 --- exttextcat.old/src/textcat.c	2012-11-01 15:40:35.000000000 +0100
 +++ exttextcat/src/textcat.c	2013-03-25 16:22:57.226896529 +0100
diff --git a/lingucomponent/source/languageguessing/guess.cxx b/lingucomponent/source/languageguessing/guess.cxx
index baf1e37..6d7b61e 100644
--- a/lingucomponent/source/languageguessing/guess.cxx
+++ b/lingucomponent/source/languageguessing/guess.cxx
@@ -63,7 +63,7 @@ Guess::Guess(const char * guess_str)
            &&
            strcmp((const char*)(guess_str + 1), TEXTCAT_RESULT_SHORT_STR) != 0)
 #else
-        if(strcmp((const char*)(guess_str + 1), _TEXTCAT_RESULT_UNKNOWN) != 0
+        if(strcmp((const char*)(guess_str + 1), _TEXTCAT_RESULT_UNKOWN) != 0
            &&
            strcmp((const char*)(guess_str + 1), _TEXTCAT_RESULT_SHORT) != 0)
 #endif


More information about the Libreoffice-commits mailing list