From ba06c2d6a37dc081a3a8c5a01426a0a009428ca9 Mon Sep 17 00:00:00 2001 From: Adam Weinberger Date: Tue, 29 Jul 2014 14:02:16 +0000 Subject: Rename p*/ patch-xy patches to reflect the files they modify. --- print/dviselect/files/patch-lib_pkfont.c | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 print/dviselect/files/patch-lib_pkfont.c (limited to 'print/dviselect/files/patch-lib_pkfont.c') diff --git a/print/dviselect/files/patch-lib_pkfont.c b/print/dviselect/files/patch-lib_pkfont.c new file mode 100644 index 000000000000..a3eeab64fca6 --- /dev/null +++ b/print/dviselect/files/patch-lib_pkfont.c @@ -0,0 +1,22 @@ +--- lib/pkfont.c.orig 1989-11-15 13:19:52.000000000 +0100 ++++ lib/pkfont.c 2012-11-30 14:59:23.000000000 +0100 +@@ -183,7 +183,7 @@ + /* + * Skip over special commands (PK_XXX?, PK_YYY). + */ +-static ++static void + skip_specials(f) + struct font *f; + { +@@ -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; + } + } -- cgit v1.2.3