summaryrefslogtreecommitdiff
path: root/print/dviselect/files/patch-lib_pxlfont.c
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2014-07-29 14:02:16 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2014-07-29 14:02:16 +0000
commitba06c2d6a37dc081a3a8c5a01426a0a009428ca9 (patch)
tree7b1cdea9a21ff4ed307e29514e9d8286d9d83dfa /print/dviselect/files/patch-lib_pxlfont.c
parentStage, 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_pxlfont.c')
-rw-r--r--print/dviselect/files/patch-lib_pxlfont.c28
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;
+ }
+ }