office-gobmx/libexttextcat/unkown.patch.1
Michael Stahl 221960b028 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
2013-03-25 21:44:34 +01:00

60 lines
2.1 KiB
Groff

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