diff options
author | Adam Weinberger <adamw@FreeBSD.org> | 2014-07-29 14:02:16 +0000 |
---|---|---|
committer | Adam Weinberger <adamw@FreeBSD.org> | 2014-07-29 14:02:16 +0000 |
commit | ba06c2d6a37dc081a3a8c5a01426a0a009428ca9 (patch) | |
tree | 7b1cdea9a21ff4ed307e29514e9d8286d9d83dfa /print/dviselect/files/patch-lib_tfmfont.c | |
parent | Stage, and pull the patches into a sed command. (diff) |
Rename p*/ patch-xy patches to reflect the files they modify.
Diffstat (limited to 'print/dviselect/files/patch-lib_tfmfont.c')
-rw-r--r-- | print/dviselect/files/patch-lib_tfmfont.c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/print/dviselect/files/patch-lib_tfmfont.c b/print/dviselect/files/patch-lib_tfmfont.c new file mode 100644 index 000000000000..9de2cc7bce0f --- /dev/null +++ b/print/dviselect/files/patch-lib_tfmfont.c @@ -0,0 +1,20 @@ +--- lib/tfmfont.c.orig 1989-11-15 13:20:03.000000000 +0100 ++++ lib/tfmfont.c 2012-11-30 15:00:41.000000000 +0100 +@@ -139,7 +139,7 @@ + fail: + (void) fclose(fd); + if (tfm != NULL) { +- free((char *) tfm); (char *) tfm = 0; ++ free((char *) tfm); tfm = 0; + } + return (-1); + } +@@ -199,7 +199,7 @@ + #define EDGE 2 + + if (tfm->tfm_edge == 0) +- return; ++ return (-1); + if (tfm->tfm_edge != 2) panic("tfm_rasterise"); + for (i = l; i < h; i++) { + g = f->f_gly[i]; |