From b6d1f6ddec1e8dc66914f70a4c400f06c9eb2835 Mon Sep 17 00:00:00 2001 From: Michael Nottebrock Date: Mon, 28 May 2007 16:00:17 +0000 Subject: Fix koffice on current/amd64 --- .../patch-filters_krita_tiff-kis_tiff_reader.h | 25 ++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 editors/calligra/files/patch-filters_krita_tiff-kis_tiff_reader.h (limited to 'editors/calligra/files') diff --git a/editors/calligra/files/patch-filters_krita_tiff-kis_tiff_reader.h b/editors/calligra/files/patch-filters_krita_tiff-kis_tiff_reader.h new file mode 100644 index 000000000000..21642547bfec --- /dev/null +++ b/editors/calligra/files/patch-filters_krita_tiff-kis_tiff_reader.h @@ -0,0 +1,25 @@ +--- filters/krita/tiff/kis_tiff_reader.h 2006/10/15 22:49:50 595862 ++++ filters/krita/tiff/kis_tiff_reader.h 2007/05/26 10:45:29 668416 +@@ -20,15 +20,15 @@ + #ifndef _KIS_TIFF_READER_H_ + #define _KIS_TIFF_READER_H_ + ++// On some platforms, tiffio.h #defines NULL in a bad ++// way for C++, as (void *)0 instead of using the correct ++// C++ value 0. Include stdio.h first to get the right one. ++#include + #include + +-/*#include +- +-#include +- +-#include +- +-#include */ ++// #include ++// #include ++// #include + + #include + -- cgit v1.2.3