There is a missing symbol in older versions of libpng12, such as found in
Chinook and Diablo as well. This quick hack ensures the png loader works,
without the need of upgrading the libpng12 package.
Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@openbossa.org>
+evas (0.9.9.062+svn41533-maemo2) extras-devel; urgency=low
+
+ * Patch for missing symbol in libpng. Only for Chinook and Diablo.
+
+ -- Eduardo Lima (Etrunko) <eduardo.lima@indt.org.br> Wed, 30 Sep 2009 15:55:39 -0300
+
evas (0.9.9.062+svn41533-maemo1) extras-devel; urgency=low
* SVN snapshot release 41533
--- /dev/null
+--- a/src/modules/loaders/png/evas_image_load_png.c 2009-08-18 18:46:48.276829758 -0300
++++ b/src/modules/loaders/png/evas_image_load_png.c 2009-09-30 15:31:56.169009344 -0300
+@@ -41,6 +41,14 @@ static Evas_Image_Load_Func evas_image_l
+ evas_image_load_file_data_png
+ };
+
++static void
++png_set_expand_gray_1_2_4_to_8(png_structp png_ptr)
++{
++ if(png_ptr == NULL) return;
++ png_ptr->transformations |= 0x1000; /* PNG_EXPAND; */
++ png_ptr->flags &= ~0x0040; /* PNG_FLAG_ROW_INIT;*/
++}
++
+ static int
+ evas_image_load_file_head_png(Image_Entry *ie, const char *file, const char *key)
+ {
--- /dev/null
+01_png_loader_missing_symbol.patch