1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-31 05:41:08 +00:00

Update to 0.14

PR:		ports/94529
Submitted by:	Pedro F. Giffuni via maintainer
This commit is contained in:
Volker Stolz 2006-05-10 17:42:50 +00:00
parent d057202dee
commit 70e264d25f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=161969
3 changed files with 9 additions and 15 deletions

View File

@ -6,7 +6,7 @@
#
PORTNAME= ocrad
PORTVERSION= 0.13
PORTVERSION= 0.14
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= ${PORTNAME}
@ -27,7 +27,12 @@ MAKE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" \
.if ${OSVERSION} < 500035
USE_GCC= 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+= CPPFLAGS="${CPPFLAGS} -DHAVE_DECL_GETOPT"
.endif

View File

@ -1,3 +1,3 @@
MD5 (ocrad-0.13.tar.bz2) = bf09dbb433c1ecf9e9a3b7c0f838ce73
SHA256 (ocrad-0.13.tar.bz2) = 65c4e199584021faa1aa69ec7f40322e9adb1f45c102075b1f9b59fa118cd25c
SIZE (ocrad-0.13.tar.bz2) = 66654
MD5 (ocrad-0.14.tar.bz2) = 6a72f723175e799cc72b81b96793491f
SHA256 (ocrad-0.14.tar.bz2) = c31ba791840fae5a867f86cbb01880fe1ef3adf33175fdf30eeea857d9e9fcce
SIZE (ocrad-0.14.tar.bz2) = 73632

View File

@ -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 );
}