summaryrefslogtreecommitdiff
path: root/editors/abiword/patches/patch-sb
diff options
context:
space:
mode:
Diffstat (limited to 'editors/abiword/patches/patch-sb')
-rw-r--r--editors/abiword/patches/patch-sb13
1 files changed, 13 insertions, 0 deletions
diff --git a/editors/abiword/patches/patch-sb b/editors/abiword/patches/patch-sb
new file mode 100644
index 00000000000..c719ce4bef9
--- /dev/null
+++ b/editors/abiword/patches/patch-sb
@@ -0,0 +1,13 @@
+$NetBSD: patch-sb,v 1.1 2007/11/14 15:41:41 rillig Exp $
+
+--- src/af/util/xp/ut_png.cpp.orig 2005-01-07 20:44:09.000000000 +0100
++++ src/af/util/xp/ut_png.cpp 2007-11-14 14:26:59.534916000 +0100
+@@ -84,7 +84,7 @@ bool UT_PNG_getDimensions(const UT_ByteB
+ myBB.pBB = pBB;
+ myBB.iCurPos = 0;
+
+- png_set_read_fn(png_ptr, static_cast<void *>(&myBB), static_cast<png_rw_ptr>(_png_read));
++ png_set_read_fn(png_ptr, static_cast<void *>(&myBB), _png_read);
+
+ /* The call to png_read_info() gives us all of the information from the
+ * PNG file before the first IDAT (image data chunk). REQUIRED