--- /dev/null
+--- tesseract-ocr/dict/permdawg.cpp~ 2012-09-02 22:08:43.000000000 +0200
++++ tesseract-ocr/dict/permdawg.cpp 2013-07-14 16:06:15.545850330 +0200
+@@ -205,7 +205,7 @@
+ STRING word_str;
+ word->string_and_lengths(&word_str, NULL);
+ word_str += " ";
+- fprintf(output_ambig_words_file_, word_str.string());
++ fprintf(output_ambig_words_file_, "%s", word_str.string());
+ }
+ WERD_CHOICE *adjusted_word = word;
+ WERD_CHOICE hyphen_tail_word(&getUnicharset());
Summary(pl.UTF-8): Tesseract - silnik OCR o otwartych źródłach
Name: tesseract
Version: 3.02.02
-Release: 1
+Release: 2
License: Apache v2.0
Group: Applications/Graphics
#Source0Download: http://code.google.com/p/tesseract-ocr/downloads/list
Source0: http://tesseract-ocr.googlecode.com/files/%{name}-ocr-%{version}.tar.gz
# Source0-md5: 26adc8154f0e815053816825dde246e6
+Patch0: format-security.patch
URL: http://code.google.com/p/tesseract-ocr/
BuildRequires: autoconf >= 2.50
BuildRequires: automake
%prep
%setup -q -n %{name}-ocr
+%patch0 -p1
%build
%{__libtoolize}