summaryrefslogtreecommitdiff
path: root/Build/source/texk/chktex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2013-04-01 00:37:58 +0000
committerKarl Berry <karl@freefriends.org>2013-04-01 00:37:58 +0000
commit2d70d8213f5e5f33be5528b41fd4719be21bea73 (patch)
tree1decb85a18378ae58ab3e997847eda6b846b5412 /Build/source/texk/chktex
parentbf6b8b100d1b3be18b595a09117910996bee8246 (diff)
patch from author for test failure on 32-bit macs
git-svn-id: svn://tug.org/texlive/trunk@29582 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/chktex')
-rw-r--r--Build/source/texk/chktex/chktex-1.7.1-PATCHES/ChangeLog5
-rw-r--r--Build/source/texk/chktex/chktex-1.7.1-PATCHES/patch-14-finderrs11
-rw-r--r--Build/source/texk/chktex/chktex-1.7.1/FindErrs.c2
3 files changed, 17 insertions, 1 deletions
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 <karl@tug.org>
+
+ * 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 <peb@mppmu.mpg.de>
* 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;