Index: head/archivers/gzrecover/files/patch-gzrecover.c =================================================================== --- head/archivers/gzrecover/files/patch-gzrecover.c (revision 172499) +++ head/archivers/gzrecover/files/patch-gzrecover.c (nonexistent) @@ -1,49 +0,0 @@ ---- gzrecover.c.orig Sat Sep 4 19:55:08 2004 -+++ gzrecover.c Wed Jun 8 21:53:49 2005 -@@ -20,6 +20,7 @@ - - #include - #include -+#include - #include - #include - #include -@@ -85,10 +86,14 @@ - static int suffix = 1; - - /* Build the output file name */ -- if (outfile_specified) -- check_error(0, outfile = (char *)malloc(strlen(user_outname) + 9), "malloc"); -- else -- check_error(0, outfile = (char *)malloc(strlen(infile) + 25), "malloc"); -+ if (outfile_specified) { -+ outfile = (char *)malloc(strlen(user_outname) + 9); -+ check_error(0, (int)outfile, "malloc"); -+ } -+ else { -+ outfile = (char *)malloc(strlen(infile) + 25); -+ check_error(0, (int)outfile, "malloc"); -+ } - - if (!outfile_specified) /* Strip of .gz unless user specified name */ - { -@@ -223,7 +228,8 @@ - infile = argv[optind]; - - /* Open input file and memory map */ -- check_error(0, inbuf = (char *)malloc(inbuf_size), "malloc"); -+ inbuf = (char *)malloc(inbuf_size); -+ check_error(0, (int)inbuf, "malloc"); - check_error(-1, ifd = open(infile, O_RDONLY), "open"); - - if (verbose_mode) -@@ -231,7 +237,8 @@ - - /* Open output file & initialize output buffer */ - ofd = open_outfile(infile); -- check_error(0, outbuf = (char *)malloc(outbuf_size), "malloc"); -+ outbuf = (char *)malloc(outbuf_size); -+ check_error(0, (int)outbuf, "malloc"); - - /* Initialize zlib */ - check_error(-1, bytes_read = read_internal(ifd, inbuf, inbuf_size), "read"); Property changes on: head/archivers/gzrecover/files/patch-gzrecover.c ___________________________________________________________________ Deleted: cvs2svn:cvs-rev ## -1 +0,0 ## -1.1 \ No newline at end of property Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Index: head/archivers/gzrecover/Makefile =================================================================== --- head/archivers/gzrecover/Makefile (revision 172499) +++ head/archivers/gzrecover/Makefile (revision 172500) @@ -1,34 +1,34 @@ # New ports collection makefile for: gzrecover # Date created: 3 June 2005 # Whom: Emanuel Haupt # # $FreeBSD$ # PORTNAME= gzrecover -PORTVERSION= 0.4 +PORTVERSION= 0.5 CATEGORIES= archivers MASTER_SITES= http://www.urbanophile.com/arenn/hacking/gzrt/ \ http://critical.ch/distfiles/ \ http://energy.critical.ch/distfiles/ DISTNAME= gzrt-${PORTVERSION} MAINTAINER= ehaupt@FreeBSD.org COMMENT= A gzip recovery toolkit -CFLAGS+= -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 +CFLAGS+= -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -lz PLIST_FILES= bin/${PORTNAME} PORTDOCS= README do-build: - ${CC} -o ${WRKSRC}/${PORTNAME} ${CFLAGS} ${WRKSRC}/${PORTNAME}.c -lz + ${CC} -o ${WRKSRC}/${PORTNAME} ${CFLAGS} ${WRKSRC}/${PORTNAME}.c do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${TARGETDIR}/bin .if !defined(NOPORTDOCS) ${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} .endif .include Property changes on: head/archivers/gzrecover/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.5 \ No newline at end of property +1.6 \ No newline at end of property Index: head/archivers/gzrecover/distinfo =================================================================== --- head/archivers/gzrecover/distinfo (revision 172499) +++ head/archivers/gzrecover/distinfo (revision 172500) @@ -1,3 +1,3 @@ -MD5 (gzrt-0.4.tar.gz) = 7a5207fe710f8547f90ceafc82fc8564 -SHA256 (gzrt-0.4.tar.gz) = b07e87989899c6ed805bd4a90fd7ee2bbf15f16220d3423728f1ca728da3c091 -SIZE (gzrt-0.4.tar.gz) = 5029 +MD5 (gzrt-0.5.tar.gz) = 91e9cbc1d92276742691dca89d6b8293 +SHA256 (gzrt-0.5.tar.gz) = f961311903ce742360a3ab04877648617010aa0f142bcbab59d3bada155cf1df +SIZE (gzrt-0.5.tar.gz) = 5559 Property changes on: head/archivers/gzrecover/distinfo ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.2 \ No newline at end of property +1.3 \ No newline at end of property