1 $NetBSD: patch-ag,v 1.1 2006/05/12 10:53:14 joerg Exp $
3 --- src/qtMeasurementTool/qtiffio.cpp.orig 2005-08-20 01:11:52.000000000 +0000
4 +++ src/qtMeasurementTool/qtiffio.cpp
9 +#include <sys/types.h>
13 @@ -69,19 +70,6 @@ static toff_t tiff_size(thandle_t handle
17 -//! QIODevice / libtiff mmap wrapper
18 -/*! \warning always returns MAP_FAILED.
20 -static int tiff_mmap(thandle_t handle,tdata_t* data,toff_t* size) {
21 - return (int) MAP_FAILED;
24 -//! QIODevice / libtiff write wrapper
25 -/*! \warning because you can't mmap, this is a dummy.
27 -static void tiff_unmap(thandle_t handle, tdata_t data, toff_t size) {
30 //! QImageIO read handler for TIFF files.
32 static void read_tiff_image(QImageIO *iio) {
33 @@ -103,8 +91,8 @@ static void read_tiff_image(QImageIO *ii
43 unsigned width, height,size;