summaryrefslogtreecommitdiff
path: root/print/dviselect/files/patch-lib_tfm.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_tfm.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_tfm.c')
-rw-r--r--print/dviselect/files/patch-lib_tfm.c23
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);
+ }