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::pkfont.c | |
parent | Update to 1.16.1. User-visible changes: (diff) |
- Honor CC in the lib subdir
- Fix the compilation with gcc 4.x
Notes
Notes:
svn path=/head/; revision=179681
Diffstat (limited to 'print/dviselect/files/patch-lib::pkfont.c')
-rw-r--r-- | print/dviselect/files/patch-lib::pkfont.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/print/dviselect/files/patch-lib::pkfont.c b/print/dviselect/files/patch-lib::pkfont.c new file mode 100644 index 000000000000..a5f4853384d5 --- /dev/null +++ b/print/dviselect/files/patch-lib::pkfont.c @@ -0,0 +1,13 @@ +--- lib/pkfont.c.orig Wed Nov 15 13:19:52 1989 ++++ lib/pkfont.c Wed Dec 13 23:01:34 2006 +@@ -781,8 +781,8 @@ + if (pk != NULL) { + free(pk->pk_base); pk -> pk_base = 0; + if (pk->pk_morec != NULL) { +- free((char *) pk->pk_morec); (char *) pk->pk_morec = 0; ++ free((char *) pk->pk_morec); pk->pk_morec = 0; + } +- free((char *) pk); (char *) pk = 0; ++ free((char *) pk); pk = 0; + } + } |