Index: head/sysutils/dd_rescue/Makefile =================================================================== --- head/sysutils/dd_rescue/Makefile (revision 191064) +++ head/sysutils/dd_rescue/Makefile (revision 191065) @@ -1,33 +1,33 @@ # New ports collection makefile for: dd_rescue # Date created: 14 March 2005 # Whom: MANTANI Nobutaka # # $FreeBSD$ # PORTNAME= dd_rescue -PORTVERSION= 1.12 +PORTVERSION= 1.13 CATEGORIES= sysutils MASTER_SITES= http://www.garloff.de/kurt/linux/ddrescue/ MAINTAINER= nobutaka@freebsd.org COMMENT= A dd tool suitable for rescuing data from a medium with errors USE_GETOPT_LONG=yes WRKSRC= ${WRKDIR}/${PORTNAME} ALL_TARGET= default .include .if ${OSVERSION} < 500000 MAKE_ARGS= CFLAGS="${CFLAGS} -I${LOCALBASE}/include" LIBS="-L${LOCALBASE}/lib -lgnugetopt" .endif do-install: ${INSTALL_PROGRAM} ${WRKSRC}/dd_rescue ${PREFIX}/bin .if !defined(NOPORTDOCS) ${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README.dd_rescue ${DOCSDIR} .endif .include Property changes on: head/sysutils/dd_rescue/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.4 \ No newline at end of property +1.5 \ No newline at end of property Index: head/sysutils/dd_rescue/distinfo =================================================================== --- head/sysutils/dd_rescue/distinfo (revision 191064) +++ head/sysutils/dd_rescue/distinfo (revision 191065) @@ -1,3 +1,3 @@ -MD5 (dd_rescue-1.12.tar.gz) = 80eefb5685f8cfc84f87348e5102e6fb -SHA256 (dd_rescue-1.12.tar.gz) = 098d24a5f629396d85fe24ab6852c8a92460864c22be519f2ba8e2430c524f8b -SIZE (dd_rescue-1.12.tar.gz) = 18123 +MD5 (dd_rescue-1.13.tar.gz) = 7abe94d997c6c613f19f5bfd952904e4 +SHA256 (dd_rescue-1.13.tar.gz) = 55417cf32d08ff1c87f9124d0b9705a91822edb7abd4a3f51094b414b0444826 +SIZE (dd_rescue-1.13.tar.gz) = 17514 Property changes on: head/sysutils/dd_rescue/distinfo ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.3 \ No newline at end of property +1.4 \ No newline at end of property Index: head/sysutils/dd_rescue/files/patch-dd_rescue.c =================================================================== --- head/sysutils/dd_rescue/files/patch-dd_rescue.c (revision 191064) +++ head/sysutils/dd_rescue/files/patch-dd_rescue.c (revision 191065) @@ -1,27 +1,12 @@ ---- dd_rescue.c.orig Sun Jul 23 20:47:50 2006 -+++ dd_rescue.c Mon Feb 12 02:53:35 2007 -@@ -213,11 +213,13 @@ - - void savebb( int block ) - { -+ FILE *bbfile; -+ - fplog(stderr, "Bad block: %d\n", block); - - if( bbname == NULL ) - return; -- FILE *bbfile = fopen(bbname,"a"); -+ bbfile = fopen(bbname,"a"); - fprintf(bbfile,"%d\n",block); - fclose(bbfile); - } -@@ -742,7 +744,8 @@ +--- dd_rescue.c.orig Sun Mar 18 07:29:10 2007 ++++ dd_rescue.c +@@ -742,7 +742,8 @@ ipos = 0; #ifdef O_DIRECT - if (posix_memalign(mp, sysconf(_SC_PAGESIZE), softbs)) { + buf = malloc(softbs); + if (!buf) { fplog(stderr, "dd_rescue: (fatal): allocation of aligned buffer failed!\n"); cleanup(); exit(18); } Property changes on: head/sysutils/dd_rescue/files/patch-dd_rescue.c ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.2 \ No newline at end of property +1.3 \ No newline at end of property