From owner-svn-ports-head@FreeBSD.ORG Sun Nov 10 17:47:24 2013 Return-Path: Delivered-To: svn-ports-head@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 665622F7; Sun, 10 Nov 2013 17:47:24 +0000 (UTC) (envelope-from makc@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 53A982756; Sun, 10 Nov 2013 17:47:24 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rAAHlOFv069172; Sun, 10 Nov 2013 17:47:24 GMT (envelope-from makc@svn.freebsd.org) Received: (from makc@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id rAAHlOKP069171; Sun, 10 Nov 2013 17:47:24 GMT (envelope-from makc@svn.freebsd.org) Message-Id: <201311101747.rAAHlOKP069171@svn.freebsd.org> From: Max Brazhnikov Date: Sun, 10 Nov 2013 17:47:24 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r333417 - head/graphics/klatexformula/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-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Nov 2013 17:47:24 -0000 Author: makc Date: Sun Nov 10 17:47:23 2013 New Revision: 333417 URL: http://svnweb.freebsd.org/changeset/ports/333417 Log: Fix build on i386 Added: head/graphics/klatexformula/files/ head/graphics/klatexformula/files/patch-src__main.cpp (contents, props changed) Added: head/graphics/klatexformula/files/patch-src__main.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/klatexformula/files/patch-src__main.cpp Sun Nov 10 17:47:23 2013 (r333417) @@ -0,0 +1,13 @@ +--- ./src/main.cpp.orig 2013-06-23 10:52:34.000000000 +0000 ++++ ./src/main.cpp 2013-10-30 17:20:58.186667121 +0000 +@@ -241,8 +241,8 @@ + fprintf(ftty, "Interrupt\n"); + if (ftty != stderr) fprintf(stderr, "*** Interrupt\n"); + +- static long last_sigint_time = 0; +- long curtime; ++ static time_t last_sigint_time = 0; ++ time_t curtime; + time(&curtime); + bool isInsisted = (curtime - last_sigint_time <= 2); // re-pressed Ctrl-C after less than 2 secs + if (!isInsisted && qApp != NULL) {