diff options
author | Dirk Meyer <dinoex@FreeBSD.org> | 2010-03-29 16:52:13 +0000 |
---|---|---|
committer | Dirk Meyer <dinoex@FreeBSD.org> | 2010-03-29 16:52:13 +0000 |
commit | 7344bae96873fb6d881af5fa244943cd15594f20 (patch) | |
tree | 691de231097185f2fba98fea784a44509aa49d5f /graphics/mhgui | |
parent | 92d856a380d154f7fd81d23f942aedc7bb244c2c (diff) | |
download | ports-7344bae96873fb6d881af5fa244943cd15594f20.tar.gz ports-7344bae96873fb6d881af5fa244943cd15594f20.zip |
Notes
Diffstat (limited to 'graphics/mhgui')
-rw-r--r-- | graphics/mhgui/files/patch-configure | 11 | ||||
-rw-r--r-- | graphics/mhgui/files/patch-include-mhgui-ImageData.h | 11 | ||||
-rw-r--r-- | graphics/mhgui/files/patch-src-ImageData.cpp | 11 |
3 files changed, 33 insertions, 0 deletions
diff --git a/graphics/mhgui/files/patch-configure b/graphics/mhgui/files/patch-configure new file mode 100644 index 000000000000..bc67bc98b328 --- /dev/null +++ b/graphics/mhgui/files/patch-configure @@ -0,0 +1,11 @@ +--- configure.orig 2007-12-12 22:25:45.000000000 +0100 ++++ configure 2010-03-29 09:29:03.000000000 +0200 +@@ -17563,7 +17563,7 @@ + int + main () + { +-png_check_sig(NULL,0) ++png_sig_cmp(NULL,0,0) + ; + return 0; + } diff --git a/graphics/mhgui/files/patch-include-mhgui-ImageData.h b/graphics/mhgui/files/patch-include-mhgui-ImageData.h new file mode 100644 index 000000000000..ffed648c9a7e --- /dev/null +++ b/graphics/mhgui/files/patch-include-mhgui-ImageData.h @@ -0,0 +1,11 @@ +--- include/mhgui/ImageData.h.orig 2007-12-12 22:07:20.000000000 +0100 ++++ include/mhgui/ImageData.h 2010-03-29 18:24:59.000000000 +0200 +@@ -67,7 +67,7 @@ + private: + char *image_data; /* raw png image data */ + char *end_bufferPtr; +- unsigned long width, height; ++ png_uint_32 width, height; + unsigned int bytesPerRow; + bool alpha; + diff --git a/graphics/mhgui/files/patch-src-ImageData.cpp b/graphics/mhgui/files/patch-src-ImageData.cpp new file mode 100644 index 000000000000..62b650580caf --- /dev/null +++ b/graphics/mhgui/files/patch-src-ImageData.cpp @@ -0,0 +1,11 @@ +--- src/ImageData.cpp.orig 2007-12-12 22:07:21.000000000 +0100 ++++ src/ImageData.cpp 2010-03-29 09:29:18.000000000 +0200 +@@ -395,7 +395,7 @@ + /* Check for the 8-byte signature */ + fread(sig, 1, 8, infile); + +- if (!png_check_sig((unsigned char *) sig, 8)) ++ if (!png_sig_cmp((unsigned char *) sig, 0, 8)) + { + fclose(infile); + return false; // seems not to be a valid png file |