diff options
author | dinoex <dinoex@FreeBSD.org> | 2010-03-30 19:02:24 +0800 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2010-03-30 19:02:24 +0800 |
commit | 4fec80129f2a1f20811d102e5c2ea50986fb218e (patch) | |
tree | e923e5d56269b5dc8ec29145f10314aa5bf69a7f /games/gracer | |
parent | 4030d09108fa0226782f5efc46df6c3c3ddc6925 (diff) | |
download | freebsd-ports-gnome-4fec80129f2a1f20811d102e5c2ea50986fb218e.tar.gz freebsd-ports-gnome-4fec80129f2a1f20811d102e5c2ea50986fb218e.tar.zst freebsd-ports-gnome-4fec80129f2a1f20811d102e5c2ea50986fb218e.zip |
- fix build for png-1.4.1
Diffstat (limited to 'games/gracer')
-rw-r--r-- | games/gracer/files/patch-gr_texture.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/games/gracer/files/patch-gr_texture.c b/games/gracer/files/patch-gr_texture.c new file mode 100644 index 000000000000..3b51ba7f4485 --- /dev/null +++ b/games/gracer/files/patch-gr_texture.c @@ -0,0 +1,11 @@ +--- common/gr_texture.c.orig 2000-03-01 05:27:18.000000000 +0100 ++++ common/gr_texture.c 2010-03-30 11:19:05.000000000 +0200 +@@ -419,7 +419,7 @@ + if (fread (header, 1, PNG_BYTES_TO_CHECK, file) != PNG_BYTES_TO_CHECK) { + goto ERROR; + } +- if (!png_check_sig (header, PNG_BYTES_TO_CHECK)) { ++ if (png_sig_cmp (header, 0, PNG_BYTES_TO_CHECK)) { + goto ERROR; + } + |