svn commit: r333417 - head/graphics/klatexformula/files

Max Brazhnikov makc at FreeBSD.org
Sun Nov 10 17:47:24 UTC 2013


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) {


More information about the svn-ports-all mailing list