diff options
author | dinoex <dinoex@FreeBSD.org> | 2010-03-29 15:19:34 +0800 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2010-03-29 15:19:34 +0800 |
commit | 4834541003faecd48145c24ebeb9d9089cb07a09 (patch) | |
tree | 370303bf8a4d100ec61ae1a9357a7ac3a13d96e6 /x11/gnome-libs/files | |
parent | 76b77b6918354cfe037458db2f5bd9b6fdbd6acc (diff) | |
download | freebsd-ports-gnome-4834541003faecd48145c24ebeb9d9089cb07a09.tar.gz freebsd-ports-gnome-4834541003faecd48145c24ebeb9d9089cb07a09.tar.zst freebsd-ports-gnome-4834541003faecd48145c24ebeb9d9089cb07a09.zip |
- fix build for png-1.4.1
Diffstat (limited to 'x11/gnome-libs/files')
-rw-r--r-- | x11/gnome-libs/files/patch-tools-convertrgb-loadpng.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/x11/gnome-libs/files/patch-tools-convertrgb-loadpng.c b/x11/gnome-libs/files/patch-tools-convertrgb-loadpng.c new file mode 100644 index 000000000000..029d3bfffa9c --- /dev/null +++ b/x11/gnome-libs/files/patch-tools-convertrgb-loadpng.c @@ -0,0 +1,11 @@ +--- tools/convertrgb/loadpng.c.orig 1998-09-25 17:33:59.000000000 +0200 ++++ tools/convertrgb/loadpng.c 2010-03-29 09:05:19.000000000 +0200 +@@ -161,7 +161,7 @@ + return 0; + fread(buf, 1, 8, f); + fclose(f); +- return (int)png_check_sig(buf, 8); ++ return (int)!png_sig_cmp(buf, 0, 8); + #else + return 0; + #endif |