From owner-svn-ports-all@FreeBSD.ORG Mon May 27 10:34:55 2013 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 55AC9B16; Mon, 27 May 2013 10:34:55 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 464782F1; Mon, 27 May 2013 10:34:55 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.6/8.14.6) with ESMTP id r4RAYtRb046115; Mon, 27 May 2013 10:34:55 GMT (envelope-from bapt@svn.freebsd.org) Received: (from bapt@localhost) by svn.freebsd.org (8.14.6/8.14.5/Submit) id r4RAYsYn046113; Mon, 27 May 2013 10:34:54 GMT (envelope-from bapt@svn.freebsd.org) Message-Id: <201305271034.r4RAYsYn046113@svn.freebsd.org> From: Baptiste Daroussin Date: Mon, 27 May 2013 10:34:54 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r319206 - in head/archivers/zipmix: . 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: Mon, 27 May 2013 10:34:55 -0000 Author: bapt Date: Mon May 27 10:34:54 2013 New Revision: 319206 URL: http://svnweb.freebsd.org/changeset/ports/319206 Log: Fix build with recent clang Modified: head/archivers/zipmix/Makefile head/archivers/zipmix/files/patch-zipmix.c Modified: head/archivers/zipmix/Makefile ============================================================================== --- head/archivers/zipmix/Makefile Mon May 27 10:31:49 2013 (r319205) +++ head/archivers/zipmix/Makefile Mon May 27 10:34:54 2013 (r319206) @@ -1,9 +1,5 @@ -# New ports collection makefile for: zipmix -# Date created: Fri Jan 9 2009 00:00:37 UTC -# Whom: Mario Sergio Fujikawa Ferreira -# +# Created by: Mario Sergio Fujikawa Ferreira # $FreeBSD$ -# PORTNAME= zipmix DISTVERSION= 20070221 Modified: head/archivers/zipmix/files/patch-zipmix.c ============================================================================== --- head/archivers/zipmix/files/patch-zipmix.c Mon May 27 10:31:49 2013 (r319205) +++ head/archivers/zipmix/files/patch-zipmix.c Mon May 27 10:34:54 2013 (r319206) @@ -1,6 +1,6 @@ ---- zipmix.c.orig 2009-01-08 22:05:10.000000000 -0200 -+++ zipmix.c 2009-01-08 22:10:30.000000000 -0200 -@@ -4,6 +4,17 @@ +--- zipmix.c.orig 2013-05-27 12:33:32.795062151 +0200 ++++ zipmix.c 2013-05-27 12:33:52.048486869 +0200 +@@ -4,6 +4,17 @@ zipmix.exe: zipmix.c; cl zipmix.c /O1 /G !if 0 #endif @@ -18,3 +18,17 @@ #if defined(_WIN32) #include +@@ -167,10 +178,11 @@ void showhelp () + } + + enum { BOOL_NONE=0,BOOL_OR,BOOL_AND,BOOL_SUB }; +-int main (long argc, char **argv) ++int main (int argc, char **argv) + { + unsigned long leng[2]; +- long i, j, k, l, fileng[3], score[4], fmax, ftell43; ++ int i; ++ long j, k, l, fileng[3], score[4], fmax, ftell43; + long filespecified = 0, boolop = BOOL_NONE, quiet = 0, overwriteyesmode = 0; + short s; + char ch, *cptr, *cptr2;