diff options
author | dinoex <dinoex@FreeBSD.org> | 2010-03-31 19:45:49 +0800 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2010-03-31 19:45:49 +0800 |
commit | e957b343b93f99690856e1f547d8ff4cc3b4520a (patch) | |
tree | 17558d938fe665991eac60df6f538ccbfb8f6d01 /graphics | |
parent | 1321b69c9168177b91080bea846d3d279b44303c (diff) | |
download | freebsd-ports-gnome-e957b343b93f99690856e1f547d8ff4cc3b4520a.tar.gz freebsd-ports-gnome-e957b343b93f99690856e1f547d8ff4cc3b4520a.tar.zst freebsd-ports-gnome-e957b343b93f99690856e1f547d8ff4cc3b4520a.zip |
- fix build for png-1.4.1
PR: 145228
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/xpaint/files/patch-readWritePNG.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/graphics/xpaint/files/patch-readWritePNG.c b/graphics/xpaint/files/patch-readWritePNG.c new file mode 100644 index 000000000000..5f1c875f991c --- /dev/null +++ b/graphics/xpaint/files/patch-readWritePNG.c @@ -0,0 +1,11 @@ +--- rw/readWritePNG.c.orig 2005-03-20 21:15:34.000000000 +0100 ++++ rw/readWritePNG.c 2010-03-29 16:48:36.000000000 +0200 +@@ -51,7 +51,7 @@ + fread(header, 1, 8, fp); + fclose(fp); + +- return png_check_sig( (unsigned char*) header, 8); ++ return !png_sig_cmp( (unsigned char*) header, 0, 8); + } + + |