Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Mar 2006 17:20:21 GMT
From:      Ulrich Spoerlein <q@galgenberg.net>
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/94529: update graphics/ocrad to version 0.14
Message-ID:  <200603161720.k2GHKLGH093109@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/94529; it has been noted by GNATS.

From: Ulrich Spoerlein <q@galgenberg.net>
To: bug-followup@FreeBSD.org
Cc: "Pedro F. Giffuni" <giffunip@yahoo.com>
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--



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