openbsd-ports/print/fontforge/patches/patch-gdraw_gimagewritepng_c
2007-09-23 18:45:45 +00:00

12 lines
374 B
Plaintext

$OpenBSD: patch-gdraw_gimagewritepng_c,v 1.1 2007/09/23 18:45:45 kili Exp $
--- gdraw/gimagewritepng.c.orig Sun Sep 2 22:33:42 2007
+++ gdraw/gimagewritepng.c Tue Sep 18 00:12:50 2007
@@ -329,6 +329,7 @@ return( 1 );
int GImageWritePng(GImage *gi, char *filename, int progressive) {
FILE *fp;
+ int ret;
/* open the file */
fp = fopen(filename, "wb");