Index: head/sysutils/weedit/Makefile =================================================================== --- head/sysutils/weedit/Makefile (revision 411907) +++ head/sysutils/weedit/Makefile (revision 411908) @@ -1,34 +1,33 @@ # Created by: Emanuel Haupt # $FreeBSD$ PORTNAME= weedit PORTVERSION= 2.0.3 CATEGORIES= sysutils -MASTER_SITES= http://adm1n.cjb.net/cw/ \ - LOCAL/ehaupt +MASTER_SITES= LOCAL/ehaupt MAINTAINER= ehaupt@FreeBSD.org COMMENT= File duplicate scanner with database support LICENSE= GPLv2 USES= dos2unix tar:tgz WRKSRC= ${WRKDIR}/${PORTNAME} SRCF= crc32 dlink weedit md5 PLIST_FILES= bin/weedit bin/weeditreaddb do-build: .for f in ${SRCF} ${CC} ${CFLAGS} -c ${WRKSRC}/${f}.c -o ${WRKSRC}/${f}.o .endfor ${CC} ${CFLAGS} ${WRKSRC}/utils/readdb.c -o ${WRKSRC}/weeditreaddb ${CC} ${LDFLAGS} -o ${WRKSRC}/${PORTNAME} \ ${SRCF:C/(.*)/${WRKSRC}\/\1.o/} do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin ${INSTALL_PROGRAM} ${WRKSRC}/weeditreaddb ${STAGEDIR}${PREFIX}/bin .include Index: head/sysutils/weedit/files/patch-utils__readdb.c =================================================================== --- head/sysutils/weedit/files/patch-utils__readdb.c (revision 411907) +++ head/sysutils/weedit/files/patch-utils__readdb.c (revision 411908) @@ -1,11 +1,11 @@ ---- ./utils/readdb.c.orig 2011-06-21 15:44:50.000000000 +0200 -+++ ./utils/readdb.c 2011-06-21 15:45:08.000000000 +0200 -@@ -9,7 +9,7 @@ +--- utils/readdb.c.orig 2016-03-25 20:56:46 UTC ++++ utils/readdb.c +@@ -9,7 +9,7 @@ char *id="\n\n\n\n\n-CW was here-\n\n\n\ #include #include #include - int main(unsigned int argc, char **argv) +int main(int argc, char **argv) { unsigned long fsize, fcount, ccount, offset, offset2, i; unsigned char *db; Index: head/sysutils/weedit/files/patch-weedit.c =================================================================== --- head/sysutils/weedit/files/patch-weedit.c (revision 411907) +++ head/sysutils/weedit/files/patch-weedit.c (revision 411908) @@ -1,11 +1,11 @@ ---- ./weedit.c.orig 2011-06-21 15:45:47.000000000 +0200 -+++ ./weedit.c 2011-06-21 15:45:23.000000000 +0200 -@@ -265,7 +265,7 @@ +--- weedit.c.orig 2016-03-25 20:56:46 UTC ++++ weedit.c +@@ -265,7 +265,7 @@ void usage(char *fname) exit (-1); } -int main(unsigned int argc, char **argv) +int main(int argc, char **argv) { float timeval; unsigned long i;