1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00
freebsd-ports/astro/sunclock/files/patch-readpng.c
Mathieu Arnold 9fa9eb9ac7 Cleanup patches, a* categories.
Rename them to follow the make makepatch naming, and regenerate them.

With hat:	portmgr
Sponsored by:	Absolight
2016-07-26 16:51:15 +00:00

12 lines
261 B
C

--- readpng.c.orig 2005-10-23 19:36:29 UTC
+++ readpng.c
@@ -57,7 +57,7 @@ TestPNG(char *file) /* gets called a LO
fread(header, 1, 8, fp);
fclose(fp);
- return png_check_sig(header, 8);
+ return !png_sig_cmp(header, 0, 8);
}
static void