Now it fails in the linker stage with an undefined reference to UT_XML::processingInstruction(const char *, const char *).
13 lines
596 B
Text
13 lines
596 B
Text
$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
|