SOURCES: ocrad-gcc4.patch (NEW) - fix build with gcc 4

qboosh qboosh at pld-linux.org
Sun Feb 19 20:20:26 CET 2006


Author: qboosh                       Date: Sun Feb 19 19:20:26 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- fix build with gcc 4

---- Files affected:
SOURCES:
   ocrad-gcc4.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/ocrad-gcc4.patch
diff -u /dev/null SOURCES/ocrad-gcc4.patch:1.1
--- /dev/null	Sun Feb 19 20:20:26 2006
+++ SOURCES/ocrad-gcc4.patch	Sun Feb 19 20:20:21 2006
@@ -0,0 +1,23 @@
+--- ocrad-0.14/page_image_layout.cc.orig	2006-01-02 19:31:18.000000000 +0100
++++ ocrad-0.14/page_image_layout.cc	2006-02-19 20:13:54.160338000 +0100
+@@ -27,10 +27,6 @@
+ #include "page_image.h"
+ 
+ 
+-namespace {
+-
+-void find_rows( const Rectangle & rin, bool recursive ) throw();
+-
+ void Page_image::find_columns( const Rectangle & rin, bool recursive ) throw()
+   {
+   if( !this->includes( rin ) ) return;
+@@ -172,9 +168,6 @@
+     }
+   }
+ 
+-} // end namespace
+-
+-
+ // Creates a reduced Page_image
+ //
+ Page_image::Page_image( const Page_image & source, const int scale ) throw()
================================================================


More information about the pld-cvs-commit mailing list