Index: head/graphics/klatexformula/Makefile =================================================================== --- head/graphics/klatexformula/Makefile (revision 494472) +++ head/graphics/klatexformula/Makefile (revision 494473) @@ -1,31 +1,31 @@ # $FreeBSD$ PORTNAME= klatexformula PORTVERSION= 4.0.0 PORTREVISION= 1 CATEGORIES= graphics MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION} MAINTAINER= hrs@FreeBSD.org COMMENT= Convert LaTeX formula to image LICENSE= GPLv2 BUILD_DEPENDS= help2man:misc/help2man USES= cmake compiler:c++11-lang desktop-file-utils ghostscript:run \ qt:5 shared-mime-info tar:bzip2 localbase USE_QT= core dbus gui sql svg widgets x11extras xml \ buildtools_build designer_build linguisttools_build \ qmake_build uitools_build USE_TEX= latex dvipsk USE_LDCONFIG= yes CMAKE_ARGS= -DKLF_INSTALL_POST_UPDATEMIMEDATABASE=off \ -DKLF_INSTALL_SHARE_MAN1_DIR=man/man1 post-patch: ${REINPLACE_CMD} '/CMAKE_SYSTEM_NAME STREQUAL/s,Linux,FreeBSD,' \ - ${WRKSRC}/src/klftools/CMakeLists.txt + ${WRKSRC}/src/klftools/CMakeLists.txt .include Index: head/graphics/klatexformula/files/patch-src-main.cpp =================================================================== --- head/graphics/klatexformula/files/patch-src-main.cpp (nonexistent) +++ head/graphics/klatexformula/files/patch-src-main.cpp (revision 494473) @@ -0,0 +1,13 @@ +--- src/main.cpp.orig 2017-02-07 07:22:42 UTC ++++ src/main.cpp +@@ -272,8 +272,8 @@ void signal_act(int sig) + 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) { Property changes on: head/graphics/klatexformula/files/patch-src-main.cpp ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property