summaryrefslogtreecommitdiff
path: root/libexttextcat/unkown.patch.1
blob: 731175817a73b3ebc24ae456c95e1231de36b228 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
diff -ur exttextcat.old/configure exttextcat/configure
--- exttextcat.old/configure	2012-06-28 10:17:56.000000000 +0200
+++ exttextcat/configure	2013-03-25 18:58:00.520816594 +0100
@@ -11776,9 +11776,9 @@
 
 EXTTEXTCAT_MINOR_VERSION=4
 
-EXTTEXTCAT_MICRO_VERSION=0
+EXTTEXTCAT_MICRO_VERSION=1
 
-EXTTEXTCAT_VERSION=3.4.0
+EXTTEXTCAT_VERSION=3.4.1
 
 
 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
@@ -274,10 +274,10 @@
     switch (cnt)
     {
     case TEXTCAT_RESULT_UNKOWN:
-        result = _TEXTCAT_RESULT_UNKOWN;
+        result = TEXTCAT_RESULT_UNKNOWN_STR;
         break;
     case TEXTCAT_RESULT_SHORT:
-        result = _TEXTCAT_RESULT_SHORT;
+        result = TEXTCAT_RESULT_SHORT_STR;
         break;
     default:
         {
diff -ur exttextcat.old/src/textcat.h exttextcat/src/textcat.h
--- exttextcat.old/src/textcat.h	2012-01-13 22:04:24.000000000 +0100
+++ exttextcat/src/textcat.h	2013-03-25 16:22:11.131896925 +0100
@@ -40,8 +40,8 @@
 #include "common.h"
 #include "textcat_properties.h"
 
-#define _TEXTCAT_RESULT_UNKOWN        "UNKNOWN"
-#define _TEXTCAT_RESULT_SHORT         "SHORT"
+#define TEXTCAT_RESULT_UNKNOWN_STR   "UNKNOWN"
+#define TEXTCAT_RESULT_SHORT_STR     "SHORT"
 #define TEXTCAT_RESULT_UNKOWN        0
 #define TEXTCAT_RESULT_SHORT         -2