From owner-svn-ports-all@FreeBSD.ORG Sun Oct 13 11:34:12 2013 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id EE2B854B; Sun, 13 Oct 2013 11:34:12 +0000 (UTC) (envelope-from novel@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id CB2182F12; Sun, 13 Oct 2013 11:34:12 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r9DBYC0A011144; Sun, 13 Oct 2013 11:34:12 GMT (envelope-from novel@svn.freebsd.org) Received: (from novel@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r9DBYBIL011138; Sun, 13 Oct 2013 11:34:11 GMT (envelope-from novel@svn.freebsd.org) Message-Id: <201310131134.r9DBYBIL011138@svn.freebsd.org> From: Roman Bogorodskiy Date: Sun, 13 Oct 2013 11:34:11 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r330221 - head/sysutils/deltup/files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Oct 2013 11:34:13 -0000 Author: novel Date: Sun Oct 13 11:34:11 2013 New Revision: 330221 URL: http://svnweb.freebsd.org/changeset/ports/330221 Log: Fix build on -CURRENT. Reported by: pkg-fallout Added: head/sysutils/deltup/files/patch-file.cpp (contents, props changed) head/sysutils/deltup/files/patch-tmpstore.cpp (contents, props changed) Modified: head/sysutils/deltup/files/patch-bzip2.cpp head/sysutils/deltup/files/patch-deltup.cpp head/sysutils/deltup/files/patch-gzip.cpp head/sysutils/deltup/files/patch-system.cpp Modified: head/sysutils/deltup/files/patch-bzip2.cpp ============================================================================== --- head/sysutils/deltup/files/patch-bzip2.cpp Sun Oct 13 11:16:48 2013 (r330220) +++ head/sysutils/deltup/files/patch-bzip2.cpp Sun Oct 13 11:34:11 2013 (r330221) @@ -1,14 +1,15 @@ ---- bzip2.cpp.orig 2007-03-25 04:59:24.000000000 +0600 -+++ bzip2.cpp 2008-03-09 23:37:35.000000000 +0500 -@@ -19,6 +19,7 @@ +--- bzip2.cpp.orig 2007-03-25 01:59:24.000000000 +0300 ++++ bzip2.cpp 2013-10-06 17:12:16.000000000 +0400 +@@ -19,6 +19,8 @@ #include "system.h" #include "tmpstore.h" #include "bzip2.h" +#include ++#include char *bzip2_compressor_name[MAX_BZIP2_COMPRESSORS] = {"0.9.0c", "1.0.2", "1.0.3", "1.0.4"}; char *bzip2_name[MAX_BZIP2_COMPRESSORS] = {NULL, NULL, NULL, NULL}; -@@ -31,14 +32,12 @@ +@@ -31,14 +33,12 @@ system(command.c_str()); FILE * fp; @@ -25,7 +26,7 @@ // printf("Retrieved line of length %zu :\n", read); // printf("%s", line); char *v = strstr(line, "Version"); -@@ -56,8 +55,8 @@ +@@ -56,8 +56,8 @@ } fname = line; } Modified: head/sysutils/deltup/files/patch-deltup.cpp ============================================================================== --- head/sysutils/deltup/files/patch-deltup.cpp Sun Oct 13 11:16:48 2013 (r330220) +++ head/sysutils/deltup/files/patch-deltup.cpp Sun Oct 13 11:34:11 2013 (r330221) @@ -1,5 +1,14 @@ ---- deltup.cpp.orig 2007-07-13 09:22:20.000000000 +0600 -+++ deltup.cpp 2008-03-10 14:03:08.000000000 +0500 +--- deltup.cpp.orig 2007-07-13 07:22:20.000000000 +0400 ++++ deltup.cpp 2013-10-06 17:15:15.000000000 +0400 +@@ -16,7 +16,7 @@ + //#include + //#include + //#include +-//#include ++#include + //#include + //#include + //#include @@ -32,6 +32,7 @@ #include "filetypes.h" #include "system.h" @@ -83,7 +92,7 @@ doneTmpFile(gzip_temp); } else if (file2.type==BZIP2) { @@ -365,7 +375,10 @@ - bzip2_name[i]); + bzip2_name[i]); } else fprintf(stderr, "Error: Deltup cannot find the proper bzip2 to rebuild the package\n"); break; - case GZIP: gzip_without_header(f.uname, finalName, c); break; Added: head/sysutils/deltup/files/patch-file.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/deltup/files/patch-file.cpp Sun Oct 13 11:34:11 2013 (r330221) @@ -0,0 +1,10 @@ +--- file.cpp.orig 2013-10-06 17:12:46.000000000 +0400 ++++ file.cpp 2013-10-06 17:13:27.000000000 +0400 +@@ -12,6 +12,7 @@ + * Author: John Whitney + */ + ++#include + #include + #include + #include Modified: head/sysutils/deltup/files/patch-gzip.cpp ============================================================================== --- head/sysutils/deltup/files/patch-gzip.cpp Sun Oct 13 11:16:48 2013 (r330220) +++ head/sysutils/deltup/files/patch-gzip.cpp Sun Oct 13 11:34:11 2013 (r330221) @@ -1,6 +1,6 @@ ---- ./gzip.cpp.orig 2008-04-06 15:43:16.000000000 +0300 -+++ ./gzip.cpp 2008-04-06 15:43:48.000000000 +0300 -@@ -0,0 +1,63 @@ +--- gzip.cpp.orig 2013-10-06 17:11:38.000000000 +0400 ++++ gzip.cpp 2013-10-06 17:12:35.000000000 +0400 +@@ -0,0 +1,64 @@ +/* Copyright (C) 2007 John Whitney + * + * This program is free software; you can redistribute it and/or modify @@ -23,6 +23,7 @@ +#include "tmpstore.h" +#include "gzip.h" +#include ++#include + +int gzip_found = 0; +char *gzip_name = NULL; Modified: head/sysutils/deltup/files/patch-system.cpp ============================================================================== --- head/sysutils/deltup/files/patch-system.cpp Sun Oct 13 11:16:48 2013 (r330220) +++ head/sysutils/deltup/files/patch-system.cpp Sun Oct 13 11:34:11 2013 (r330221) @@ -1,6 +1,16 @@ ---- system.cpp.orig 2007-03-25 04:45:52.000000000 +0600 -+++ system.cpp 2008-03-08 22:51:00.000000000 +0500 -@@ -19,7 +19,7 @@ +--- system.cpp.orig 2007-03-25 01:45:52.000000000 +0300 ++++ system.cpp 2013-10-06 17:14:02.000000000 +0400 +@@ -11,7 +11,8 @@ + * + * Author: John Whitney + */ +- ++ ++#include + #include + #include + #include +@@ -19,7 +20,7 @@ using namespace std; #include "file.h" #include "bpatch.h" Added: head/sysutils/deltup/files/patch-tmpstore.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/deltup/files/patch-tmpstore.cpp Sun Oct 13 11:34:11 2013 (r330221) @@ -0,0 +1,11 @@ +--- tmpstore.cpp.orig 2013-10-06 17:14:20.000000000 +0400 ++++ tmpstore.cpp 2013-10-06 17:15:03.000000000 +0400 +@@ -12,6 +12,8 @@ + * Author: John Whitney + */ + ++#include ++#include + #include + #include + #include