svn commit: r383615 - in head/security/bruteblock: . files

Dmitry Marakasov amdmi3 at FreeBSD.org
Thu Apr 9 01:04:56 UTC 2015


Author: amdmi3
Date: Thu Apr  9 01:04:54 2015
New Revision: 383615
URL: https://svnweb.freebsd.org/changeset/ports/383615

Log:
  - Fix printing time_t on i386
  
  PR:		199263
  Submitted by:	fesse at mail.ru

Modified:
  head/security/bruteblock/Makefile
  head/security/bruteblock/files/patch-bruteblock.c

Modified: head/security/bruteblock/Makefile
==============================================================================
--- head/security/bruteblock/Makefile	Wed Apr  8 22:52:29 2015	(r383614)
+++ head/security/bruteblock/Makefile	Thu Apr  9 01:04:54 2015	(r383615)
@@ -3,7 +3,7 @@
 
 PORTNAME=	bruteblock
 PORTVERSION=	0.0.5
-PORTREVISION=	6
+PORTREVISION=	7
 CATEGORIES=	security
 MASTER_SITES=	http://samm.kiev.ua/bruteblock/ \
 		http://mirror.amdmi3.ru/distfiles/

Modified: head/security/bruteblock/files/patch-bruteblock.c
==============================================================================
--- head/security/bruteblock/files/patch-bruteblock.c	Wed Apr  8 22:52:29 2015	(r383614)
+++ head/security/bruteblock/files/patch-bruteblock.c	Thu Apr  9 01:04:54 2015	(r383615)
@@ -5,7 +5,8 @@
  				argv[1] = table;
  				argv[2] = command;
 -				snprintf(utime, sizeof(utime), "%d",
+-				time(NULL) + reset_ip);
 +				snprintf(utime, sizeof(utime), "%lld",
- 				time(NULL) + reset_ip);
++				(long long)(time(NULL) + reset_ip));
  				argv[4] = utime;
  				argv[3] = host;


More information about the svn-ports-all mailing list