From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Mar 16 17:20:25 2006 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1CEE316A422 for ; Thu, 16 Mar 2006 17:20:25 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 012C243D48 for ; Thu, 16 Mar 2006 17:20:22 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k2GHKLsY093110 for ; Thu, 16 Mar 2006 17:20:21 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k2GHKLGH093109; Thu, 16 Mar 2006 17:20:21 GMT (envelope-from gnats) Date: Thu, 16 Mar 2006 17:20:21 GMT Message-Id: <200603161720.k2GHKLGH093109@freefall.freebsd.org> To: freebsd-ports-bugs@FreeBSD.org From: Ulrich Spoerlein Cc: Subject: Re: ports/94529: update graphics/ocrad to version 0.14 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Ulrich Spoerlein List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Mar 2006 17:20:25 -0000 The following reply was made to PR ports/94529; it has been noted by GNATS. From: Ulrich Spoerlein To: bug-followup@FreeBSD.org Cc: "Pedro F. Giffuni" Subject: Re: ports/94529: update graphics/ocrad to version 0.14 Date: Thu, 16 Mar 2006 18:13:38 +0100 --k3qmt+ucFURmlhDS Content-Type: multipart/mixed; boundary="VMt1DrMGOVs3KQwf" Content-Disposition: inline --VMt1DrMGOVs3KQwf Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Pedro F. Giffuni wrote: > Here is the complete patch, sorry: While this patch is enough for 6.x and should be enough for 5.x, it wont suffice in 4.x. Please see the attached patch instead, thanks. Ulrich Spoerlein --VMt1DrMGOVs3KQwf Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=foo Content-Transfer-Encoding: quoted-printable Index: Makefile =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /home/ncvs/ports/graphics/ocrad/Makefile,v retrieving revision 1.9 diff -u -p -r1.9 Makefile --- Makefile 5 Dec 2005 00:53:15 -0000 1.9 +++ Makefile 16 Mar 2006 17:11:50 -0000 @@ -6,7 +6,7 @@ # =20 PORTNAME=3D ocrad -PORTVERSION=3D 0.13 +PORTVERSION=3D 0.14 CATEGORIES=3D graphics MASTER_SITES=3D ${MASTER_SITE_GNU} MASTER_SITE_SUBDIR=3D ${PORTNAME} @@ -27,7 +27,12 @@ MAKE_ENV=3D CPPFLAGS=3D"${CPPFLAGS}" LDFLAGS =20 .if ${OSVERSION} < 500035 USE_GCC=3D 3.4 +post-patch: +. for f in main.cc rational.cc + @${REINPLACE_CMD} 's/std::snprintf/snprintf/g' ${WRKSRC}/$f +. endfor .endif + .if ${OSVERSION} < 500041 MAKE_ENV+=3D CPPFLAGS=3D"${CPPFLAGS} -DHAVE_DECL_GETOPT" .endif Index: distinfo =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /home/ncvs/ports/graphics/ocrad/distinfo,v retrieving revision 1.6 diff -u -p -r1.6 distinfo --- distinfo 22 Jan 2006 12:35:01 -0000 1.6 +++ distinfo 16 Mar 2006 17:11:50 -0000 @@ -1,3 +1,3 @@ -MD5 (ocrad-0.13.tar.bz2) =3D bf09dbb433c1ecf9e9a3b7c0f838ce73 -SHA256 (ocrad-0.13.tar.bz2) =3D 65c4e199584021faa1aa69ec7f40322e9adb1f45c1= 02075b1f9b59fa118cd25c -SIZE (ocrad-0.13.tar.bz2) =3D 66654 +MD5 (ocrad-0.14.tar.bz2) =3D 6a72f723175e799cc72b81b96793491f +SHA256 (ocrad-0.14.tar.bz2) =3D c31ba791840fae5a867f86cbb01880fe1ef3adf331= 75fdf30eeea857d9e9fcce +SIZE (ocrad-0.14.tar.bz2) =3D 73632 Index: files/patch-main.cc =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: files/patch-main.cc diff -N files/patch-main.cc --- files/patch-main.cc 14 Oct 2005 22:07:51 -0000 1.3 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,11 +0,0 @@ ---- 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 ); - } --VMt1DrMGOVs3KQwf-- --k3qmt+ucFURmlhDS Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (FreeBSD) iD8DBQFEGZzC524iJyD+6d0RAge2AKCn60Wt0x7nP/ox/DukEvdz1DR4EwCgq1o/ UJj1h+gBv40ktHxn+HOmsuo= =DGDw -----END PGP SIGNATURE----- --k3qmt+ucFURmlhDS--