PKGBUILDs/extra/ocrad/ocrad-0.17-gcc43.patch
2009-10-09 21:23:22 -05:00

101 lines
3 KiB
Diff

diff -up ocrad-0.17/textblock.cc.gcc43 ocrad-0.17/textblock.cc
--- ocrad-0.17/textblock.cc.gcc43 2007-06-29 14:29:13.000000000 +0200
+++ ocrad-0.17/textblock.cc 2008-02-19 19:36:25.000000000 +0100
@@ -18,6 +18,7 @@
#include <algorithm>
#include <cstdio>
#include <vector>
+#include <string>
#include "common.h"
#include "rational.h"
diff -up ocrad-0.17/page_image_layout.cc.gcc43 ocrad-0.17/page_image_layout.cc
--- ocrad-0.17/page_image_layout.cc.gcc43 2007-06-29 14:29:13.000000000 +0200
+++ ocrad-0.17/page_image_layout.cc 2008-02-19 19:36:25.000000000 +0100
@@ -18,6 +18,8 @@
#include <algorithm>
#include <cstdio>
#include <vector>
+#include <cstdlib>
+#include <string>
#include "common.h"
#include "rational.h"
diff -up ocrad-0.17/track.cc.gcc43 ocrad-0.17/track.cc
--- ocrad-0.17/track.cc.gcc43 2008-02-19 19:37:08.000000000 +0100
+++ ocrad-0.17/track.cc 2008-02-19 19:37:30.000000000 +0100
@@ -17,6 +17,7 @@
#include <algorithm>
#include <vector>
+#include <cstdio>
#include "common.h"
#include "rectangle.h"
diff -up ocrad-0.17/textline.cc.gcc43 ocrad-0.17/textline.cc
--- ocrad-0.17/textline.cc.gcc43 2007-06-29 14:29:13.000000000 +0200
+++ ocrad-0.17/textline.cc 2008-02-19 19:36:25.000000000 +0100
@@ -19,6 +19,7 @@
#include <cctype>
#include <cstdio>
#include <vector>
+#include <string>
#include "common.h"
#include "rational.h"
diff -up ocrad-0.17/common.cc.gcc43 ocrad-0.17/common.cc
--- ocrad-0.17/common.cc.gcc43 2007-06-29 14:29:13.000000000 +0200
+++ ocrad-0.17/common.cc 2008-02-19 19:36:25.000000000 +0100
@@ -17,6 +17,7 @@
#include <algorithm>
#include <cstdio>
+#include <cstring>
#include <cstdlib>
#include "common.h"
diff -up ocrad-0.17/textpage.cc.gcc43 ocrad-0.17/textpage.cc
--- ocrad-0.17/textpage.cc.gcc43 2007-06-29 14:29:13.000000000 +0200
+++ ocrad-0.17/textpage.cc 2008-02-19 19:36:25.000000000 +0100
@@ -18,6 +18,7 @@
#include <cstdio>
#include <string>
#include <vector>
+#include <algorithm>
#include "common.h"
#include "rectangle.h"
diff -up ocrad-0.17/textline_r2.cc.gcc43 ocrad-0.17/textline_r2.cc
--- ocrad-0.17/textline_r2.cc.gcc43 2007-06-29 14:29:13.000000000 +0200
+++ ocrad-0.17/textline_r2.cc 2008-02-19 19:36:25.000000000 +0100
@@ -18,6 +18,7 @@
#include <cctype>
#include <cstdio>
#include <vector>
+#include <cstdlib>
#include "common.h"
#include "rectangle.h"
diff -up ocrad-0.17/page_image.cc.gcc43 ocrad-0.17/page_image.cc
--- ocrad-0.17/page_image.cc.gcc43 2007-06-29 14:29:13.000000000 +0200
+++ ocrad-0.17/page_image.cc 2008-02-19 19:36:25.000000000 +0100
@@ -19,6 +19,8 @@
#include <cctype>
#include <cstdio>
#include <vector>
+#include <climits>
+#include <string>
#include "common.h"
#include "rational.h"
diff -up ocrad-0.17/character_r12.cc.gcc43 ocrad-0.17/character_r12.cc
--- ocrad-0.17/character_r12.cc.gcc43 2007-06-29 14:29:13.000000000 +0200
+++ ocrad-0.17/character_r12.cc 2008-02-19 19:36:25.000000000 +0100
@@ -17,6 +17,7 @@
#include <cstdio>
#include <vector>
+#include <cstdlib>
#include "common.h"
#include "rectangle.h"
#include "ucs.h"