diff options
| author | Jean-Marc Zucconi <jmz@FreeBSD.org> | 2006-12-13 22:14:47 +0000 |
|---|---|---|
| committer | Jean-Marc Zucconi <jmz@FreeBSD.org> | 2006-12-13 22:14:47 +0000 |
| commit | 759d64363e8deb98b49900c3b91b0e515140ac73 (patch) | |
| tree | 0f20babf13b3a3cd71bc1b6b3c3b1e55ca73d41c /print/dviselect/files/patch-lib::tfm.c | |
| parent | Update to 1.16.1. User-visible changes: (diff) | |
- Honor CC in the lib subdir
- Fix the compilation with gcc 4.x
Diffstat (limited to 'print/dviselect/files/patch-lib::tfm.c')
| -rw-r--r-- | print/dviselect/files/patch-lib::tfm.c | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/print/dviselect/files/patch-lib::tfm.c b/print/dviselect/files/patch-lib::tfm.c new file mode 100644 index 000000000000..72623335046a --- /dev/null +++ b/print/dviselect/files/patch-lib::tfm.c @@ -0,0 +1,23 @@ +--- lib/tfm.c~ Wed Nov 15 13:20:02 1989 ++++ lib/tfm.c Wed Dec 13 22:56:44 2006 +@@ -63,16 +63,16 @@ + + bad: + if (t->t_ci != NULL) { +- free((char *) t->t_ci); (char *) t->t_ci = 0; ++ free((char *) t->t_ci); t->t_ci = 0; + } + if (t->t_width != NULL) { +- free((char *) t->t_width); (char *) t->t_width = 0; ++ free((char *) t->t_width); t->t_width = 0; + } + if (t->t_height != NULL) { +- free((char *) t->t_height); (char *) t->t_height = 0; ++ free((char *) t->t_height); t->t_height = 0; + } + if (t->t_depth != NULL) { +- free((char *) t->t_depth); (char *) t->t_depth = 0; ++ free((char *) t->t_depth); t->t_depth = 0; + } + return (-1); + } |
