diff --git a/graphics/ocrad/Makefile b/graphics/ocrad/Makefile index c953d04e1d00..da3ba51c9ed6 100644 --- a/graphics/ocrad/Makefile +++ b/graphics/ocrad/Makefile @@ -6,7 +6,7 @@ # PORTNAME= ocrad -PORTVERSION= 0.10 +PORTVERSION= 0.13 CATEGORIES= graphics MASTER_SITES= ${MASTER_SITE_GNU} MASTER_SITE_SUBDIR= ${PORTNAME} diff --git a/graphics/ocrad/distinfo b/graphics/ocrad/distinfo index 46d1d566b026..0cb1ba4f799d 100644 --- a/graphics/ocrad/distinfo +++ b/graphics/ocrad/distinfo @@ -1,2 +1,2 @@ -MD5 (ocrad-0.10.tar.bz2) = 84e0cc009bff0572a10772fbcd7101de -SIZE (ocrad-0.10.tar.bz2) = 58565 +MD5 (ocrad-0.13.tar.bz2) = bf09dbb433c1ecf9e9a3b7c0f838ce73 +SIZE (ocrad-0.13.tar.bz2) = 66654 diff --git a/graphics/ocrad/files/patch-main.cc b/graphics/ocrad/files/patch-main.cc new file mode 100644 index 000000000000..3a1b06e3454f --- /dev/null +++ b/graphics/ocrad/files/patch-main.cc @@ -0,0 +1,11 @@ +--- main.cc.orig Fri Oct 14 16:46:22 2005 ++++ main.cc Fri Oct 14 16:46:30 2005 +@@ -198,7 +198,7 @@ + void Ocrad::internal_error( const char * msg ) throw() + { + char buf[80]; +- std::snprintf( buf, sizeof( buf ), "internal error: %s.\n", msg ); ++ snprintf( buf, sizeof( buf ), "internal error: %s.\n", msg ); + show_error( buf ); + exit( 3 ); + }