From db283c94d0f72ca72e50a01402e8f7a5aaa9ad15 Mon Sep 17 00:00:00 2001 From: kili Date: Mon, 28 Jun 2010 20:12:20 +0000 Subject: [PATCH] Prevent robert@ from killing me at p2k10. --- x11/libgdiplus/patches/patch-src_pngcodec_c | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 x11/libgdiplus/patches/patch-src_pngcodec_c diff --git a/x11/libgdiplus/patches/patch-src_pngcodec_c b/x11/libgdiplus/patches/patch-src_pngcodec_c new file mode 100644 index 00000000000..19cd37706b2 --- /dev/null +++ b/x11/libgdiplus/patches/patch-src_pngcodec_c @@ -0,0 +1,12 @@ +$OpenBSD: patch-src_pngcodec_c,v 1.1 2010/06/28 20:12:20 kili Exp $ +--- src/pngcodec.c.orig Tue Apr 13 13:30:06 2010 ++++ src/pngcodec.c Mon Jun 28 21:00:47 2010 +@@ -352,7 +352,7 @@ gdip_load_png_image_from_file_or_stream (FILE *fp, Get + info_ptr->palette[i].blue, + info_ptr->palette[i].green, + info_ptr->palette[i].red, +-#if PNG_LIBPNG_VER > 10243 ++#if PNG_LIBPNG_VER > 10299 + info_ptr->trans_alpha [i]); /* alpha */ + #else + info_ptr->trans[i]); /* alpha */