Hello community, here is the log from the commit of package libgdiplus0 for openSUSE:Factory checked in at Mon Apr 19 00:21:16 CEST 2010. -------- --- libgdiplus0/libgdiplus0.changes 2010-03-16 17:39:28.000000000 +0100 +++ /mounts/work_src_done/STABLE/libgdiplus0/libgdiplus0.changes 2010-04-17 04:15:33.000000000 +0200 @@ -1,0 +2,5 @@ +Sat Apr 17 02:15:27 UTC 2010 - aj@suse.de + +- Fix build with png 1.4 + +------------------------------------------------------------------- calling whatdependson for head-i586 New: ---- png14.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libgdiplus0.spec ++++++ --- /var/tmp/diff_new_pack.jbwsAe/_old 2010-04-19 00:21:08.000000000 +0200 +++ /var/tmp/diff_new_pack.jbwsAe/_new 2010-04-19 00:21:08.000000000 +0200 @@ -23,10 +23,11 @@ Name: libgdiplus0 Version: 2.6.2 -Release: 1 +Release: 2 License: LGPLv2.1 ; MPL ; MIT License (or similar) Url: http://go-mono.org/ Source0: %{real_name}-%{version}.tar.bz2 +Patch1: png14.patch Summary: Open Source Implementation of the GDI+ API Group: Development/Libraries/Other BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -69,6 +70,8 @@ %prep %setup -q -n %{real_name}-%{version} +%patch1 -p0 +sed -i -e 's|libpng12|libpng14|' configure %build export CFLAGS="$RPM_OPT_FLAGS" ++++++ png14.patch ++++++ Index: src/pngcodec.c =================================================================== --- src/pngcodec.c.orig +++ src/pngcodec.c @@ -352,7 +352,7 @@ gdip_load_png_image_from_file_or_stream info_ptr->palette[i].blue, info_ptr->palette[i].green, info_ptr->palette[i].red, - info_ptr->trans[i]); /* alpha */ + info_ptr->trans_alpha[i]); /* alpha */ } } @@ -418,7 +418,7 @@ gdip_load_png_image_from_file_or_stream } if ((color_type == PNG_COLOR_TYPE_GRAY) && (bit_depth < 8)) { - png_set_gray_1_2_4_to_8(png_ptr); + png_set_expand_gray_1_2_4_to_8(png_ptr); } if (png_get_valid(png_ptr, info_ptr, PNG_INFO_tRNS)) { ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org