Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Nov 2013 17:47:24 +0000 (UTC)
From:      Max Brazhnikov <makc@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r333417 - head/graphics/klatexformula/files
Message-ID:  <201311101747.rAAHlOKP069171@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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) {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311101747.rAAHlOKP069171>