From 2d70d8213f5e5f33be5528b41fd4719be21bea73 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Mon, 1 Apr 2013 00:37:58 +0000 Subject: patch from author for test failure on 32-bit macs git-svn-id: svn://tug.org/texlive/trunk@29582 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/texk/chktex/chktex-1.7.1-PATCHES/ChangeLog | 5 +++++ .../source/texk/chktex/chktex-1.7.1-PATCHES/patch-14-finderrs | 11 +++++++++++ Build/source/texk/chktex/chktex-1.7.1/FindErrs.c | 2 +- 3 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 Build/source/texk/chktex/chktex-1.7.1-PATCHES/patch-14-finderrs (limited to 'Build/source/texk/chktex') diff --git a/Build/source/texk/chktex/chktex-1.7.1-PATCHES/ChangeLog b/Build/source/texk/chktex/chktex-1.7.1-PATCHES/ChangeLog index 317495bacca..b0d6fe22008 100644 --- a/Build/source/texk/chktex/chktex-1.7.1-PATCHES/ChangeLog +++ b/Build/source/texk/chktex/chktex-1.7.1-PATCHES/ChangeLog @@ -1,3 +1,8 @@ +2013-04-01 Karl Berry + + * patch-14-finderrs: patch from author for test failure, + info in tlbuild mail from koch, 30 Mar 2013 20:12:17. + 2012-10-23 Peter Breitenlohner * patch-13-char (new): Modify a function parameter and a few diff --git a/Build/source/texk/chktex/chktex-1.7.1-PATCHES/patch-14-finderrs b/Build/source/texk/chktex/chktex-1.7.1-PATCHES/patch-14-finderrs new file mode 100644 index 00000000000..16ba4c47b5e --- /dev/null +++ b/Build/source/texk/chktex/chktex-1.7.1-PATCHES/patch-14-finderrs @@ -0,0 +1,11 @@ +--- FindErrs.c (revision 242) ++++ FindErrs.c (working copy) +@@ -918,7 +918,7 @@ + /* Default -- show the match */ + PSERR2(offset + MATCH.rm_so, MATCH.rm_eo - MATCH.rm_so, + emUserWarnRegex, +- MATCH.rm_eo - MATCH.rm_so, ++ (int)(MATCH.rm_eo - MATCH.rm_so), + TmpBuffer + offset + MATCH.rm_so); + } + offset += MATCH.rm_eo; diff --git a/Build/source/texk/chktex/chktex-1.7.1/FindErrs.c b/Build/source/texk/chktex/chktex-1.7.1/FindErrs.c index d977d52ddd8..5877d7ec011 100644 --- a/Build/source/texk/chktex/chktex-1.7.1/FindErrs.c +++ b/Build/source/texk/chktex/chktex-1.7.1/FindErrs.c @@ -926,7 +926,7 @@ static void CheckRest(void) /* Default -- show the match */ PSERR2(offset + MATCH.rm_so, MATCH.rm_eo - MATCH.rm_so, emUserWarnRegex, - MATCH.rm_eo - MATCH.rm_so, + (int)(MATCH.rm_eo - MATCH.rm_so), TmpBuffer + offset + MATCH.rm_so); } offset += MATCH.rm_eo; -- cgit v1.2.3