diff options
author | bapt <bapt@FreeBSD.org> | 2013-05-27 18:34:54 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2013-05-27 18:34:54 +0800 |
commit | 8f6d9298531706f8d772ea049468b80b6bbd62d5 (patch) | |
tree | ae009d67a041381e6b76866fa01bdc6eedb1afda /archivers | |
parent | 7f617fb5a06836660ad44536f46f227f4d1693bb (diff) | |
download | freebsd-ports-gnome-8f6d9298531706f8d772ea049468b80b6bbd62d5.tar.gz freebsd-ports-gnome-8f6d9298531706f8d772ea049468b80b6bbd62d5.tar.zst freebsd-ports-gnome-8f6d9298531706f8d772ea049468b80b6bbd62d5.zip |
Fix build with recent clang
Diffstat (limited to 'archivers')
-rw-r--r-- | archivers/zipmix/Makefile | 6 | ||||
-rw-r--r-- | archivers/zipmix/files/patch-zipmix.c | 20 |
2 files changed, 18 insertions, 8 deletions
diff --git a/archivers/zipmix/Makefile b/archivers/zipmix/Makefile index 327472391afd..3411c05e853a 100644 --- a/archivers/zipmix/Makefile +++ b/archivers/zipmix/Makefile @@ -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 <lioux@FreeBSD.org> -# +# Created by: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> # $FreeBSD$ -# PORTNAME= zipmix DISTVERSION= 20070221 diff --git a/archivers/zipmix/files/patch-zipmix.c b/archivers/zipmix/files/patch-zipmix.c index 63900393d3e7..bbf0d282f065 100644 --- a/archivers/zipmix/files/patch-zipmix.c +++ b/archivers/zipmix/files/patch-zipmix.c @@ -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 <windows.h> +@@ -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; |