pkgsrc/graphics/ocrad/patches/patch-ab
obache 9bfb146725 Update ocrad to 0.18.
Based on patch provided by Uwe Klaus in PR 41617.

2009-05-08  Antonio Diaz  <ant_diaz@teleline.es>

	* Version 0.18 released.
	* Added a layout analyser able to process arbitrary pages.
	* Added new option `--quiet'.
	* The `--layout' option no more accepts an argument.
	* The `--crop' option now accepts negative coordinates.
	* New recognized letter; 'a' with ring above.
	* Fixed recognition on files with a single big character.
	* Fixed bug that didn't write maxval when saving pgm or ppm.
	* Fixed some includes that prevented compilation with GCC 4.3.0.
	* "make install-info" should now work on Debian and OS X.
	* Makefile.in: Man page is now installed by default.
	* New file testsuite/check.sh.
	* Arg_parser updated to 1.2.
	* Verbosity control of messages has been modified.

2007-06-29  Antonio Diaz  <ant_diaz@teleline.es>

	* Version 0.17 released.
	* License updated to GPL version 3 or later.
	* `--scale' no more suppresses ORF output.
	* Improved removal of thick frames.
	* Changed `Textline' to accept more than one big initial.
	* Class `Block' renamed to `Blob'.
	* `configure' and `Makefile.in' have been modified to be more
	  GNU-standards compliant.

2006-10-20  Antonio Diaz  <ant_diaz@teleline.es>

	* Version 0.16 released.
	* Added new option `--filter'.
	* Better algorithm for vertical space detection (blank lines).
	* Some fixes made to `configure' script.
	* Added two new debug levels.
	* Improvements in character recognition.

2006-04-03  Antonio Diaz  <ant_diaz@teleline.es>

	* Version 0.15 released.
	* Added new argument parser that replaces `getopt_long'.
	* Fixed a bug that prevented compilation with GCC 4.1.

2006-02-15  Antonio Diaz  <ant_diaz@teleline.es>

	* Version 0.14 released.
	* Ocrad is now able to read ppm files.
	* Added new class `Page_image' (256-level greymap).
	* Added automatic and adaptive binarization by Otsu's method.
	* Added new option `--crop'.
	* Added two new chapters `Image Format Conversion' and
	  `Algorithm' to the texinfo file.
	* Target `check' added to Makefile.
	* Changed `ocrad.png' icon to color, one line.
2009-07-11 08:05:06 +00:00

14 lines
285 B
Text

$NetBSD: patch-ab,v 1.2 2009/07/11 08:05:06 obache Exp $
--- common.h.orig 2009-04-26 14:28:37.000000000 +0000
+++ common.h
@@ -18,6 +18,9 @@
extern int verbosity;
+#if !defined(__GNUC__) && !defined(__attribute__)
+# define __attribute__(x) /**/
+#endif
namespace Ocrad {