diff options
author | dinoex <dinoex@FreeBSD.org> | 2010-03-30 20:10:48 +0800 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2010-03-30 20:10:48 +0800 |
commit | 6dcdfa30a327cb5b6b694efaedec281c6c16d432 (patch) | |
tree | 0a29eab6b7c31241109162015605e88d6daf4e9d /games/gtkatlantic | |
parent | 24b3a931e3d3970459e96c177bd7a87f026a0e9f (diff) | |
download | freebsd-ports-gnome-6dcdfa30a327cb5b6b694efaedec281c6c16d432.tar.gz freebsd-ports-gnome-6dcdfa30a327cb5b6b694efaedec281c6c16d432.tar.zst freebsd-ports-gnome-6dcdfa30a327cb5b6b694efaedec281c6c16d432.zip |
- fix build for png-1.4.1
Diffstat (limited to 'games/gtkatlantic')
-rw-r--r-- | games/gtkatlantic/files/patch-readpng.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/games/gtkatlantic/files/patch-readpng.c b/games/gtkatlantic/files/patch-readpng.c new file mode 100644 index 000000000000..ccfa6960f95b --- /dev/null +++ b/games/gtkatlantic/files/patch-readpng.c @@ -0,0 +1,11 @@ +--- src/readpng.c.orig 2004-06-25 09:02:45.000000000 +0200 ++++ src/readpng.c 2010-03-30 14:01:35.000000000 +0200 +@@ -33,7 +33,7 @@ + png_uint_32 width, height; + + fread(sig, 1, 8, infile); +- if (!png_check_sig(sig, 8)) ++ if (png_sig_cmp(sig, 0, 8)) + return FALSE; + + *png_struct = png_create_read_struct(PNG_LIBPNG_VER_STRING, NULL, NULL, NULL); |