diff options
author | Max Brazhnikov <makc@FreeBSD.org> | 2013-11-10 17:47:23 +0000 |
---|---|---|
committer | Max Brazhnikov <makc@FreeBSD.org> | 2013-11-10 17:47:23 +0000 |
commit | 0e2158ff47ffe19480b7b27928834d526b722043 (patch) | |
tree | bfe259e51353f50cd02cde477f3d20de8b55f0c0 /graphics/klatexformula | |
parent | 8a03f5d37b28818e10d46d294a21640176ad9007 (diff) | |
download | ports-0e2158ff47ffe19480b7b27928834d526b722043.tar.gz ports-0e2158ff47ffe19480b7b27928834d526b722043.zip |
Fix build on i386
Notes
Notes:
svn path=/head/; revision=333417
Diffstat (limited to 'graphics/klatexformula')
-rw-r--r-- | graphics/klatexformula/files/patch-src__main.cpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/graphics/klatexformula/files/patch-src__main.cpp b/graphics/klatexformula/files/patch-src__main.cpp new file mode 100644 index 000000000000..42343b9f0451 --- /dev/null +++ b/graphics/klatexformula/files/patch-src__main.cpp @@ -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) { |