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::pxlfont.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::pxlfont.c')
-rw-r--r-- | print/dviselect/files/patch-lib::pxlfont.c | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/print/dviselect/files/patch-lib::pxlfont.c b/print/dviselect/files/patch-lib::pxlfont.c new file mode 100644 index 000000000000..2c9148755d63 --- /dev/null +++ b/print/dviselect/files/patch-lib::pxlfont.c @@ -0,0 +1,28 @@ +--- lib/pxlfont.c~ Wed Nov 15 13:19:53 1989 ++++ lib/pxlfont.c Wed Dec 13 23:03:21 2006 +@@ -156,7 +156,7 @@ + if (pd->pd_ras) { + free(pd->pd_ras); pd->pd_ras = 0; + } +- free((char *) pd); (char *) pd = 0; ++ free((char *) pd); pd = 0; + } + if (fp) + (void) fclose(fp); +@@ -286,7 +286,7 @@ + pd->pd_nconv += h - l; + if (pd->pd_nconv == 128) { + free(pd->pd_ras); pd->pd_ras = 0; +- free((char *) pd); (char *) pd = 0; ++ free((char *) pd); pd = 0; + f->f_details = NULL; + } + return (0); +@@ -305,6 +305,6 @@ + if (pd->pd_ras != NULL) { + free(pd->pd_ras); pd->pd_ras = 0; + } +- free((char *) pd); (char *) pd = 0; ++ free((char *) pd); pd = 0; + } + } |