summaryrefslogtreecommitdiff
path: root/Build/source/texk/chktex/chktex-1.7.1-PATCHES/patch-08-stpcpy
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/chktex/chktex-1.7.1-PATCHES/patch-08-stpcpy')
-rw-r--r--Build/source/texk/chktex/chktex-1.7.1-PATCHES/patch-08-stpcpy30
1 files changed, 0 insertions, 30 deletions
diff --git a/Build/source/texk/chktex/chktex-1.7.1-PATCHES/patch-08-stpcpy b/Build/source/texk/chktex/chktex-1.7.1-PATCHES/patch-08-stpcpy
deleted file mode 100644
index bb4904e9411..00000000000
--- a/Build/source/texk/chktex/chktex-1.7.1-PATCHES/patch-08-stpcpy
+++ /dev/null
@@ -1,30 +0,0 @@
-diff -ur chktex-1.7.1.orig/FindErrs.c chktex-1.7.1/FindErrs.c
---- chktex-1.7.1.orig/FindErrs.c 2012-08-08 22:27:57.000000000 +0200
-+++ chktex-1.7.1/FindErrs.c 2012-10-10 11:24:26.000000000 +0200
-@@ -33,6 +33,14 @@
- #include "Utility.h"
- #include "Resource.h"
-
-+#if !(defined HAVE_DECL_STPCPY && HAVE_DECL_STPCPY)
-+static inline char *
-+stpcpy(char *dest, const char *src)
-+{
-+ return strcpy(dest, src) + strlen(src);
-+}
-+#endif
-+
- #if HAVE_PCRE || HAVE_POSIX_ERE
-
- #if HAVE_PCRE
-diff -ur chktex-1.7.1.orig/configure.in chktex-1.7.1/configure.in
---- chktex-1.7.1.orig/configure.in 2012-08-22 16:27:32.000000000 +0200
-+++ chktex-1.7.1/configure.in 2012-10-10 11:24:37.000000000 +0200
-@@ -164,6 +164,8 @@
- AC_CHECK_FUNCS(access closedir fileno isatty opendir readdir stat dnl
- strcasecmp strdup strlwr strtol)
-
-+dnl Checks for declarations.
-+AC_CHECK_DECLS([stpcpy])
-
- dnl Check for PCRE regular expression support
- AC_MSG_CHECKING(whether PCRE regular expressions are enabled)