Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Oct 2005 16:50:41 +0200 (CEST)
From:      Ulrich Spoerlein <q@galgenberg.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/87442: [MAINTAINER] graphics/ocrad: update to 0.13
Message-ID:  <200510141450.j9EEof2W007782@roadrunner.q.local>
Resent-Message-ID: <200510141500.j9EF0QCK022484@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         87442
>Category:       ports
>Synopsis:       [MAINTAINER] graphics/ocrad: update to 0.13
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Oct 14 15:00:25 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Ulrich Spoerlein
>Release:        FreeBSD 6.0-BETA5 i386
>Organization:
>Environment:
System: FreeBSD roadrunner 6.0-BETA5 FreeBSD 6.0-BETA5 #1: Tue Sep 20 21:30:40 CEST 2005
>Description:
- Update to 0.13

Added file(s):
- files/patch-main.cc

Can someone tell me, why gcc 3.4 on 4-STABLE can't compile main.cc? It says that std
has no member 'snprintf'. With the base-compiler in 6.0 and the ICC it's working
with no problems.

Generated with FreeBSD Port Tools 0.63
>How-To-Repeat:
>Fix:

--- ocrad-0.13.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/graphics/ocrad/Makefile,v
retrieving revision 1.7
diff -u -u -r1.7 Makefile
--- Makefile	13 May 2005 20:17:26 -0000	1.7
+++ Makefile	14 Oct 2005 14:48:54 -0000
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	ocrad
-PORTVERSION=	0.10
+PORTVERSION=	0.13
 CATEGORIES=	graphics
 MASTER_SITES=	${MASTER_SITE_GNU}
 MASTER_SITE_SUBDIR=	${PORTNAME}
Index: distinfo
===================================================================
RCS file: /home/ncvs/ports/graphics/ocrad/distinfo,v
retrieving revision 1.4
diff -u -u -r1.4 distinfo
--- distinfo	26 Jan 2005 05:42:46 -0000	1.4
+++ distinfo	14 Oct 2005 14:48:54 -0000
@@ -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
Index: files/patch-main.cc
===================================================================
RCS file: files/patch-main.cc
diff -N files/patch-main.cc
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ files/patch-main.cc	14 Oct 2005 14:48:54 -0000
@@ -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 );
+   }
--- ocrad-0.13.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200510141450.j9EEof2W007782>