diff options
Diffstat (limited to 'Build/source/texk/cjkutils')
3 files changed, 20 insertions, 2 deletions
diff --git a/Build/source/texk/cjkutils/cjkutils-4.8.3-PATCHES/ChangeLog b/Build/source/texk/cjkutils/cjkutils-4.8.3-PATCHES/ChangeLog index c6b678cd7d8..92c96bdf931 100644 --- a/Build/source/texk/cjkutils/cjkutils-4.8.3-PATCHES/ChangeLog +++ b/Build/source/texk/cjkutils/cjkutils-4.8.3-PATCHES/ChangeLog @@ -1,3 +1,7 @@ +2012-12-07 Peter Breitenlohner <peb@mppmu.mpg.de> + + * patch-02-unused (new): Drop unused variable (gcc-4.6 warning). + 2012-05-20 Peter Breitenlohner <peb@mppmu.mpg.de> * patch-01-static (new): Build fix for 64-bit Mac OS X 10.7.3. diff --git a/Build/source/texk/cjkutils/cjkutils-4.8.3-PATCHES/patch-02-unused b/Build/source/texk/cjkutils/cjkutils-4.8.3-PATCHES/patch-02-unused new file mode 100644 index 00000000000..cf4838d5781 --- /dev/null +++ b/Build/source/texk/cjkutils/cjkutils-4.8.3-PATCHES/patch-02-unused @@ -0,0 +1,16 @@ +diff -ur cjkutils-4.8.3.orig/hbf2gf/hbf.c cjkutils-4.8.3/hbf2gf/hbf.c +--- cjkutils-4.8.3.orig/hbf2gf/hbf.c 2012-05-07 00:00:00.000000000 +0200 ++++ cjkutils-4.8.3/hbf2gf/hbf.c 2012-12-07 10:57:31.000000000 +0100 +@@ -1041,12 +1041,10 @@ + { + if (LocalFileName(filename) && path != NULL) { + #ifdef PATH_DELIMITER +- int len; + char *fullname; + FILE *f; + const char *p_next; + +- len = strlen(filename); + for (;;) { + p_next = strchr(path, PATH_DELIMITER); + if (p_next == NULL) diff --git a/Build/source/texk/cjkutils/cjkutils-4.8.3/hbf2gf/hbf.c b/Build/source/texk/cjkutils/cjkutils-4.8.3/hbf2gf/hbf.c index 6056555d704..1491a025727 100644 --- a/Build/source/texk/cjkutils/cjkutils-4.8.3/hbf2gf/hbf.c +++ b/Build/source/texk/cjkutils/cjkutils-4.8.3/hbf2gf/hbf.c @@ -1041,12 +1041,10 @@ path_open(const char *path, const char *filename, char **fullp) { if (LocalFileName(filename) && path != NULL) { #ifdef PATH_DELIMITER - int len; char *fullname; FILE *f; const char *p_next; - len = strlen(filename); for (;;) { p_next = strchr(path, PATH_DELIMITER); if (p_next == NULL) |