diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2012-07-24 09:00:18 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2012-07-24 09:00:18 +0000 |
commit | c1841336503cc8eb2355c2eab40012c856f18369 (patch) | |
tree | cc621dbfe9646083a4ae860a614f291bdb97ce58 /Build/source/texk/chktex/chktex-1.6.6-PATCHES/patch-07-kpathsea | |
parent | 5c61483aad70d3170b38c8c4a5b74d6f1c7581fd (diff) |
chktex: Move from utils/ to texk/, now using kpathsea
git-svn-id: svn://tug.org/texlive/trunk@27137 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/chktex/chktex-1.6.6-PATCHES/patch-07-kpathsea')
-rw-r--r-- | Build/source/texk/chktex/chktex-1.6.6-PATCHES/patch-07-kpathsea | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/Build/source/texk/chktex/chktex-1.6.6-PATCHES/patch-07-kpathsea b/Build/source/texk/chktex/chktex-1.6.6-PATCHES/patch-07-kpathsea new file mode 100644 index 00000000000..d102abd0b6e --- /dev/null +++ b/Build/source/texk/chktex/chktex-1.6.6-PATCHES/patch-07-kpathsea @@ -0,0 +1,28 @@ +diff -ur chktex-1.6.6.orig/ChkTeX.c chktex-1.6.6/ChkTeX.c +--- chktex-1.6.6.orig/ChkTeX.c 2010-12-18 22:18:13.000000000 +0100 ++++ chktex-1.6.6/ChkTeX.c 2012-07-23 21:29:45.000000000 +0200 +@@ -27,7 +27,9 @@ + */ + + ++#ifndef KPATHSEA + #include "getopt.h" ++#endif + #include "ChkTeX.h" + #include "OpSys.h" + #include "Utility.h" +diff -ur chktex-1.6.6.orig/ChkTeX.h chktex-1.6.6/ChkTeX.h +--- chktex-1.6.6.orig/ChkTeX.h 2010-12-18 22:10:05.000000000 +0100 ++++ chktex-1.6.6/ChkTeX.h 2012-07-23 23:14:51.000000000 +0200 +@@ -38,6 +38,11 @@ + # include CONFIG_H_NAME + #endif + ++#ifdef KPATHSEA ++#include <kpathsea/config.h> ++#include <kpathsea/getopt.h> ++#endif ++ + #include <ctype.h> + #include <math.h> + #include <stdio.h> |