summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMark Brand <mabrand@mabrand.nl>2011-03-28 10:47:39 (GMT)
committerMark Brand <mabrand@mabrand.nl>2011-03-28 10:47:39 (GMT)
commitd0b9116645f872e4d686630562ccd6a976facf6f (patch)
treecf4463327849ed5f59fffa9634a33f710a2c2984 /src
parent983b08c1018fdfb9614734bb19d869edd04eeb3a (diff)
downloadmxe-d0b9116645f872e4d686630562ccd6a976facf6f.zip
mxe-d0b9116645f872e4d686630562ccd6a976facf6f.tar.gz
mxe-d0b9116645f872e4d686630562ccd6a976facf6f.tar.bz2
update package wxwidgets
Diffstat (limited to 'src')
-rw-r--r--src/wxwidgets-1-png.patch39
-rw-r--r--src/wxwidgets.mk4
2 files changed, 2 insertions, 41 deletions
diff --git a/src/wxwidgets-1-png.patch b/src/wxwidgets-1-png.patch
deleted file mode 100644
index 640c00e..0000000
--- a/src/wxwidgets-1-png.patch
+++ /dev/null
@@ -1,39 +0,0 @@
-This file is part of mingw-cross-env.
-See doc/index.html for further information.
-
-http://trac.wxwidgets.org/changeset/67009
-Index: /wxWidgets/branches/WX_2_8_BRANCH/src/common/imagpng.cpp
-===================================================================
---- a/src/common/imagpng.cpp (revision 60875)
-+++ b/src/common/imagpng.cpp (revision 67009)
-@@ -530,5 +530,5 @@
- (
- PNG_LIBPNG_VER_STRING,
-- (voidp) NULL,
-+ NULL,
- wx_png_error,
- wx_png_warning
-@@ -587,14 +587,17 @@
- if (color_type == PNG_COLOR_TYPE_PALETTE)
- {
-- const size_t ncolors = info_ptr->num_palette;
-+ int ncolors = 0;
-+ png_colorp palette;
-+ png_get_PLTE( png_ptr, info_ptr, &palette, &ncolors);
- unsigned char* r = new unsigned char[ncolors];
- unsigned char* g = new unsigned char[ncolors];
- unsigned char* b = new unsigned char[ncolors];
--
-- for (size_t j = 0; j < ncolors; j++)
-+ int j;
-+
-+ for (j = 0; j < ncolors; j++)
- {
-- r[j] = info_ptr->palette[j].red;
-- g[j] = info_ptr->palette[j].green;
-- b[j] = info_ptr->palette[j].blue;
-+ r[j] = palette[j].red;
-+ g[j] = palette[j].green;
-+ b[j] = palette[j].blue;
- }
-
diff --git a/src/wxwidgets.mk b/src/wxwidgets.mk
index aaa93c3..b9cad12 100644
--- a/src/wxwidgets.mk
+++ b/src/wxwidgets.mk
@@ -4,8 +4,8 @@
# wxWidgets
PKG := wxwidgets
$(PKG)_IGNORE :=
-$(PKG)_VERSION := 2.8.11
-$(PKG)_CHECKSUM := fa31e7fdb972baa28d89a7196391a9c1371e5f0e
+$(PKG)_VERSION := 2.8.12
+$(PKG)_CHECKSUM := 39552f3e49341197fea8373824ec609c757e890b
$(PKG)_SUBDIR := wxMSW-$($(PKG)_VERSION)
$(PKG)_FILE := wxMSW-$($(PKG)_VERSION).tar.bz2
$(PKG)_WEBSITE := http://www.wxwidgets.org/