freebsd-ports/print/dviselect/files/patch-lib::tfmfont.c
Jean-Marc Zucconi 759d64363e - Honor CC in the lib subdir
- Fix the compilation with gcc 4.x
2006-12-13 22:14:47 +00:00

11 lines
253 B
C

--- lib/tfmfont.c~ Wed Nov 15 13:20:03 1989
+++ lib/tfmfont.c Wed Dec 13 23:04:06 2006
@@ -139,7 +139,7 @@
fail:
(void) fclose(fd);
if (tfm != NULL) {
- free((char *) tfm); (char *) tfm = 0;
+ free((char *) tfm); tfm = 0;
}
return (-1);
}