summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-office/libreoffice/files/libreoffice-3.3-libpng-1.5.diff')
-rw-r--r--app-office/libreoffice/files/libreoffice-3.3-libpng-1.5.diff13
1 files changed, 13 insertions, 0 deletions
diff --git a/app-office/libreoffice/files/libreoffice-3.3-libpng-1.5.diff b/app-office/libreoffice/files/libreoffice-3.3-libpng-1.5.diff
new file mode 100644
index 000000000000..d0ca2eda56e7
--- /dev/null
+++ b/app-office/libreoffice/files/libreoffice-3.3-libpng-1.5.diff
@@ -0,0 +1,13 @@
+--- desktop/unx/source/splashx.c.ark 2011-01-16 20:25:10.846685172 +0100
++++ desktop/unx/source/splashx.c 2011-01-16 20:27:12.673351839 +0100
+@@ -137,8 +137,8 @@ int splash_load_bmp( const char *filenam
+ PNG_TRANSFORM_GRAY_TO_RGB | PNG_TRANSFORM_BGR, NULL);
+
+ bitmap_rows = png_get_rows( png_ptr, info_ptr );
+- width = info_ptr->width;
+- height = info_ptr->height;
++ width = png_get_image_width( png_ptr, info_ptr );
++ height = png_get_image_height( png_ptr, info_ptr );
+
+ #if 0
+ {